Run all tests:
mvn clean test
Run individual tests:
mvn clean test -D test=WordDaoTest
mvn test
open target/site/jacoco/index.html
First, launch the webapp on localhost:
mvn jetty:run
Then, in another terminal window run all the regression tests against the REST API:
mvn verify -P regression-test-rest
Tip
If you want to run the tests against another URL, set the base.url
system property:
mvn verify -P regression-test-rest -D base.url=https://eng.elimu.ai
First, launch the webapp on localhost:
mvn jetty:run
Then, in another terminal window run all the regression tests against the UI:
mvn verify -P regression-test-ui
Tip
If you want to run the tests against another URL, set the base.url
system property:
mvn verify -P regression-test-ui -D base.url=https://eng.elimu.ai
If you don't want the automated test software to open browser windows, you can disable that by setting the headless
system property:
mvn verify -P regression-test-ui -D headless=true
elimu.ai - Free open-source learning software for out-of-school children 🚀✨
Website 🌐 • Wiki 📃 • Projects 👩🏽💻 • Milestones 🎯 • Community 👋🏽 • Support 💜