Configure pytest using pyproject.toml and verify test discovery
Preconditions (2)
Step 1: Create a pyproject.toml file in the project root
Step 2: Add pytest configuration section to pyproject.toml to set test paths and markers
Step 3: Run pytest from the command line without additional arguments
Step 4: Observe pytest discovers and runs the test_sample.py test
Step 5: Verify pytest output shows the test passed
✅ Expected Result: pytest discovers tests according to pyproject.toml settings and runs them successfully with a passing result