Top Ten List
...
Code Block |
---|
$ ./test.sh -h <hostname> -o <port> -u <username> -p <password> |
Running with profiling options (currently integrates with a running version of yourkit agent at the server side)
Code Block |
---|
$ ./test.sh -u <username> -p <password> -c |
Running all tests (including the tests specific for modules)
Code Block |
---|
$ ./test.sh -u <username> -p <password> -a |
Running all tests (including the tests specific for modules)
Code Block |
---|
$ ./test.sh -u <username> -p <password> -a |
Running an individual test class (it must be inside org.openmrs.test package). The argument must not include the package qualifier.
Code Block |
---|
$ ./test.sh -u <username> -p <password> -t <TestClassName> |
The connection.properties file
You can provide a connection.properties file in the project home directory where all connection attributes (like username, password, host etc) can be mentioned. A sample file connection.properties.sample is provided. Once a connection.properties file is created you need to enter them on the command line while running test.sh
The input.properties file
Parameters for tests can be modified in the input.properties file.
Currently all the parameters have been set for use with the a test data set which is available at http://wiki.openmrs.org/pages/viewpageattachments.action?pageId=3342470&metadataLink=true
Check the input.properties for more info