Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure details not reported for assertions inside fixtures #2929

Closed
samharad opened this issue Jul 18, 2024 · 2 comments
Closed

Failure details not reported for assertions inside fixtures #2929

samharad opened this issue Jul 18, 2024 · 2 comments
Labels
bug Marks issues describing bugs released Marks issues which have had the fixes released in a stable build released-eap Marks issues which have had the fixes released in an EAP build
Milestone

Comments

@samharad
Copy link

  • failed is assertions made inside fixtures don't surface any details
  • I think it's a legitimate use case to make assertions there, e.g. about environment health
(ns cursive-hook-test
  (:require [clojure.test :refer :all]))

(use-fixtures :each
              (fn [f]
                (f)
                (is false)))

(deftest foo-test
  (is (= 1 1)))
Screen Shot 2024-07-18 at 1 47 07 PM
@cursive-ide cursive-ide added this to the 1.13.4-eap8 milestone Jul 23, 2024
@cursive-ide cursive-ide added the bug Marks issues describing bugs label Jul 23, 2024
@cursive-ide
Copy link
Owner

Fix released in 1.13.4-eap8 on 2024-07-23.

@cursive-ide cursive-ide added the released-eap Marks issues which have had the fixes released in an EAP build label Jul 23, 2024
@cursive-ide
Copy link
Owner

Fix released in 1.13.4 on 2024-08-06.

@cursive-ide cursive-ide added the released Marks issues which have had the fixes released in a stable build label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Marks issues describing bugs released Marks issues which have had the fixes released in a stable build released-eap Marks issues which have had the fixes released in an EAP build
Projects
None yet
Development

No branches or pull requests

2 participants