To run this project you need to have Java and Apache Maven installed on your computer. The manuals on how to do it are stored on the Java website the Apache Project website.
- Make sure that JAVA_HOME is set as the environment variable,
- and that Maven (M2_HOME) is set to your PATH environment variable.
- Clone/Download project from GitHub: Project Link
- To run FULL suit (tests), execute following from CMD (console) in project root:
mvn clean test -Dbrowser=firefox
Acceptable browsers:
-
Edge = 'MicrosofEdge', 'Edge', 'edge'
-
Firefox = 'Firefox', 'firefox', 'Mozilla'
-
Chrome = 'Chrome', 'chorme', 'googclechrome'.
-
To run only API 🏃 suit (tests), execute following from CMD (console) in project root:
mvn test -Dsurefire.suiteXmlFiles=src/test/resources/api_suite.xml
- To run only GUI 🚶 suit (tests), execute following from CMD (console) in project root:
mvn test -Dsurefire.suiteXmlFiles=src/test/resources/gui_suite.xml