nickjj / docker-rails-example

A production ready example Rails app that's using Docker and Docker Compose.
MIT License
975 stars 197 forks source link

How to run system tests #41

Open vinibispo opened 2 years ago

vinibispo commented 2 years ago

Hi, nice work that you have done, but I think you have not set an example for running system tests

nickjj commented 2 years ago

Hi,

Feel free to open a PR to support the idea of running system tests.

nicolasiensen commented 1 year ago

I wrote a piece on this topic at https://nicolasiensen.github.io/2022-03-11-running-rails-system-tests-with-docker/

nickjj commented 1 year ago

Thanks. I didn't try out that approach yet but I do like that the standalone browsers end up being a separate container. This will make it easy to use Docker Compose profiles to either run or not run them based on if you want to run system tests.