testing

Jul
19
Chutney: Inconsistent Quoting

Chutney: Inconsistent Quoting

Chutney can now detect when parameters use a mix of double- and single-quoted strings
1 min read
Aug
18
TIL: Asserting Exceptions with Cucumber & Ruby

TIL: Asserting Exceptions with Cucumber & Ruby

Proper use of Cucumber follows a strict given-when-then syntax. This posses a small problem when trying to assert an exception in a 'then' step if it is raised in a 'when' step.
1 min read
Jul
06

TIL: Working with Long Element Ids with Capybara

I'm often finding that I'm testing web interfaces which have elements with extremely long identifiers. Hey,
1 min read
Jul
04

Controlling State Variables in Cucumber

Cucumber steps love local variables as the way the transition state across steps. Problem is that they're a
1 min read
Jun
15

Selective Proxies

I wanted to test a service following "mock almost nothing" principles with a fully-wired application stack but one
1 min read