re: DRY to the point of WET yak shaving VIEW POST


I've heard WET as "Write Expressive Tests".

In the context of unit tests (TDD-style), it is better to have independent unit tests that are not dependent on other unit tests or convenience functions (such as set-up or tear-down). So, indeed, these kinds of unit tests violate DRY because they embrace WET.

As a consequence, WET ("Write Expressive Tests") does mean WET ("We Enjoy Typing").

code of conduct - report abuse