Skip to content
Snippets Groups Projects
Commit fd621378 authored by Michael Boniface's avatar Michael Boniface
Browse files

Update README.md

parent 8b9012a5
No related branches found
No related tags found
No related merge requests found
......@@ -62,14 +62,14 @@ SSH into the VM
The containers are controlled using a script called /vagrant/scripts/test/fixtures.sh
```
Usage: fixturs.sh create|start|stop|destroy [-f config_file] [-r repo_root] [-c service_name]"
Usage: fixture.sh create|start|stop|destroy [-f config_file] [-r repo_root] [-c service_name]"
```
To create all the services needed for integration tests
```
sudo su
/vagrant/scripts/test/fixtures.sh create -f /vagrant/src/test/clmctest/rspec.json
/vagrant/scripts/test/fixture.sh create -f /vagrant/src/test/clmctest/rspec.json
```
The containers created are defined an rspec.json file, there's an example here `/vagrant/src/test/clmctest/rspec.json`
......@@ -79,7 +79,7 @@ The `fixtures.sh` script defaults to look for a rspec.json in the current direct
To create|start|stop|destroy specific services use the -c option e.g.
```
/vagrant/scripts/test/fixtures.sh create -f /vagrant/src/test/clmctest/rspec.json -c clmc-service
/vagrant/scripts/test/fixture.sh create -f /vagrant/src/test/clmctest/rspec.json -c clmc-service
```
Attach to the test-runner to run the tests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment