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

WIP: Skip known failing tests #38

Closed
wants to merge 1 commit into from
Closed

WIP: Skip known failing tests #38

wants to merge 1 commit into from

Conversation

Ichimonji10
Copy link
Contributor

Skip failing tests. This is a temporary solution until #29 and #30 are fixed.
The idea is that it's better to highlight real regressions than drown the user
in known issues. In the immediate future, developers who'd like to know if
they've fixed an issue can remove relevant skipTest() lines from their local
copies of the test suite. Not optimal, but workable.

Tested against Pulp 2.6:

$ python -m unittest2 discover pulp_smash.tests
....s...ssssssss.ss.....ssss...........................
----------------------------------------------------------------------
Ran 50 tests in 43.777s

OK (skipped=15)

@Ichimonji10
Copy link
Contributor Author

I could use some help identifying the issues in our bug tracker that correspond to the skipped tests in this PR. Search for the keyword "FIXME" to find them.

@Ichimonji10
Copy link
Contributor Author

@pulp Whenever you have a chance.

@Ichimonji10
Copy link
Contributor Author

@asmacdo I saw that you commented out some failing tests in some other code you're working on. Consider reviewing this PR and/or rebasing your branch onto this one.

Skip failing tests. This is a temporary solution until #29 and #30 are fixed.
The idea is that it's better to highlight real regressions than drown the user
in known issues. In the immediate future, developers who'd like to know if
they've fixed an issue can remove relevant `skipTest()` lines from their local
copies of the test suite. Not optimal, but workable.

Also, update a test that made an assertion about an undesirable behaviour.
Method `ReadUpdateDeleteTestCase.test_deleted_user` in module
`pulp_smash.tests.platform.api_v2.test_user` now correctly passes a JSON body in
a PUT request for a user.

Tested against Pulp 2.6 and 2.7:

    $ python -m unittest2 discover pulp_smash.tests
    ....s...sssssss.s.....ssss........................................s........
    ----------------------------------------------------------------------
    Ran 72 tests in 30.678s

    OK (skipped=14)
@Ichimonji10
Copy link
Contributor Author

I'm going to take some time to reconsider my approach here.

@Ichimonji10 Ichimonji10 deleted the failures branch December 10, 2015 15:31
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

1 participant