Pull to refresh

Escaping the Thicket of Tests: Building a Shortcut from a Fixture to an Assertion

2ГИС corporate blog IT systems testing *Programming *Scala *Functional Programming *

In this article, I would like to propose an alternative to the traditional test design style using functional programming concepts in Scala. This approach was inspired by many months of pain from maintaining dozens of failing tests and a burning desire to make them more straightforward and more comprehensible.

Even though the code is in Scala, the proposed ideas are appropriate for developers and QA engineers who use languages supporting functional programming. You can find a Github link with the full solution and an example at the end of the article.

Read more →
Total votes 8: ↑6 and ↓2 +4
Views 850
Comments 0