Search bar offers the following options:
Term presence. The below example searches for documents that
must contain “foo”, might contain “bar” and must not contain “baz”:
+foo bar -baz
Wildcards. The below example searches for documents with words beginning with “foo”:
Search in specific fields. The following search matches all objects
in "twisted.mail" that matches “search”:
Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.
Fuzzy matches. The following search matches all documents
that have a word within 1 edit distance of “foo”:
Results provided by Lunr.js
The interface that a test case must implement in order to be used in Trial.
||Run the test. Should always do exactly the same thing as run().|
||Return the number of tests in this test case. Usually 1.|
||Return a unique identifier for the test, usually the fully-qualified Python name.|
||Run the test, storing the results in result.|
||Return a short description of the test.|
||The exception class that is raised by failed assertions|
Return a unique identifier for the test, usually the fully-qualified Python name.
Run the test, storing the results in result.