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

Add tests for connector pane validation and IP address extraction #7

Merged
merged 4 commits into from
Oct 15, 2018

Conversation

rtzoeller
Copy link
Contributor

@rtzoeller rtzoeller commented Oct 12, 2018

What does this Pull Request accomplish?

Add tests for connector pane validation and IP address extraction.

Fix connector pane assert referencing incorrect XPath keys

Why should this Pull Request be merged?

There is currently no test coverage for the testing utilities; this pull request adds tests for the connector pane validation which has historically been a pain point.

Also includes a fix for some VI connector panes not being checked properly due to incorrect XPath keys.

What testing has been done?

Running the tests produces passing results, and caught a bug.

@rtzoeller rtzoeller requested review from csjall and buckd October 12, 2018 16:29
buckd
buckd previously approved these changes Oct 15, 2018
Copy link
Collaborator

@buckd buckd left a comment

Choose a reason for hiding this comment

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

Just a minor thing in testAssertConnectoryPanesMatcheExpectedMissingFails.vi. If an error comes out of passIfError.vi, we should stop the for loop. If that happens, neither of the subVI calls in that loop do anything after the first failure because they both check for errors and just pass wires through if there's an error in. Add a conditional terminal and wire error out of passIfErrors.vi to this terminal and I'm good.

@rtzoeller rtzoeller merged commit c3eabd9 into master Oct 15, 2018
@rtzoeller rtzoeller deleted the dev/initial_tests branch October 15, 2018 15:09
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.

2 participants