Software Engineer @ Rivero
Hugo Sousa is a software developer with experience in multiple Scala code-bases. He loves pushing the boundaries of how to write great production code and tests, which is why he loves Functional Programming and Scala!
Tests should ensure that the code still functions properly as the code base changes with code refactoring and as the code base grows. This should mean that it improves maintainability in the long run. However, if we have to change the tests every time we refactor the code, the benefits become more questionable. Not only might we not ensure functionality holds in the face of a refactor, we might even be increasing the cost and risk associated with refactoring the code, because the tests need to be refactored along with. In this presentation, we will explore different approaches to testing so that hopefully tests become an asset instead of a burden.