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 an optional argument for protecting the run of the tests #205

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

n-osborne
Copy link
Collaborator

This PR propose to add a -p optional argument to the Ortac/QCheck-STM
command-line.

The new optional argument takes a string which should be the name of the function to call.
The function should be implemented in the module passed to the -i option.
The funciton has type (unit -> unit) -> unit, which means that running the tests is suspended so the basic usage is:

let run_tests tests = (* do something *) (tests ())

@n-osborne n-osborne added this to the 0.2 milestone Mar 6, 2024
@n-osborne
Copy link
Collaborator Author

Note to myself: I need to add the equivalent optional argument to Ortac/Dune plugin.

@n-osborne n-osborne modified the milestones: 0.2, 0.3 Apr 11, 2024
@n-osborne n-osborne marked this pull request as draft June 6, 2024 10:22
@n-osborne
Copy link
Collaborator Author

Converting to draft as it is not up to date with the module-based configuration from #214

@n-osborne n-osborne removed this from the 0.3 milestone Jul 3, 2024
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.

1 participant