The default output from clojure.test via lein test is pretty underwhelming: I guess maybe Clojure people are minimalists, but in every other langua ...
The default output from clojure.test via lein test is pretty underwhelming: I guess maybe Clojure people are minimalists, but in every other langua ...
The with-redefs function appears to be just what is needed to mock/stub out dependencies in clojure tests. I'm using clojure.test [1.10.1] Initially ...
I am trying to understand why my JUnit XML report results in an Incomplete status on AWS CodeBuild. The XML is produced by Kaocha, a Clojure test run ...
Happens when I want to test a function where the result is another function. I have something like this: And in the test ns: the result in the r ...
I have a function that saves some text to a file: It works fine (currently checking via just opening the file and looking at it myself). However, I ...
I am doing some Clojure pet project. I have some profiles like the following Now I am trying to setup Travis-CI for the project. I want to override ...
I am unable to remove duplication inside a clojure.test test. Suppose I have multiple implementations for the same abstraction: and I also have a ...
I am having a hard time creating a simple unit test in Clojure using with-redefs for mocking on Windows. The test code, the function I'm about to test ...
this: Run one Clojure test (not all tests in a namespace), with fixtures, from the REPL works fine with repl, how can I do this from command line us ...
I have seen many clojure projects that disable integration tests by default by adding this setting to project.clj: But, if a namespace contains onl ...
I have a function defined as: And then I have a test for it: However this test fails: What is needed to check that the assertion would throw ...
Is there a way to instrument the code and find out how much time each namespace takes or the only way forward is to use fixtures? What is a good appr ...
I am writing a clojure.test unit test for a rather large function in my application. This function makes several calls to db and external REST service ...
When I run a test in Spacemacs with Clojure mode via <SPC> m t t it does not show a failure, even when the test clearly fails. See: 1 is not ...
just like midje lets us wrap facts in a with-state-changes form to specify what should run specifically before, around or after them or the content, h ...
I’ve got a lein plugin that manually runs my clojure.test code. It declares a dynamic variable baseuri that I wish to access from within my tests. I’l ...
Lein test runs my functions in random order. I have two functions that modify the same data. I need the first one running first and the second one a ...