Test Driven Development

Optimizing Factory Girl and Rspec tests

In the development team of Resultados Digitais we use Test Driven Development (TDD). This practice, in addition to mitigating errors that could be introduced by new requirements, helps to maintain code quality. Tests serve as code documentation and provide more security for developers. Still, a covered code testing can generate an overhead runtime, which can be the bottleneck […]