Lines Matching refs:a
3 Learn about test finders and how to create a new test finder class.
7 2. [Creating a Test Finder](#creating-a-test-finder)
9 ## <a name="test-finder-details">Test Finder Details</a>
11 A test finder class holds find methods. A find method is given a string (the
12 user input) and should try to resolve that string into a ```TestInfo``` object.
14 a data field to hold misc bits like filters and extra args for the test. The
16 together in a class so they can share metadata for optimal test finding.
20 **When should I create a new test finder class?**
22 If the metadata used to find a test is unlike existing test finder classes,
23 that is the right time to create a new class. Metadata can be anything like
24 file name patterns, a special file in a dir to indicate it's a test, etc. The
28 ## <a name="creating-a-test-finder">Creating a Test Finder</a>
42 create a list of find methods that ```test_finder_handler``` will use to collect
43 the find methods from your test finder class. Take a look at
47 return a ```TestInfo``` object. Extra bits of info can be stored in the data
48 field as a dict. Check out ```ExampleFinder``` to see how the data field is