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 acceptance test to interactive mode of client generation #892

Merged
merged 46 commits into from
Sep 19, 2024

Conversation

Jotheeswaran-Nandagopal
Copy link
Contributor

@Jotheeswaran-Nandagopal Jotheeswaran-Nandagopal commented Sep 17, 2024

What does this Pull Request accomplish?

  • Added a couple of test cases for interactive mode of client generation in test_client_generator.py.
  • Updated the click module tests with CliRunner.

Why should this Pull Request be merged?

  • This implementation contains the automation testing for the interactive mode of Measurement Plug-In Client generation workflow.
  • Removed the systemExit catching logics from the tests for modules using click under generator and replaced with CLIRunner.

What testing has been done?

  • Existing automated tests passed.
  • Newly added acceptance tests passed.

@Jotheeswaran-Nandagopal Jotheeswaran-Nandagopal changed the base branch from users/mounika/client-interactive-mode to main September 17, 2024 15:11
Copy link

github-actions bot commented Sep 17, 2024

Test Results

    40 files  ± 0      40 suites  ±0   49m 55s ⏱️ - 1m 8s
   688 tests + 2     688 ✅ + 2      0 💤 ±0  0 ❌ ±0 
16 780 runs  +20  15 710 ✅ +20  1 070 💤 ±0  0 ❌ ±0 

Results for commit 44dd58b. ± Comparison against base commit a0a64d2.

This pull request removes 1 and adds 3 tests. Note that renamed tests count towards both.
tests.acceptance.test_plugin_generator ‑ test___command_line_args___create_measurement_with_annotations___render_without_exception
tests.acceptance.test_client_generator ‑ test___command_line_args_with_registered_measurements___create_client_using_interactive_mode___renders_without_error
tests.acceptance.test_client_generator ‑ test___command_line_args_without_registering_any_measurement___create_client_using_interactive_mode___raises_exception
tests.acceptance.test_plugin_generator ‑ test___command_line_args___create_measurement_with_annotations___render_without_error

♻️ This comment has been updated with latest results.

@Jotheeswaran-Nandagopal Jotheeswaran-Nandagopal merged commit 0a09759 into main Sep 19, 2024
17 checks passed
@Jotheeswaran-Nandagopal Jotheeswaran-Nandagopal deleted the users/jothees/tests-for-interactive-mode branch September 19, 2024 03:40
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