- For testing, which using
- Pytest framework
- Selenium
- Docker
- Support testing
- Website UI testing (Testing resouces : https://automationexercise.com/test_cases)
git ls-tree -r --name-only HEAD | tree --fromfile
.
├── .gitignore
├── README.md
├── action
│ ├── api_request.py
│ └── driver.py
├── conftest.py
├── deployments
│ └── Dockerfile
├── logger.py
├── readme
│ └── docker_log_test_result.png
├── requirements.txt
├── screenshots
│ └── screenshot_20240401_001956.jpg
└── test_suites
├── test_01_user
│ ├── locator.py
│ └── test_register_user.py
└── test_02_test_cases
├── locator.py
└── test_verify_test_cases_page.py
- Build up a simple Docker
$ docker build --platform linux/amd64 --no-cache -t ui_selenium -f ./deployments/Dockerfile .
- Run the test command
$ pytest -v -s
OR
$ pytest -v -s test_suites/test_01_user/test_register_user.py