-
- Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
feature/metadata/attributesfeature/test-runnerCLI test runnerCLI test runnertype/enhancementA new idea that should be implementedA new idea that should be implemented
Milestone
Description
Hello,
what do you think of adding a #[RequiresEnvVar] (or RequiresEnv?) attribute?
// would run the test if the env var is "truthy" #[RequiresEnvVar('SOME_ENV_VAR')] #[Test] public function some_test(){} // would run the test if the env var is strictly equals to 'foo' #[RequiresEnvVar('SOME_ENV_VAR', value: 'foo')] #[Test] public function some_other_test(){}mvorisek
Metadata
Metadata
Assignees
Labels
feature/metadata/attributesfeature/test-runnerCLI test runnerCLI test runnertype/enhancementA new idea that should be implementedA new idea that should be implemented