Class | Buildr::TestFramework::Base |
In: |
lib/buildr/core/test.rb
(CVS)
|
Parent: | Object |
options | [R] | Options for this test framework. |
task | [R] | The test task we belong to |
Returns a list of dependencies for this framework. Default is an empty list, override to add dependencies.
Returns a list of dependenices for this framework. Defaults to calling the dependencies method on the class.
TestTask calls this method to return a list of test names that can be run in this project. It then applies the include/exclude patterns to arrive at the list of tests that will be run, and call the run method with that list.
This method should return a list suitable for using with the run method, but also suitable for the user to manage. For example, JUnit locates all the tests in the test.compile.target directory, and returns the class names, which are easier to work with than file names.