nucleartide / ember-elm

Write Elm in your Ember app
https://medium.com/@nucleartide/introducing-ember-elm-d47f2af73aff
Other
55 stars 7 forks source link

Run elm tests as part of Ember test suite #24

Open ondrejsevcik opened 6 years ago

ondrejsevcik commented 6 years ago

Hi, it should be possible to create something similar like this package https://github.com/elm-community/html-test-runner for embe tests. That way, we could run tests in browser as a part of Ember test suite.

If we're able to generate qunit test for every elm test, it should be relatively easy to include those tests into tests that are run in browser.

MattCheely commented 5 years ago

I looks like html-test-runner has yet to be updated for 0.19, and that may or may not happen, as there doesn't seem to be a lot of folks asking for it right now (elm-community/html-test-runner#9). That said, I agree that when embedding in Ember it would be best if the Elm tests always ran as part of the entire test suite.

I probably won't have time to tackle this for a while, as I want to work on #22 first, but PR's and any research on how to make it work are certainly welcome in the meantime.