pytest.org

2.1K posts

pytest.org banner
pytest.org

pytest.org

@pytestdotorg

A full-featured Python testing tool to help you write better programs; posts by @the_compiler https://t.co/RasvWM4fJY https://t.co/czYb5ijeuk

เข้าร่วม Şubat 2015
56 กำลังติดตาม9K ผู้ติดตาม
ทวีตที่ปักหมุด
pytest.org
pytest.org@pytestdotorg·
Pytest has joined @tidelift! Tidelift is a "managed open source subscription". If you use pytest at work, it's a way for your company to support the open source libraries it relies on. docs.pytest.org/en/latest/tide…
English
0
20
60
0
pytest.org รีทวีตแล้ว
Freya Bruhin
Freya Bruhin@the_compiler·
⏰ Only a week remaining with early-bird pricing for my annual three-day deep dive into #pytest with #Python Academy! 📅 March 4th — 6th 🌍 Leipzig (Germany) or remote 📕 Three days of pytest knowledge from one of its core maintainers. python-academy.com/courses/python…
English
0
1
4
807
pytest.org รีทวีตแล้ว
Freya Bruhin
Freya Bruhin@the_compiler·
New #pytest stickers arrived! I'll bring them along to #Python conferences, events, and my pytest company trainings.
Freya Bruhin tweet media
English
0
3
10
725
pytest.org รีทวีตแล้ว
Freya Bruhin
Freya Bruhin@the_compiler·
#pytest trick: Want to patch a function returning a different value on every call, without full unittest.mock? values = iter(["eggs", "bacon", "spam"]) monkeypatch.setattr(random, "choice", lambda: next(values)) assert random.choice() == "eggs" assert random.choice() == "bacon"
English
1
6
16
2.4K
pytest.org รีทวีตแล้ว
Freya Bruhin
Freya Bruhin@the_compiler·
Oh, looks like @jetbrains/@ThePSF sneakily released the #Python developers survey 2022 results at some point! The first thing I look at is always how testing frameworks changed compared to the year before😅 #pytest up from 50% → 51%, "None" down from 38% → 35%. Yay!
Freya Bruhin tweet media
English
0
2
16
2.2K
pytest.org รีทวีตแล้ว
Freya Bruhin
Freya Bruhin@the_compiler·
Almost 3 years after #pytest-xvfb 2.0.0, I released v3.0.0 today! Other than packaging/formatting/typing/Python version updates, this release hopefully fixes a long-standing "XIO: fatal IO error 0 (Success)" issue, and adds support for using Xephyr/Xvnc. #v300" target="_blank" rel="nofollow noopener">github.com/The-Compiler/p…
English
1
3
10
1.9K
pytest.org รีทวีตแล้ว
Freya Bruhin
Freya Bruhin@the_compiler·
Blast from the past: My #pytest training from 7 years ago (mostly inherited by @hpk42) vs. now. Currently working on another big "rewrite", trying to introduce one big case study example (a small RPN calculator) instead of isolated examples for most of the code/exercises.
Freya Bruhin tweet mediaFreya Bruhin tweet mediaFreya Bruhin tweet mediaFreya Bruhin tweet media
English
1
3
6
1.8K
pytest.org
pytest.org@pytestdotorg·
#pytest 7.3 was released just at the beginning of the easter weekend, it brings multiple enhancements around tmppath retention and output details, but beware we learned of a windows only perf regression thats now under investigation
English
0
2
6
1.6K
pytest.org รีทวีตแล้ว
Freya Bruhin
Freya Bruhin@the_compiler·
Update on my in-depth #pytest training with @pyacademy: We decided to go remote-only as we only had one on-site signup. March 7th to 9th, still spaces available! python-academy.com/courses/python… My @PyConDE training is still in review, hoping to share more information there soon too!
English
1
1
4
1.2K
pytest.org รีทวีตแล้ว
Freya Bruhin
Freya Bruhin@the_compiler·
Two weeks until early-bird pricing ends for my #pytest training with @pyacademy: March 7th to 9th 2023, both on-site in Leipzig 🇩🇪 *and* remote, three days full of knowledge from a pytest core maintainer! python-academy.com/courses/python… I submitted a (shorter) training to @PyConDE too!
English
0
1
3
1.2K
pytest.org รีทวีตแล้ว
Ronny
Ronny@ossronny·
I'm happy to announce the release of #pytest 7.2.0 a special perk is dropping the dependency on pylib - the rest is in docs.pytest.org/en/stable/chan…
English
3
28
156
0
pytest.org
pytest.org@pytestdotorg·
PSA: #pytest users can safely ignore CVE-2022-42969 / github.com/advisories/GHS… in its py dep. The reported DoS "vulnerability" is in pylib's 18 year old SVN handling (py.path.svn*), which is not used in pytest, nor anywhere else to our knowledge. Details: #issuecomment-1283567565" target="_blank" rel="nofollow noopener">github.com/pytest-dev/py/…
English
0
10
14
0