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

Add repeat tag #13

Merged
merged 9 commits into from Aug 21, 2019
Merged

Add repeat tag #13

merged 9 commits into from Aug 21, 2019

Conversation

mateusfreira
Copy link
Collaborator

@mateusfreira mateusfreira commented Aug 20, 2019

The intention here is to add the capability to repeat a test N times if the user wants to. For now, we are implementing a straightforward approach.

I have added some tests to demo how the feature works for now as well as update the documentation.

Bonus: I added tests to skip and only tags.

Ps: This review will be easier if you do it with Hide whitespace changes enabled, try it here https://github.com/testbetter/openapitest/pull/13/files?w=1

package.json Outdated Show resolved Hide resolved
basicAuth = apiPort.resolveObject(basicAuth)
delete basicAuth.$file
}
requests.forEach((_req) => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

because of this new loop, most of the change fro here are indentation only, I would advice to review with Hide whitespace changes enabled. Here is a shortcut to it :) https://github.com/testbetter/openapitest/pull/13/files?w=1

Copy link
Collaborator

@dreich-nucleus dreich-nucleus left a comment

Choose a reason for hiding this comment

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

This looks great. There is only one small change needed I think, but it would be good to provide feedback on some of my questions/comments for my understanding.

fixtures/fixture.only.spec.yaml Show resolved Hide resolved
fixtures/fixture.only.spec.yaml Show resolved Hide resolved
specs/apiCall.spec.js Show resolved Hide resolved
specs/apiCall.spec.js Outdated Show resolved Hide resolved
Co-Authored-By: Dave Reich <dreich@nucleushealth.io>
@testbetter testbetter merged commit 19a70cf into testbetter:master Aug 21, 2019
@mateusfreira mateusfreira deleted the repeat-tag branch August 22, 2019 14:27
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

3 participants