- Have docker installed
- Open a command prompt
cd <REPO_ROOT>/integration-tests/docker-cts-listing-page-api
docker-compose up --force-recreate
- This is being run without the detached (-d) option so that it can be easier to stop. You can choose however you want to run it.
cd <REPO_ROOT>/integration-tests
./bin/load-integration-data.sh
-- this loads the test data./bin/karate ./features
-- This runs the tests./bin/karate -w ./features
will watch the feature files and rerun when they are changed. So good for devving tests
- Docs for understanding how to run Karate standalone
- Specifically this has to do with the magic naming of the logging config which is really why I am posting this here!
- We have docker for dev testing because ES will no longer run on higher Java versions, this is the easiest way to get it up and running.
- .NET running locally on a Mac cannot talk to ES because of how NEST always uses the host name to connect to ES and ES exposes the Virtual Machine's hostname/IP that runs Linux on the Mac.
- You need to use the
--force-recreate
option todocker-compose up
or rundocker-compose rm
after shutting down the cluster. If the elasticsearch container is not removed, it keeps its data, and any restarts will leave the cluster in a bad state.