Verify custom pytest markers are registered and used correctly
Preconditions (2)
Step 1: Open pytest.ini file
Step 2: Add a custom marker named 'slow' with description 'marks tests as slow'
Step 3: Create a test file test_sample.py
Step 4: Add two test functions: one marked with @pytest.mark.slow and one without any marker
Step 5: Run pytest with the option '-m slow' to run only tests marked as slow
✅ Expected Result: Only the test function marked with @pytest.mark.slow runs successfully, and pytest does not show any warnings about unregistered markers