Hacker News new | ask | show | jobs
by drothlis 1251 days ago
I have been using this type of "expect" tests (I use the term "characterisation tests") more and more. Some examples:

- Server-side rendering and testability: https://david.rothlis.net/server-side-rendering-good/

- Testing "Page Objects" (classes written for UI tests): https://david.rothlis.net/pageobjects/characterisation-tests