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

Mark tests requiring hardware as system tests #53

Merged
merged 4 commits into from
Jan 8, 2020

Conversation

Karl-G1
Copy link
Contributor

@Karl-G1 Karl-G1 commented Jan 3, 2020

What does this Pull Request accomplish?

This PR correctly identifies 3 tests in the repo as system tests. Currently, they are labeled as unit tests and execute before the PXI system is imaged during ATS runs. This change marks them as system tests and specifies they run as part of the Pharlap tests on the ATS.

  • VeriStandTestCaseTests:testBenchmarkSystemDefinitionPasses
  • VeriStandTestCaseTests:testBenchmarkSystemDefinitionFails
  • VeriStandTestCaseTests:testOpenCloseVeriStandConnection

Why should this Pull Request be merged?

This change splits the VeriStandTestCaseTests class into unit and system tests, enabling ATS runs to correctly execute the tests.

What testing has been done?

Manually updated the test system with this branch and successfully executed the tests in 2019.

image

@Karl-G1 Karl-G1 changed the title Dev/separate system test Mark tests requiring hardware as system tests Jan 3, 2020
@Karl-G1 Karl-G1 marked this pull request as ready for review January 3, 2020 21:21
@niveristand-diff-bot
Copy link
Collaborator

Bleep bloop!

LabVIEW Diff Robot here with some diffs served up hot for your pull request.

Notice something funny? Help fix me on my GitHub repo.

testExample 1.vi.png

capture

VeriStandTestCaseSystemTests.lvclass--setUp.vi.png

capture

VeriStandTestCaseSystemTests.lvclass--tearDown.vi.png

capture

VeriStandTestCaseSystemTests.lvclass--testBenchmarkSystemDefinitionFails.vi.png

capture

VeriStandTestCaseSystemTests.lvclass--testBenchmarkSystemDefinitionPasses.vi.png

capture

VeriStandTestCaseUnitTests.lvclass--setUp.vi.png

capture

VeriStandTestCaseUnitTests.lvclass--tearDown.vi.png

capture

VeriStandTestCaseUnitTests.lvclass--testGetPropertyFromAddedConfigurationFileWithoutDeploying.vi.png

capture

@Karl-G1 Karl-G1 merged commit 9e8b39e into master Jan 8, 2020
@Karl-G1 Karl-G1 deleted the dev/separate-system-test branch January 8, 2020 20:25
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.

3 participants