10. Testing
Overview
In this chapter, we look at testing in Clojure. We start by learning about different types of tests. We then explore the most common unit testing libraries in order to test our Clojure functions. We see how to do test-driven development. We dive into property-based testing that helps us to generate a vast amount of testing data. We then learn how to integrate testing with Clojure and ClojureScript projects.
By the end of this chapter, you will be able to test programs in Clojure and ClojureScript using their respective standard test libraries.