Name: e2e-tests
Owner: Microservices Demo
Description: End to end tests for the socks shop
Created: 2016-12-22 22:40:53.0
Updated: 2018-01-16 00:01:23.0
Pushed: 2017-09-08 08:50:44.0
Homepage: null
Size: 10
Language: Nix
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repo contains a a set of end-to-end tests, that we use to verify that changes to the shop don't cause regressions.
Futhermore, it can be used to verify that swapping out a service (lets say the payment
service)
by one implemented in a different language, that things still work as intended.
By running the following command, all tests in the tests directory will be run:
er build -t weaveworksdemos/e2etests .
er run --rm -e URL=<HOSTNAME> weaveworksdemos/e2etests
If you want to run only the login
and add_holy_to_cart
tests, run:
er run --rm -e URL=<HOSTNAME> weaveworksdemos/e2etests login.rb add_holy_to_cart.rb
The test runner can be build using nix-build
.
localhost $(nix-build)/bin/e2etest tests/add_holy_to_cart.rb test/checkout_holy.rb