knapsack: Build fails with custom KNAPSACK_TEST_FILE_PATTERN
https://github.com/ArturT/knapsack#how-can-i-run-tests-from-multiple-directories using the approach described here bundle exec rake knapsack:rspec fails with require': cannot load such file -- spec_helper (LoadError) when KNAPSACK_TEST_FILE_PATTERN contains other directories.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 16 (7 by maintainers)
Hi @arturopie
Yes.
We exchanged emails before about knapsack_pro. The docs are here and you can set the test directory with your
spec_helper.rbconfiguration with variableKNAPSACK_PRO_TEST_DIR=spec(note there is PRO in the name) https://github.com/KnapsackPro/knapsack_pro-ruby#how-can-i-run-tests-from-multiple-directories