Introduction
Configuration helps keep tests consistent and predictable. It sets rules so tests run the same way every time.
When you want all tests to use the same settings like timeouts or retries.
When you need to share test settings across many test files.
When you want to avoid repeating the same setup code in every test.
When you want to control test behavior without changing test code.
When you want to easily switch test environments like development or production.