Cucumber ã使ãè¾¼ãã°ããµããã£ã¬ã¯ããªã使ã£ã¦ feature ãã¡ã¤ã«ãåé¡ããããªãã¾ããã
ãã¹ãå ¨ä½ãä¸æ°ã«å®è¡ããæã¯ããã®ã§ããã
cucumber features/admin/login.feature
ã®ããã«å®è¡ããã¨ãfeatures/step_definitions ãã£ã¬ã¯ããªã®ã¹ãããå®ç¾©ãèªã¿è¾¼ã¾ããªããã¨ããåé¡ãããã¾ãã
ããã解決ããã«ã¯
cucumber --require features features/admin/login.feature
ã®ããã«å®è¡ãã¾ãã
config/cucumber.yml ã® std_opts = '...' ãä¿®æ£ããã°ããã¡ãã¡ãªãã·ã§ã³ãä»ããå¿ è¦ããªããªãã¾ãã
std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} --strict --tags ~@wip --require features"
åèè³æ: