bensu / doo

doo is a library and lein plugin to run cljs.test on different js environments.
Eclipse Public License 1.0
324 stars 63 forks source link

Schemas not being validated #89

Closed scttnlsn closed 8 years ago

scttnlsn commented 8 years ago

I'm using prismatic/schema and validating the schemas using cljs-test fixtures:

(use-fixtures :once schema.test/validate-schemas)

The fixture is being used (i.e. schemas are validated) when I run the tests via a REPL (i.e. (run-tests 'my.namespace)) but not when running the tests with Doo.

bensu commented 8 years ago

Thanks for the report! The error might be related to this comment. Do you have an example repo? It might speed things up.

bensu commented 8 years ago

I was unable to reproduce the issue in this example repo. Can you provide a project that displays the issue? (You could use the example repo as a starting point).

scttnlsn commented 8 years ago

Thanks for looking into this! I'm also unable to reproduce the issue in your example repo. I'll try and narrow down the differences with my existing project (where this is not working) and report back here.

scttnlsn commented 8 years ago

My mistake. I was just passing the wrong namespaces to doo-tests (test namespace w/ invalid schemas was not even being run). Really sorry to waste your time here.

bensu commented 8 years ago

No problem!