You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eventualbuddha edited this page Apr 12, 2011
·
5 revisions
OJAutotest is a tool that automatically runs relevant tests as you develop your Cappuccino application. It is intended to be used as a developer tool the reduces the time you receive feedback about your tests and to reduce the number of keystrokes it takes to run your tests.
OJAutotest is built to be configurable. It will look for a file called “.ojautotest” in the current directory for its configuration options. These options are specified using JSON notation. These are the currently supported options:
watch: An array of directories to watch for changes. Default is [“Test”].
Sample Configuration File
The following is a sample configuration file.
{
"watch": ["Test", "lib"]
}
Tips
You have to put all of your tests that you want OJAutotest to run in the “Test” folder.
OJAutotest should be run from the top level of your Cappuccino application.
For forward-compatibility, your filenames should be suffixed with “Test.” E.g. “AppController.j” => “AppControllerTest.j”