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

Data driven test #43

Open
csutorasr opened this issue May 4, 2021 · 1 comment
Open

Data driven test #43

csutorasr opened this issue May 4, 2021 · 1 comment

Comments

@csutorasr
Copy link

csutorasr commented May 4, 2021

I would like to run data-driven tests and the title is containing some variables.

I got an error similar to #42 .

The solution would be to regex-replace \$\{.*\} with .* in the filter, and use type grep.

In this line

matches.push({
the name should be matched against the template literal or the string concatenation regex. If it matches, -grep should be appended to the type and replace it with .*. Take a look at the reference.

@vvedmedera
Copy link

I noticed that data-driven tests could only be run by running all tests in the file. Otherwise, they are not recognized because of the way the user input is parsed

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

No branches or pull requests

2 participants