Property-Based Testing is a powerful way to test your software. This course starts where the Intermediate course left off. In this course, we learn the most powerful applications of Property-Based Testing, including parallel and distributed systems, searching for known bugs, and testing web frontends.
Screencasts, Whiteboards, and Slides produced to help you learn
Property-Based Testing is a powerful way to test your software. In this course, we learn how to use test.check, the Clojure Property-Based Testing library, to automatically generate tests.
Property-Based Testing is a powerful way to test your software. This course starts where the Beginning course left off. We look at more complex generators, interesting strategies for properties, and integration with Clojure Spec.
Are you wondering how to test your code? Would you like to use the most popular testing framework for Clojure? Do you want to know the correct conventions so that your tests work well in IDEs and continuous integration services?
This course teaches all of that in a fun, interactive style.
Curated selections of courses on a specific topic
Clojure can be an excellent language to learn programming. The following courses should set you on a good path for getting up to speed in Clojure. Be sure to click those checkmarks to track your progress. Start with the best introduction to Clojure out there. It gently guides you through the language with fun exercises. […]
If you’re coming to Clojure from an Object-Oriented Programming background, this page is for you. Be sure to click those checkmarks to track your progress. Start with the best introduction to Clojure out there. It gently guides you through the language with fun exercises. You’ll learn the syntax and the thought processes behind Clojure programming. […]
If you’re looking to watch absolutely all of the courses on this site, I’ve put together a suggested order. Start at the beginning and just watch everything straight through. Be sure to click those checkmarks to track your progress.
Parts of courses on specific topics
Learn the basics of creating the required namespaces and their dependencies, then setting up a test.
How do you assert that appropriate errors are thrown when they should?
We briefly discuss why we should learn clojure.test and become acquainted with our characters, Josie and Ignacio, who use a few namespaces to keep track of their fitness routines. We need to help them develop tests.
Learn the multiple assertions pattern to test many things about the same code.
We take a break to set up a Test-Driven Development workflow that we can use from the command line instead of relying on a editor integration.
This lesson teaches my TDD workflow for CIDER. It provides fast feedback for running tests very often. The video is 35 minutes long, but you can get a sense of the workflow in the first ten.
PDFs, code, and other downloads to help you learn
Want a handy reference for writing your tests? This cheatsheet contains everything you need to write tests, make assertions, and set up fixtures. It even shows the commands for runnings tests at the REPL.
These are all of the commands Eric uses to do TDD in Cider.