As screencasts and blogs start to appear around the new clojure.spec feature in Clojure 1.9, it's becoming clear that clojure.spec is capable of doing a lot of the risk mitigation that's previously been performed by more "traditional" automated testing libraries such as clojure.test, midje, speclj and test.check.
Is the intent that the capabilities of clojure.test will be essentially replicated within clojure.spec? If you were starting to build a new app today to run under Clojure 1.9+, would you be setting aside the testing libraries I listed above and instead relying solely on clojure.spec to give you a similar level of confidence around your app's behaviour?
Is the intent that the capabilities of clojure.test will be essentially replicated within clojure.spec?
If you were starting to build a new app today to run under Clojure 1.9+, would you be setting aside the testing libraries I listed above and instead relying solely on clojure.spec to give you a similar level of confidence around your app's behaviour?
Why not all clojure.spec? (implied)
Slightly off-topic, but just putting out a friendly reminder that clojure.spec has much more utility than reducing the number of unit test cases in a project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With