TAP Support in clojure.test.tap Needs Updating

Description

The testing-vars-str function requires one argument, but in the clojure.test.tap namespace it is currently called with zero arguments. This results in a clojure.lang.ArityException when attempting to generate TAP output with with-tap-out.

Here are links to the occurrences of this in the latest commit to clojure.test.tap:

1. https://github.com/clojure/clojure/blob/36642c984cbf52456e45a8af0a96e4b7e7417041/src/clj/clojure/test/tap.clj#L81
2. https://github.com/clojure/clojure/blob/36642c984cbf52456e45a8af0a96e4b7e7417041/src/clj/clojure/test/tap.clj#L92

After fixing this particular issue in my local copy of 1.4.0-SNAPSHOT, there appear to be other problems with this code as well (e.g., not producing correct output for failing tests). Since this code appears to be unmaintained and untested, perhaps it should live outside the main Clojure repo?

Environment

None

Attachments

1
  • 16 Apr 2012, 12:45 AM

Activity

Show:

John Szakmeister April 16, 2012 at 12:45 AM

This fixes all the known issues with the tap test runner.

Completed

Details

Assignee

Reporter

Approval

Ok

Patch

Code

Priority

Affects versions

Created March 16, 2012 at 4:39 AM
Updated May 19, 2012 at 2:36 AM
Resolved May 19, 2012 at 2:36 AM