You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the below command to re-generate API docs:
RAILS_ENV=test rake docs:generate
it will execute every single rspec test under 'spec/acceptance/**/*_spec.rb'.
It *even* executes the tests that are explicitly marked as:
document: false
With this new rake task, only the rspec tests that contribute to the generation of
API documentation will be executed:
RAILS_ENV=test rake docs:generate:skip_undocumenting
Aside: For our team, this reduced the amount of tests being executed during
docs generation down from 195 to 37.
0 commit comments