Verify test execution only when environment variable is set
Preconditions (1)
Step 1: Check the environment variable TEST_ENV value
Step 2: If TEST_ENV is 'true', run the test method
Step 3: If TEST_ENV is not 'true', skip the test method
Step 4: Inside the test method, assert that 2 + 2 equals 4
✅ Expected Result: The test runs and passes only if TEST_ENV is 'true'. Otherwise, the test is skipped.