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

using table driven testing #551

Merged
merged 2 commits into from Nov 14, 2017
Merged

using table driven testing #551

merged 2 commits into from Nov 14, 2017

Conversation

jmrodri
Copy link
Contributor

@jmrodri jmrodri commented Nov 13, 2017

Using a table driven test case similar to what @maleck13 has proposed. This is using an existing test to see how it compares.

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 13, 2017
@jmrodri jmrodri added 3.8 do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. needs-review tech-debt labels Nov 13, 2017
@jmrodri
Copy link
Contributor Author

jmrodri commented Nov 13, 2017

Let me know what folks think. It might be better for the more advanced tests.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) to 26.359% when pulling c4fac16 on tests into 8dda327 on master.

@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 14, 2017
@coveralls
Copy link

Coverage Status

Coverage increased (+0.2%) to 26.48% when pulling af902ef on tests into 8dda327 on master.

@maleck13
Copy link
Contributor

These look reasonable to me. 👍

@jmrodri
Copy link
Contributor Author

jmrodri commented Nov 14, 2017

@maleck13 thanks for the enlightenment. I never knew you could do this. Once you get the hang of it, it's quite easy to understand and read. 👍

Copy link
Member

@djzager djzager left a comment

Choose a reason for hiding this comment

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

Nice. Getting closer to 27% 😆

Copy link
Contributor

@rthallisey rthallisey left a comment

Choose a reason for hiding this comment

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

Nice patch!

@rthallisey rthallisey merged commit d176f8b into master Nov 14, 2017
@rthallisey rthallisey deleted the tests branch November 14, 2017 19:43
@jmrodri jmrodri removed do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. needs-review labels Nov 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Denotes a PR that changes 100-499 lines, ignoring generated files. tech-debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants