Automate reusable test setup using pytest fixture
Preconditions (2)
Step 1: Create a pytest fixture named 'sample_data' that returns a dictionary with keys 'name' and 'age'
Step 2: Write two test functions that use the 'sample_data' fixture as a parameter
Step 3: In the first test, assert that 'name' is a string
Step 4: In the second test, assert that 'age' is an integer
✅ Expected Result: Both tests pass using the same reusable 'sample_data' fixture setup