Lines Matching full:tests
1 # TestFinder class, define set of tests to run.
47 self.all_tests += [f for f in glob.iglob('tests/*')
80 # Numbered tests are old naming convention. We should convert them
84 # Named tests all should be in tests/ subdirectory
85 name = os.path.join('tests', name)
94 tests: Optional[List[str]] = None,
96 """Find tests
101 a.1 Take all tests from @groups
102 a.2 Drop tests, which are in at least one of @exclude_groups or in
104 a.3 Add tests from @tests (don't exclude anything from them)
106 b. else, if some @tests specified:
107 b.1 exclude_groups must be not specified, so just take @tests
110 c.1 Take all tests
111 c.2 Drop tests, which are in at least one of @exclude_groups or in
116 3. If start_from specified, drop tests from first one to @start_from
123 if tests is None:
124 tests = []
129 # selecting some individual tests supported as well.
131 elif tests:
132 # Some individual tests specified, but no groups. In this case
136 "tests.")
138 # No tests no groups: start from all tests, exclude_groups
148 # We want to add @tests. But for compatibility with old test names,
151 for t in tests: