Open turadg opened 2 years ago
Tests duplicate a lot of setup. (E.g. creating a brand object) This creates extra work to write and even more to refactor.
Extract repeated patterns into test util modules. Make some Ava macros for common assertions.
--
@dtribble Please add your thoughts.
Example:
What is the Problem Being Solved?
Tests duplicate a lot of setup. (E.g. creating a brand object) This creates extra work to write and even more to refactor.
Description of the Design
Extract repeated patterns into test util modules. Make some Ava macros for common assertions.
Security Considerations
--
Test Plan
--