Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip test option #726

Merged
merged 5 commits into from
Nov 28, 2022
Merged

Skip test option #726

merged 5 commits into from
Nov 28, 2022

Conversation

sriedel
Copy link
Contributor

@sriedel sriedel commented Jun 16, 2019

A surprising amount of gems include their test suites in the gem distribution (out of 185 gems in my current gem set, 78 include a first-level 'spec' or 'test' directory. This can increase the number of files to process by quite a bit.

This proposed change will not gather files to process in under directories called 'spec' or 'test', unless the --no-skipping-tests command line option is supplied.

This feature is similar to --exclude, however will work regardless if the current directory includes a .rdoc_options file.

Alternatively, a feature could be introduced that loads and parses an .rdoc_options file from the users home directory before such a file is looked for and parsed from the current directory.

@sriedel
Copy link
Contributor Author

sriedel commented Jun 16, 2019

Hmm, not really sure whats up with the failing rake task. Could you give me some pointers as to what may be going wrong? The rake command works fine locally, even after a 'rake clean'.

@nobu nobu merged commit 33925f8 into ruby:master Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants