Closed JanStevens closed 7 years ago
Please split this in 2 PRs one for #16 and another for the installer tests.
Nevermind about https://github.com/kittoframework/kitto/pull/71#issuecomment-268378965 I commited (attributed to you) as 7dc8af7a0
Just remove https://github.com/kittoframework/kitto/pull/71/commits/8cb1d41671d2dbf63fe2f38e70f471495b137802 from this PR.
Cherry-picked this as 46d3f1744e1e
Note: Code for the test is adapted from https://github.com/phoenixframework/phoenix/blob/v1.2.1/test/mix/tasks/phoenix.new_test.exs
Thanks @JanStevens :+1:
This adds a basic test fixing #35 and also attempts to fix #16 using delta's
I mimicked the way phoenix is testing its installer task. The only problem is that we don't generate a test directory. We don't provide any way for testing jobs (currently).
I didn't test that every file got written, rather I asserted that we could load the sample dashboard