Verify pytest recognizes test files and functions by naming conventions
Preconditions (2)
Step 1: Create a Python file named test_sample.py
Step 2: Inside test_sample.py, define a function named test_addition
Step 3: In test_addition, write an assertion that 2 + 2 equals 4
Step 4: Run pytest on the project folder
Step 5: Observe which tests pytest discovers and runs
✅ Expected Result: pytest discovers and runs the test_addition function inside test_sample.py and reports the test as passed