gobierto
gobierto copied to clipboard
3837 add rake tasks to run every module only
Closes #3837
:v: What does this PR do?
add new rake task to run test by every gobierto module
:mag: How should this be manually tested?
bin/rails -T # should show new task like:
bin/rails test:gobierto_admin
...
What's pending here?
I am not sure about:
- namespace location...
- use the full name of module example: gobierto_admin
- if I will better use a gem like Open3 instead of puts
- namespace location...
Yes, use a new file (test.rake?). Let's have a single namespace per file
- use the full name of module example: gobierto_admin
But you are already using the whole module name, right?
- if I will better use a gem like Open3 instead of puts
The experience would be better if the output is shown instantly so Open3 might help, but don't lose too much time
ok, I changed :
- move to lib/test.rake
- the command to output
- add --fail-fast as params to task with
bin/rails test:gobierto_plans[true]
I will include Open3 next time