Di Fan

54%
Flag icon
The solution is to design for testability. The first rule of software design—whether for testability or for any other reason—is always the same: Don’t depend on volatile things. GUIs are volatile. Test suites that operate the system through the GUI must be fragile. Therefore design the system, and the tests, so that business rules can be tested without using the GUI.
Clean Architecture: A Craftsman's Guide to Software Structure and Design
Rate this book
Clear rating
Open Preview