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

feat(testrunner): support --file to filter tests by test file name. #1903

Merged
merged 2 commits into from Apr 21, 2020

Conversation

aslushnikov
Copy link
Collaborator

No description provided.

utils/testrunner/index.js Outdated Show resolved Hide resolved
test/test.js Outdated
@@ -196,6 +196,13 @@ function collect(browserNames) {
testRunner.focusMatchingTests(new RegExp(filter, 'i'));
}

const fileArgIndex = process.argv.indexOf('--file');
if (fileArgIndex !== -1) {
console.log(process.argv);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@aslushnikov aslushnikov merged commit 2d68830 into microsoft:master Apr 21, 2020
@aslushnikov aslushnikov deleted the support-file-in-testrunner branch April 21, 2020 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants