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

Initial support for unit tests of pytest plugins #104

Merged
merged 10 commits into from
May 28, 2019
Merged

Initial support for unit tests of pytest plugins #104

merged 10 commits into from
May 28, 2019

Conversation

mbukatov
Copy link
Contributor

@mbukatov mbukatov commented May 27, 2019

This pull requests introduces unit tests of our pytest plugins, tested via pytest via pytester, which is official pytest module for testing pytest plugins via pytest.

It contains few simple test cases only, so that it's possible to add unit tests for config and cli option processing later.

Don't squash this pull request into single commit when merging, each commit message is meaningful.

@mbukatov mbukatov requested a review from a team as a code owner May 27, 2019 17:58
@mbukatov mbukatov self-assigned this May 27, 2019
Copy link
Contributor

@RazTamir RazTamir left a comment

Choose a reason for hiding this comment

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

Hi @mbukatov , even though this is very important, it is a very low priority for now.
We have a huge gap to close in testing OCS so any contribution to test the product itself is with high priority

@mbukatov
Copy link
Contributor Author

@RazTamir understood, I will polish it so that it could be merged asap, without adding the tests I originally intended to write.

That said, the original indentation was valid from PEP8's point of view.
@mbukatov mbukatov changed the title WIP: Unit tests of pytest plugins Initial support for unit tests of pytest plugins May 28, 2019
@mbukatov mbukatov requested a review from RazTamir May 28, 2019 08:21
Copy link
Contributor

@RazTamir RazTamir left a comment

Choose a reason for hiding this comment

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

In case you have execution link to ensure this is verified, please add it here

@petr-balogh
Copy link
Member

In case you have execution link to ensure this is verified, please add it here

In this case we can consider the output from travis (tox) as verification: https://travis-ci.org/red-hat-storage/ocs-ci/jobs/538111788

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