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

Dry runs #3

Open
3 tasks
heinezen opened this issue Dec 24, 2022 · 0 comments
Open
3 tasks

Dry runs #3

heinezen opened this issue Dec 24, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@heinezen
Copy link
Collaborator

The tool should have an option for "dry runs" that can be found in similar tools. In a dry run, the tool would only execute the configuration stage and/or the test generation. Test execution is skipped. This can be useful to determine whether a given test or service configuration is valid before it's let loose on the targeted REST API.

Dry run functionality could also be used to generate test runs and then save them to file, rather than executing them directly. Essentially, running a dry run with test generation should create a run configuration file that can be passed to the tool at a later time.

Implementing dry runs would probably involve the following tasks:

  • New CLI flag --dry-run
  • Skip engine.run() if a dry run is currently being executed
  • Output run configuration file if test generation is used (with the --generate flag). Test configs can be retrieved from generated tests with the serialize() function.
@heinezen heinezen added enhancement New feature or request good first issue Good for newcomers labels Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant