O'Reilly logo

Scala Test-Driven Development by Gaurav Sood

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

It must have been evident from this chapter how useful property-based testing is to remove redundant tests and have maximum coverage. Both, table-driven and Generator-driven property checks have their own niche. They also have some downsides, as the test data is not well documented, especially when Generator-driven checks are used to test properties. They can be clubbed with more detailed examples or BDD instructions, which provide for the documentation aspect.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required