slagyr / speclj

pronounced "speckle": a TDD/BDD framework for Clojure.
MIT License
459 stars 58 forks source link

CLJS improper exception handling #122

Closed slagyr closed 9 years ago

slagyr commented 9 years ago

Specs that throw an ex-info are counted as failures but should be errors Specs that throw a js/Error are counted as failure too. Specs that a string abort the test run.

slagyr commented 9 years ago

CLJ specs exhibit the same behavior. SpecFailures are not distinguished from other exceptions.

slagyr commented 9 years ago

Doh! I looks like convention is to treat errors like failures except in compilation/parse errors.