-
Notifications
You must be signed in to change notification settings - Fork 104
How to run acceptance tests at local
Lemi Orhan Ergin edited this page May 22, 2021
·
1 revision
In order to run acceptance tests at local, docker should be installed. Here are the commands you can use.
1. One command to run all tests by booting up all servers
# Starts MySQL, Redis, Kafka, and both ticket and payment apis
# Then run all acceptance tests
# And closes all servers afterwards
./run_at.sh run
2. Start and stop all servers
# Starts/stops MySQL, Redis, Kafka, and both ticket and payment apis
./run_at.sh start
./run_at.sh stop
3. Start and stop infra components and apis individually
# Starts/stops MySQL, Redis, Kafka
./run_at.sh start_infra
./run_at.sh stop_infra
# Starts/stops both ticket and payment apis
./run_at.sh start_apis
./run_at.sh stop_apis
4. Runs acceptance tests individually
# Runs cucumber tests via gradle
./run_at.sh test
created by Lemi Orhan Ergin & Alican Akkuş