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

Updated Uri Validator in Test Agents, and added higher coverage and cleaner Gherkin Uri Validator tests #46

Conversation

hostilechild007
Copy link
Contributor

Updated Uri Validator in Python and Java Test Agents

  • Test Agents accept a UUri dictionary instead of a serialized Uuri string
  • removed unnecessary validation type tests (ex: is_local(), is_micro_form() )

Added higher coverage and cleaner Gherkin Uri Validator tests

  • used step tables for THEN comparison tests
  • Scenario Outlines hold respective results for each validation type

test_agent/python/testagent.py Outdated Show resolved Hide resolved
test_agent/python/testagent.py Outdated Show resolved Hide resolved
test_agent/python/testagent.py Outdated Show resolved Hide resolved
test_manager/features/steps/tck_step_implementations.py Outdated Show resolved Hide resolved
test_manager/features/steps/tck_step_implementations.py Outdated Show resolved Hide resolved
test_manager/features/steps/tck_step_implementations.py Outdated Show resolved Hide resolved
test_manager/features/steps/tck_step_implementations.py Outdated Show resolved Hide resolved
test_manager/testrunner.bat Show resolved Hide resolved
test_agent/python/testagent.py Outdated Show resolved Hide resolved
test_agent/python/testagent.py Outdated Show resolved Hide resolved
test_agent/python/testagent.py Show resolved Hide resolved
Copy link

@princemac princemac left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@neelam-kushwah neelam-kushwah left a comment

Choose a reason for hiding this comment

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

Changes looks good to me.
@matthewd0123, going forward, please ensure that everyone uses the same Python formatter. You can export your formatter settings and provide it to the team to avoid any further formatting-related issues.

@neelam-kushwah neelam-kushwah merged commit c6ba0e3 into eclipse-uprotocol:main May 30, 2024
2 checks passed
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.

4 participants