Last active
May 22, 2025 21:37
-
-
Save bigsnarfdude/181e59cef98c0b076b83599463f564f2 to your computer and use it in GitHub Desktop.
using rspec
This file contains hidden or 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
# All model tests | |
bundle exec rspec spec/models/ | |
# All controller tests | |
bundle exec rspec spec/controllers/ | |
# All request tests | |
bundle exec rspec spec/requests/ | |
# All feature tests | |
bundle exec rspec spec/features/ | |
# Run all tests | |
bundle exec rspec | |
bundle exec rspec spec/features/ > /app/test_results.txt 2>&1 | |
docker cp workshops:/app/controller_output ./controller_output.txt | |
grep -i "error\|exception\|undefined" controller_output.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment