pytest.org (@pytestdotorg) header
pytest.org (@pytestdotorg) profile picture

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

Joined February 2015
Photo by pytest.org (@pytestdotorg)Photo by pytest.org (@pytestdotorg)Photo by pytest.org (@pytestdotorg)Photo by pytest.org (@pytestdotorg)Photo by pytest.org (@pytestdotorg)Photo by pytest.org (@pytestdotorg)Photo by pytest.org (@pytestdotorg)Photo by pytest.org (@pytestdotorg)Photo by pytest.org (@pytestdotorg)Photo by 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/ti…
#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
2
6
1,641
#pytest-html has a major release (4.0.0) coming in - please try rc4 pypi.org/project/pytest-html… to help iron out compatibility
1
6
1,741
PSA: #pytest users can safely ignore CVE-2022-42969 / github.com/advisories/GHSA-w… 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: github.com/pytest-dev/py/iss…
#pytest 7.1.1 has been released! This release fixes a regression in pytest 7.1.0 where some conftest.py files outside of the source tree (e.g. in the site-packages directory) were not picked up: github.com/pytest-dev/pytest…
4
6
We're happy to announce that #pytest 7.1.0 was released today! Thanks to Ran Benita (bluetech) for planning and finishing the release. Find the full release announcement here: docs.pytest.org/en/stable/an…
It definitely favours those with wide screens and long line lengths. What are your tips for keeping #pytest parametrized tests readable?
Is it just me or do you find the pytest.mark.parametrize() way of writing test cases rather ugly and unreadable? Or am I doing something wrong?
3
1
2
*runs pytest -vvvvvvvvv*
This post is from an account that no longer exists. Learn more
2
1
9
Are you a research software engineer? Got a survey for you on testing practices 🔽
1
3
3
😂
ME: OK pytest does this test pass PYTEST: yes ME: and this one PYTEST: yes ME: and this one too PYTEST: (impatiently) yes ME: okay so you would say all three tests pass PYTEST: [eyes completely black] YOU'D BETTER WAKE UP BEFORE YOU FORGET HOW TO
1
A newish option for storing/displaying test results over time. Epimetheus is a front-end to TestArchiver (archive test results). Supports pytest, Robot Framework, mocha, phpunit so far. Demo - testmanagerfront.azurewebsit…
3
11
"[U]se ApprovalTests to verify objects that require more than a simple assert including long strings, large arrays, and complex hash structures and objects. ...ApprovalTests [provides] reporters which let you view the test results in one of many popular diff utilities."
You’re unable to view this post because this account owner limits who can view their posts. Learn more
1
4
The old #pylib IRC channel is no more, pytest has now moved to #pytest on @liberachat. See docs.pytest.org/en/latest/co… for details, or use web.libera.chat/#pytest to join via browser!
3
11
Congrats and welcome!
Aaaand I made my first PR to my beloved @pytestdotorg during the @MentoredSprints held at @pycon! I am so proud and thrilled to be a part of this amazing community. Python folks are the best folks 🤗 and this weekend has been so heartwarming. 💚
1
6
Get your fixture name autocompletion here!
You’re unable to view this post because this account owner limits who can view their posts. Learn more
1
2
Even better: git commit -m "remove undocumented test"
This post is from a suspended account. Learn more
1
5
Skipping tests like this is like commenting them out...be honest with yourself and delete it. Remove the false sense of security (and codebase cruft) it gives. Write a new test that makes sense to you, and document its purpose.
1
1
7
#BDD and #pytest - what's your favorite example of an open source repo using pytest-bdd? What are your hot tips and tricks? 💡📝
2
6