Session Details

Session Details2019-01-07T06:21:08+00:00

UI Tests Are Fun to Write (If You Write Them Right)

Presented by: Seth Petry-Johnson
Time: Friday, Jan. 11, 4:00 PM - 5:00 PM

Automated browser tests can be a nightmare to write and maintain. Unlike unit tests they’re tough to set up, slow to run, make permanent changes to data, and they’re incredibly brittle. Even a tiny CSS change can result in cascading failures! You can’t ignore these issues, but you CAN design around them by adopting a few key patterns and techniques. Data creation helpers let you construct intricate data graphs in one line of code. Page Objects abstract away tedious browser automation code and make tests resilient to changes in HTML structure. You'll also see some anti-patterns that are definitely NOT fun to write. Developers will leave this session prepared to inject some newfound joy into their UI testing efforts. (Some examples use WebDriver, although the session is largely test tool agnostic)

Room: CypressTags: .NET, TestingLevel: Intermediate