Closed mfikes closed 6 years ago
Many thanks for this and for your other PR fixing the format
problem! I will release a new version later today.
@stathissideris Support for self-hosted testing has landed in doo
. When it is released, this might provide a cleaner way, avoiding a separate namespace for use with tach
.
Thanks for the heads up @mfikes -- I've raised this as a reminder.
This patch would make it possible to run
spec-provider
's tests in self-hosted Lumo or Planck:or
If you run the tests, you will see that #22 needs to be fixed before the self-hosted tests will pass.
It bumps the
test.check
dep because0.9.0
doesn't support self-hosted ClojureScript.It unfortunately needs to add a duplicate of the existing
spec-provider.cljs-test-runner
namespace, which adds a maintenance burden in needing to be revised as new test namespaces are added. I can't think of a way to combine both into one because once you requiredoo.runner
it automatically sets things up for itself, producing a warning like the following:(ClojureScript unfortunately doesn't have a way to conditionally do a require.)
The copied test namespace also omits
pjstadig.humane-test-output
because it is evidently not compatible with self-hosted ClojureScript.