Note, as of checkbox-qt the above pages are in need of an update to show the new test format; see the example tests in the jobs folder inside the branch itself.

Writing a Checkbox Test

It's important you follow the format shown in the checkbox walk-through page above. In addition, there is are examples in the jobs folder for you to copy. You can duplicate and change one of the tests to help you get started. Let's walk-through doing a simple test.

Copy a test file *.txt.in file in the jobs subfolder.

Edit the steps, the requires, the test name, the depends and the description.

Add an entry for your new file in local.txt.in. You can follow the format as show in the file, updating to reference your filename and description.

Run the checkbox application and verify tests show up in the menu and work properly

Making sure your tests work

First you need to change the bin file to set the variables to point to your local directory. The /bin/checkbox-app-testing file needs modified as follows: