Closed invalidusrname closed 4 years ago
This will add the ability to run in a docker container:
$ docker-compose build $ docker-compose run app root@bf908f1b8443:/usr/src/app# bundle exec rspec ... ... Finished in 1.618133572 seconds. ---------------------------------------------------------------------------------------------------------------------------------------------------------- 17 tests, 33 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed ---------------------------------------------------------------------------------------------------------------------------------------------------------- 10.51 tests/s, 20.39 assertions/s
Or you can just run the test suite this way:
docker-compose run app rspec ... Finished in 1.711904832 seconds. ---------------------------------------------------------------------------------------------------------------------------------------------------------- 17 tests, 33 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications 100% passed ---------------------------------------------------------------------------------------------------------------------------------------------------------- 9.93 tests/s, 19.28 assertions/s
This will add the ability to run in a docker container:
Usage
Or you can just run the test suite this way: