Fork me on GitHub
#kaocha
<
2021-04-28
>
richiardiandrea23:04:33

Hi there, we bumped our kaocha versions and I started receiving this error message multiple times on failure

1 tests, 1 assertions, 1 errors, 0 failures.

ERROR: Error in reporter: class java.lang.NullPointerException when processing 
ERROR: Error in reporter: class java.lang.NullPointerException when processing 
ERROR: Error in reporter: class java.lang.NullPointerException when processing 
ERROR: Error in reporter: class java.lang.NullPointerException when processing 
ERROR: Error in reporter: class java.lang.NullPointerException when processing 
ERROR: Error in reporter: class java.lang.NullPointerException when processing 
ERROR: Error in reporter: class java.lang.NullPointerException when processing 
ERROR: Error in reporter: class java.lang.NullPointerException when processing 
ERROR: Error in reporter: class java.lang.NullPointerException when processing
Has anybody else seen this?

richiardiandrea23:04:03

it seems like the only reporter I have got is

:reporter [kaocha.report/documentation]

plexus05:04:03

Could you run with --reporter kaocha.report/debug?

richiardiandrea15:04:46

will do and write back

richiardiandrea15:04:11

this is the tests.edn

#kaocha/v1
{:tests [{:id :unit
          :type :kaocha.type/clojure.test
          :ns-patterns ["-test$"]
          :skip-meta [:database :stress]
          :test-paths ["test"]
          :source-paths ["src"]}
         {:id :database
          :type :kaocha.type/clojure.test
          :ns-patterns ["-test$"]
          :focus-meta [:database]
          :test-paths ["test"]
          :source-paths ["src"]}
         {:id :integration
          :type :kaocha.type/clojure.test
          :ns-patterns ["-test$"]
          :focus-meta [:database :stress]
          :test-paths ["test" "itest"]
          :source-paths ["src"]}]
 :plugins [:kaocha.plugin/junit-xml
           :kaocha.plugin/cloverage
           :kaocha.plugin/profiling
           :kaocha.plugin/hooks]
 :reporter [kaocha.report/documentation]
 :kaocha.testable/skip-add-classpath? false
 :kaocha.hooks/pre-test [appserver.test-utils/spec-instrumentation-hook]
 :kaocha.plugin.junit-xml/target-file "target/test/junit.xml"
 :cloverage/opts {:ns-exclude-regex ["tools.*"]
                  :summary? false
                  :high-watermark 70
                  :fail-threshold 30
                  :low-watermark 40}}

richiardiandrea23:04:11

it also seems like expound is not hooked up anymore...