Allow specifying RSpec command line options
brynary opened this issue · comments
Spin will ignore any arguments passed to spin serve
that are not paths to files:
Line 191 in 72fbfc6
This is unfortunate, as it prevents passing RSpec options to spin serve
. I propose spin support a way to send in ARGV options that get set as the ARGV in the forked process.
Maybe we could use this style:
spin push -- --color --profile --tag type:model
Thoughts?
Makes sense to me. I like it.
Is specifying rspec options in .rspec file and letting spin pick it up from there not the best option? or are you suggesting that spin should support both.
I've cleaned up the bits for test unit from PR #45 to support this syntax with Rspec as well.