You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 run check-namedtuple.test, I need to go to testcheck.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:
Right now there are several things I would love to see improved in our unit tests:
.testfile. 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 🎉 #11668casename 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
3.11-devto test suite and allow it to fail, later we can disable failures, but for now it is too unstable: Add3.11-devasTODOitem says #11677I will send a couple of PRs with these features if no one has any rejections 🙂