Automatically generated test cases for web pages using Selenium and JavaScript to verify that all URLs are usable.
Install all dependencies by executing the following command:
npm ci
By adding webpages of interest modify the file "websites.properties".
Next, you can start the application:
npm start
or
npm run testCC
The project will load all URL and crawl the URLs in use based on the defines settings file (settings/HTMLTags.properties).
The second command will generate testcases based on the file "websites.properties".
To learn more about Selenium, take a look at the following resource:
For linting the source files, execute the following command:
npm run lint
# or
npm run lint:fix
For running the tests, execute the following command:
npm run testSetup
This repository is the outcome of the company challenge of the lecture Advanced Software Design Techniques with the professor Eduardo Martins Guerra at the Free University of Bolzano. The project was implemented for the company Catch Solve.
The MIT License (MIT). Please see the license file for more information.