Automate tests using pytest built-in markers skip, skipif, and xfail
Preconditions (2)
Step 1: Create a test function test_always_skip that is marked to always skip
Step 2: Create a test function test_skip_if_python_version that skips if Python version is less than 3.8
Step 3: Create a test function test_expected_failure that is marked as expected to fail
Step 4: Run pytest on the test file
Step 5: Observe the test results for skip, skipif, and xfail markers
✅ Expected Result: test_always_skip is skipped unconditionally, test_skip_if_python_version is skipped only if Python version < 3.8, test_expected_failure is reported as expected failure (xfail)