Skip to content

Exception when test does not pass #6

@mbuczko

Description

@mbuczko

I'm not sure how much this is an issue but when test does not pass, strange stacktrace is shown. I've changed boot-test test to fail:

Testing adzerk.boot-test.test

FAIL in (have-you-tried) (test.clj:5)
expected: 2
  actual: 1
    diff: - 2
          + 1

Ran 1 tests containing 1 assertions.
1 failures, 0 errors.
             clojure.lang.ExceptionInfo: clojure.lang.ExceptionInfo: Some tests failed or errored {:type :summary, :fail 1, :error 0, :pass 0, :test 1}
    data: {:file
           "/var/folders/fz/r0qnzmvd69lf__k3m920myym0000gn/T/boot.user5071628562246700946.clj", :line 29}
java.util.concurrent.ExecutionException: clojure.lang.ExceptionInfo: Some tests failed or errored {:type :summary, :fail 1, :error 0, :pass 0, :test 1}
    clojure.lang.ExceptionInfo: Some tests failed or errored
        data: {:type :summary, :fail 1, :error 0, :pass 0, :test 1}
             clojure.core/ex-info                  core.clj:      4591
  adzerk.boot-test/eval453/fn/fn/fn                boot_test.clj:   66
                 boot.core/run-tasks               core.clj:       680
                            ...
              boot.user/eval513/fn  boot.user5071628562246700946.clj:   29
clojure.core/binding-conveyor-fn/fn                         core.clj: 1914

To be honest I have totally no clue what does this stacktrace mean. Is it really so informative to keep it printed each time the test fails?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions