Clojure-Contrib

Compatibility from clojure.contrib.test-is to clojure.test

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

It would be nice if there was a compatibility layer for older code compiled against 1.0's clojure.contrib.test-is to work with 1.1's clojure.test. In other words, have a clojure.contrib .test-is namespace that re-exports the corresponding code from the new clojure.test. Handling the change in the (are) macro's semantics will be a challenge, however.

Activity

Hide
Assembla Importer added a comment -
Show
Assembla Importer added a comment - Converted from http://www.assembla.com/spaces/clojure/tickets/26
Hide
Assembla Importer added a comment -

stuart.sierra said: (In revision:cdbfc8de5723bc352ee4fb54bd3eeb4502835362) test_is.clj: compatibility bridge to the new clojure.test; refs #26

Includes support for the old syntax of the "are" macro.

Branch: master

Show
Assembla Importer added a comment - stuart.sierra said: (In revision:cdbfc8de5723bc352ee4fb54bd3eeb4502835362) test_is.clj: compatibility bridge to the new clojure.test; refs #26 Includes support for the old syntax of the "are" macro. Branch: master

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: