Massively Increased Test Gravitas ;)

Posted by Denny at 07:08 on Tue, 10 Mar 2020

Today I replaced most of the Faker calls in the tests with CultureSeries.culture_ship, for great Banksian joy :)

Although I did this purely for the geeky love of the Culture books, it did actually flush out a few flaky tests - ship names containing apostrophes tended to break any tests using the 'include' matcher. I'm changing those over to has_css as I notice them, which escapes the apostrophe appropriately, and is a more precise test too, so double-win there.

Now I have to go read Player of Games again. :D

Tags: tests faker culture series nerdy fanboy

« First birthday! Ahoy! Basic web stats tracking »


No comments found