Is there any way to run a single test in ruby under spec/features/abc_spec.rb 'header details' ? Ex:
rake test:features spec/features/abc_spec.rb 'header details'
Is there any way to run a single test in ruby under spec/features/abc_spec.rb 'header details' ? Ex:
rake test:features spec/features/abc_spec.rb 'header details'
Copyright © 2021 Jogjafile Inc.
Since you're using rspec, there are a few ways to run a single test. First, you can just specify the line of the test
bundle exec rspec ./spec/features/abc_spec.rb:xxwhere xx represents the line number of 'header details'. OR You can create tags which is spelled out here in the Rspec docs.