tools.nrepl

Two deftests with same name cause reduced test coverage

Details

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

Description

There are two deftest's with the name switch-ns in the same namespace. When this happens, the first deftest's tests are ignored, and never run. It is best if all tests are given unique names so this does not happen.

Found using a pre-release version of the Eastwood Clojure lint tool.

Activity

Andy Fingerhut made changes -
Field Original Value New Value
Attachment nrepl-47-v1.diff [ 12557 ]
Chas Emerick made changes -
Fix Version/s NEXT [ 10160 ]
Chas Emerick made changes -
Status Open [ 1 ] In Progress [ 3 ]
Chas Emerick made changes -
Resolution Completed [ 1 ]
Status In Progress [ 3 ] Closed [ 6 ]

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: