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_VERSION` env var (https://github.com/pytest-dev/pytest/issues/9502 / https://github.com/pytest-dev/pytest/commit/48b6d188349b426a34e013820df6542087f0d08b) - Go has `testing.Testing()` (https://github.com/golang/go/issues/52600 / https://github.com/golang/go/commit/7f38067acb738c43d870400dd648662d31456f5f) - would be worth looking into other frameworks too (Jest, Rspec, Cargo, etc)
Feature request:
For comparison
PYTEST_VERSIONenv var (Add a function to detect if pytest is running pytest-dev/pytest#9502 / pytest-dev/pytest@48b6d18)testing.Testing()(testing: add func Testing() bool golang/go#52600 / golang/go@7f38067)