This Python package are smoke tests that generate data to persist in a MySql database. Smoke tests verify that the most important functionality in our application is working. They are a cost-effective method for identifying and fixing defects in software.
The data generators leverage the Underwriter, User, and Bank microservice. It requires structuring in the config.py file (located in the program directory) where methods can be set to run or not run and method values are also set.
-
Clone the Smoke Test Data Generator repo.
-
Pull docker hub images:
docker pull lyndasm/aline:mysql
docker pull lyndsm/aline:aline-gateway
docker pull lyndasm/aline:aline-underwriter
docker pull lyndasm/aline:aline-user
docker pull lyndasm/aline:aline-bank
- Run microservices:
docker compose -f "docker-compose.yml" up -d --build
- Create a python environment, activate environment, and install requirements.
pip intstall -r requirements.txt
- Set up testing scripts:
In the main
folder, modify config.py
in your VS Code or other IDE to verify which methods and variables are required for this test.
- Run
main
:
py main
or python3 main
lynda.foster@smoothstack.com
Cyber Cumulus Jira
- Data Generation=
- Applicants
- Applications
- User Data Producer
- Banks and Branches - in progress
Lead Developer:
With support from the Cyber Cumulus Team:
Anthony Foster
Nathan Galler
Dennis Ghitas
Sebastian Marzal
This portion of the project is completing development.