tests pkg
tests(i, pkg)
When an integer is not provided, this returns all the tests for the given package. The position of each element would be passed as the first argument of check to run the test. Each value is a TestInput object. These are printed with the location of the file so that you may quickly jump to the source code of the test when using Emacs.
|
If the test number is also provided, then the corresponding TestInput object is returned.
|
|
|
Passing only the key of the desired test to code is supported as well.
|
You may also pass a TestInput object to edit to open the code in your favorite editor.
The object tests is a method function.