Category: Testing

Automated testing -> Useful short version Hamcrest matchers replace asserts high degree of complexity easy to understand plain (useful) logging? Examples: allOf – matches if all matchers match (short circuits) anyOf – matches if any matchers match (short circuits) not – matches if the wrapped matcher doesn’t match and vice equalTo – test object equality using the equals method […]

Serenity Test Automation

Focus on screenplay pattern: ( Reminder on ‘SOLID’: The first five principles are principles of class design. They are: SRP The Single Responsibility Principle A class should have one, and only one, reason to change. OCP The Open Closed Principle You should be able to extend a classes behavior, without modifying it. LSP […]

Thoughts on Page Model

Page model alternatives: “Journey” or “Screenplay’ pattern A weak Journey example: SOLID:     Perils of Page-Object Pattern from Anand Bagmar   State modeling: