Sample source code of automated test of web pages and a REST api.
The objective is to implement the same tests using different automation test tools and different programming languages.
The web pages under test:
The REST api under test:
https://qa-demo.gitlab.io/reports
The tests were developed using the following programming languages:
- Python
- Java
- Node.js
The tests were developed using:
-
For Web tests:
-
For API tests:
Category | Python | Java | Node.js |
---|---|---|---|
Web test tools |
|
|
|
REST API test tools |
|
|
|
Unit test framework | Pytest | JUnit5 | Mocha |
Package manager | pip | Maven | npm |
Test Reporting Tool | Allure report | Allure report | Allure report |
Code repository | Gitlab | Gitlab | Gitlab |
Continuos integration | Gitlab-CI | Gitlab-CI | Gitlab-CI |
Test environment | Docker | Docker | Docker |