File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,34 @@ Unsupported idioms / known issues
6868 fundamentally incompatible with pytest because they don't support fixtures
6969 properly since collection and test execution are separated.
7070
71+ Here is a table comparing the default supported naming conventions for both
72+ nose and pytest.
73+
74+ ======================= ======== ======
75+ Convention nose pytest
76+ ======================= ======== ======
77+ Ⓜ test*.py ✅
78+ Ⓜ test_*.py ✅ ✅
79+ Ⓜ \* _test.py ✅
80+ Ⓜ \* _tests.py
81+ Ⓒ \* (unittest.TestCase) ✅ ✅
82+ ⓜ test _\* ✅ ✅
83+ Ⓒ Test\* ✅
84+ ⓜ test _\* ✅
85+ ⓕ test _\* ✅
86+ ======================= ======== ======
87+
88+ Symbols are described below
89+
90+ ====== ========
91+ Legend
92+ ====== ========
93+ Ⓜ module
94+ Ⓒ Class
95+ ⓜ method
96+ ⓕ function
97+ ====== ========
98+
7199Migrating from nose to pytest
72100------------------------------
73101
You can’t perform that action at this time.
0 commit comments