DEV Community

Discussion on: Tidy up your tests using component test harnesses (1/3)

Collapse
 
ezzabuzaid profile image
ezzabuzaid

I use the idea of PageObject to simplify test APIs usage, or Facade design pattern if you well. Also, I intend to always have one expectation in each test case grouping them under one describe for clarity. lately I've been using spectator, and it is amazing and nicer way to write tests.

Good article, keep up the good work!

spectator
page_object