How to organize rspec 2 tests into ‘unit’ (fast) and ‘integration’ (slow) categories?
- I want to be able to run all unit tests with just
rspeccommand, but not the ‘integration’ tests. - I want to be able to run only ‘integration’ tests.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
We have groups of the same nature.
We run then one by one both on the local dev boxes and on the CI.
you can simply do
This is what our spec.rake looks like