Closed
Description
Right now there are several things I would love to see improved in our unit tests:
- Add ability to run a single
.test
file. For example, when I need to runcheck-namedtuple.test
, I need to go totestcheck.py
, comment all other tests cases and then run it. It is very annoying. Maybe there's a hidden way? If this is the case, then we need to update the docs. Now you can run separate mypy test modules 🎉 #11668 - Add duplicate
case
name detection. Right now we can have tests with non-unique names. For example:mypy/test-data/unit/check-newsemanal.test
Line 2308 in cee5d3e
mypy/test-data/unit/check-newsemanal.test
Line 2317 in cee5d3e
- Add
3.11-dev
to test suite and allow it to fail, later we can disable failures, but for now it is too unstable: Add3.11-dev
asTODO
item says #11677
I will send a couple of PRs with these features if no one has any rejections 🙂