Test-framework will mainly looking in javascript-unit for jaggery
-
Get jaggery server from http://jaggeryjs.org/
-
Unzip it
- Copy 'automobileapp' folder in '\jaggery-test-framewrok\jaggery-app' to \apps
- Copy 'test' in '\jaggery-test-framewrok\jaggery-module' to \modules
- For the sample we are testing jaggery module called 'motorcar', so copy the Copy 'motorcar' in '\jaggery-test-framewrok\jaggery-module' to \modules too.
Then Go to http://localhost:9763/automobileapp/test/
- You will see the list of test,
- Tick what you need to run and click on 'RUN',
- You can pick test that you wish to run
- You will get summary report in top of dashboard
Some links that help you to write test