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

Improve robustness of integration and regression tests. #1256

Merged
merged 2 commits into from
Mar 12, 2020

Conversation

jpwhite4
Copy link
Member

The integration and regression tests should not get their
test parameters from the system that they are testing. If the
system to test is broken then the test may erroneously pass.

For this pull request: the old code was querying XDMoD
to find out what realms existed and then only testing the realms
that XDMoD reported as present. This is not the way it should be done.
What should actually happen is that the developer sets up XDMoD
with the desired set of realms and then the tests check that
the desired set of realms are actually present.

The integration and regression tests should not get their
test parameters from the system that they are testing. If the
system to test is broken then the test may erroneously pass.

In the case of the current fixes the old code was querying XDMoD
to find out what realms existed and then only testing the realms
that XDMoD reported as present. This is not the way it should be done.
What should actually happen is that the developer sets up XDMoD
with the desired set of realms and then the tests check that
the desired set of realms are actually present.
@jpwhite4 jpwhite4 merged commit bbba4c6 into ubccr:xdmod9.0 Mar 12, 2020
@jpwhite4 jpwhite4 deleted the intcomp branch March 12, 2020 17:55
@jtpalmer jtpalmer added this to the 9.0.0 milestone Aug 10, 2020
@jtpalmer jtpalmer added Category:General General qa / testing Updates/additions to tests labels Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:General General qa / testing Updates/additions to tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants