정상적으로 cucumber 기능 만 실행 중이므로 올바르게 guard 파일을 설정하려고합니다. 그런 다음 작업이 완료되면 모든 기능을 수동으로 실행하고 싶습니다. 가드 파일을 수정했지만 run_all이 작동하지 않습니다. @wip 기능 만 실행합니다.Guard + Cucumber => 사용자 정의 가드 파일
guard 'cucumber', :cli => "--no-profile --tags @wip --format 'pretty'", :run_all => { :cli => "--no-profile --color --format 'progress' --strict" } do
watch(%r{^features/.+\.feature$})
watch(%r{^features/support/.+$}) { 'features' }
watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' }
end
: run_all 메서드는 어떻게 작동합니까? 당신이 모든하지만 @wip를 실행하려는 경우
첫 번째 cli가 예상대로 작동합니다 (@wip을 실행하고 싶습니다). 내가 문제가있는 run_all입니다. 태그가 있거나없는 모든 것을 실행하고 싶습니다. – RyanJM