-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
featuremetaIssues tracking a broad area of workIssues tracking a broad area of worktopic-developerIssues relevant to mypy developersIssues relevant to mypy developerstopic-tests
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
[case testNewAnalyzerCastForward2] mypy/test-data/unit/check-newsemanal.test
Line 2317 in cee5d3e
[case testNewAnalyzerCastForward2] - 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 🙂
JelleZijlstra and pranavrajpal
Metadata
Metadata
Assignees
Labels
featuremetaIssues tracking a broad area of workIssues tracking a broad area of worktopic-developerIssues relevant to mypy developersIssues relevant to mypy developerstopic-tests