I have an rspec test defined like below. I know that I can run rspec -e "guessing"
to run the full block of tests, but I want to run only specific contexts at a time. This way I can code the "correctly" tests first, and then later the "incorrectly" portion. Is there a command line way run the specified tests without naming them individually?
describe 'guessing' do
context 'correctly' do
it 'changes correct guess list' do
end
it 'returns true' do
end
end
context 'incorrectly' do
it 'changes wrong guess list' do
end
it 'returns true' do
end
end
end