First, run the Hotel Booking app. The easiest way is to do it via Docker as shown below. This will start the app that can be accessed at http://localhost:8080
docker run --rm -p 8080:8080 --name=hotel-booking -itd hindsightsoftware/hotel-booking:latest
Next, run the Cucumber Python tests. The report will be generated as a JSON file in reports/cucumber.json
.
python3 -m pip install -r requirements.txt
python3 -m behave -f json.pretty -o reports/cucumber.json