Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Conditional testing #13

Open
swashcap opened this issue Oct 27, 2019 · 1 comment
Open

Conditional testing #13

swashcap opened this issue Oct 27, 2019 · 1 comment

Comments

@swashcap
Copy link
Collaborator

Problem

I want only want to run my test if a specific condition is met (I'm not on company VPN).

Potential Solution

Add a preFn to the Job interface that returns either boolean or Promise<boolean>

@cdaringe
Copy link
Contributor

Ya. Maybe preFn puts it into a SKIPPED state or something on fail?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants