Skip to content

:autotest does not rerun tests in external dependencies #62

@ilmoraunio

Description

@ilmoraunio

Description

lein midje :autotest will not rerun tests in external dependencies after modifying .clj files under src/ folder.

Steps to reproduce bug (example project)

  1. Clone training-day repository git clone https://github.com/iloveponies/training-day.git
  2. Go to project directory and run lein midje :autotest. 6 checks should fail.
  3. Edit square fn in src/training_day.clj to return (* x x) instead of ":(".
  4. Midje should return "No facts were checked. Is that what you wanted?"

Actual expectation

lein midje :autotest should really be returning "3 checks failed. (But 3 succeeded.)" in step 4, but it doesn't seem to reload the external dependencies where the tests are located.

The test file training_day_test.clj contains only a reference to a namespace containing all of the tests:

(ns training-day-test
  (:use iloveponies.tests.training-day))

This is the only test file in this project.

Related to #48. Also related issues from iloveponies' repositories:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions