clojure.test/test-vars runs :each fixtures for vars without :test metadata

Description

The patch for introduced a bug with :each fixtures and non-test vars: the fixtures are invoked for every var, not just ones with :test metadata.

Patch: tcrawley-fixtures-with-non-test-vars-2014-02-14.diff

Screened by: Alex Miller

Environment

None

Attachments

1

Activity

Alex Miller 
February 24, 2014 at 9:09 PM

yeah, I noticed that too. I was going to mention it to Stu the next time we talked.

Andy Fingerhut 
February 24, 2014 at 8:37 PM

The patch for this ticket has been committed: https://github.com/clojure/clojure/commit/919a7100ddf327d73bc2d50d9ee1411d4a0e8921

but the ticket has not yet been closed.

Completed

Details

Assignee

Reporter

Approval

Patch

Priority

Affects versions

Fix versions

Created February 15, 2014 at 1:43 AM
Updated February 25, 2014 at 4:55 PM
Resolved February 25, 2014 at 4:55 PM