re: Docker + Rails + System tests with Headless Chrome VIEW POST

re: Hi Jack - thanks! If I understand correctly you are referencing the ability to run the testing suite outside the app container... With the rails ...

Hi Doug,

Yes, I am referring to the ability to run integration tests outside the app container. I believe that in capybara and headless chrome selenium driver, you can specify an external url to run the integration test. This enables CI agent to run the test against the docker container.

Docker images, at least the production ones, are supposed to have the bare minimum of what needs to get the job done. I think it should probably exclude all the development and test gems and I would also exclude the test directory.

If the purpose of the image is for test, then it is fine to run tests inside the container itself.

code of conduct - report abuse