Last active
July 19, 2022 11:35
-
-
Save bibstha/e432d746a7e868109d151693770f1e1d to your computer and use it in GitHub Desktop.
Run rails test inside docker container using vimtest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let g:test#ruby#rails#executable = 'docker compose run -ti --rm backend-test rails test' | |
# Replace backend-test with the name of the service. | |
You wouldn't want to run it in the main service because it ends up using the resetting development database. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment