Templates are project scaffolding that you can use to get started quickly. You can also create your own templates.
Parts of courses on specific topics
Text Fixtures help us set up and tear down the test environment in a standard way that either happen before and after each test or before and after all tests in a namespace.
We want to quickly test our code to get valuable and fast feedback on how we are progressing toward our goals. In this lesson, I go over three ways of running tests: automated tests at a keystroke, testing at the Repl using the Repl history, and tests saved in comment blocks.
Although clojure.test can be used in any namespace, some conventions are widely used by IDEs and other frameworks. We learn those conventions to help us work well with them.
Distributed systems are hard. Testing distributed systems is hard. But at least Property-based Testing gives us a way to do it.
In this lesson, we test a distributed system. We learn:
* how to use PBT to guide our model development * how to gain introspection into failing tests * how to generate reliable failures—test cases that fail every time so you can use them to debug
Parallel systems sharing state introduce the possibility of race conditions. Property-based testing can suss out race conditions in our code. In this lesson, we see the techniques used to do that.
Potpouri Clojure Gazette Issue 1.12 – May 31, 2012 editorial A veritable hodge-podge of programming language tidbits Well, I was feeling a little playful. I had some fun with this issue. It is a little of this, a little of that. I hope you like it. Eric Normand PS If you like the Clojure Gazette, […]
Myths and legends of the ages Clojure Gazette Issue 2.11 – May 24, 2012 editorial Programming legends I thought it would be cool to make an issue that has talks from some of the legends who have defined our field. It is so lucky that these guys are still recording video for posterity. Guy Steele […]
Typed Clojure Clojure Gazette Issue 1.10 – May 17, 2012 editorial Typed Clojure I am happy to bring you an informative and mind-expanding interview with Ambrose Bonnaire-Sergeant. Ambrose was accepted to work on a Google Summer of Code project to bring a static type analyzer to Clojure. You can read the proposal or follow the […]
Clojure on Android Clojure Gazette Issue 1.9 – May 10, 2012 editorial Clojure on Android I am very pleased with this week’s issue! Daniel Solano Gómez and Alexander Yakushev graciously agreed to do interviews. Daniel Solano Gómez worked magic and brought dynamic compilation to Android. You can test it for yourself with the Clojure REPL app in the […]
Game Dev in Clojure Clojure Gazette Issue 1.8 – May 03, 2012 editorial Clojure games I have been thinking a lot recently about game programming for a special project of mine. I thought I would use that focus to construct the next issue of the Clojure Gazette. My intention with this issue is to give […]
Clojure in the browser Clojure Gazette Issue 1.7 – April 26, 2012 editorial Clojure client + server It is getting easier and easier to write web applications. The web is still growing and the capabilities of browsers keeps expanding. People are demanding more and more from their experience on the web. Clojure is an excellent […]