generated from quinnj/Example.jl
-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
speculativea feature idea that we are undecided abouta feature idea that we are undecided about
Description
Feature request:
are there env. vars or checks that can be done in the source code to detect if it's inside a test case?
For comparison
- PyTest has a
PYTEST_VERSIONenv var (Add a function to detect if pytest is running pytest-dev/pytest#9502 / pytest-dev/pytest@48b6d18) - Go has
testing.Testing()(testing: add func Testing() bool golang/go#52600 / golang/go@7f38067) - would be worth looking into other frameworks too (Jest, Rspec, Cargo, etc)
Metadata
Metadata
Assignees
Labels
speculativea feature idea that we are undecided abouta feature idea that we are undecided about