testo/convention
Testo naming-convention plugin that discovers tests by file and class name patterns instead of explicit attributes. Ideal for adopting Testo in existing codebases with established conventions or integrating third-party suites without Testo attributes.
*Test.php), avoiding costly refactoring to add Testo-specific attributes.TestCase classes, test* methods).Adopt when:
*Test.php, TestCase suffixes, test* methods).Look elsewhere when:
Test, Spec, or custom patterns).@group, @skip) that conventions cannot express.*"This package lets us leverage existing test files when adopting Testo, saving thousands of hours in refactoring. By using naming conventions (e.g., UserTest.php), we can run tests under Testo without changes, reducing migration risk. It’s a low-cost, high-reward way to modernize our testing infrastructure while preserving our current workflows.
Key Ask:
*"The testo/convention plugin disovers tests via filenames and method names (e.g., UserServiceTest.php + testCreateUser()), eliminating the need to add Testo attributes. This is ideal for:
TestCase classes or methods.Tradeoffs:
@group via naming).Proposal:
Tech Stack Fit:
Next Steps:
TestCase lifecycle."How can I help you explore Laravel packages today?