exercism / kotlin-test-runner

GNU Affero General Public License v3.0
4 stars 11 forks source link

Prepare for launch #6

Open dector opened 4 years ago

dector commented 4 years ago

@exercism/kotlin-test-runner Here is basic implementation of auto-test runner. There are some things I'm gonna improve, but you are welcomed to check the code and share your thoughts.

I'll add high-level docs later, there are some kdocs and I tried to make code quite simple.

PR: #4 if you prefer to check changes as a Pull Request.

P.S. Let's use JUnit5 in new exercises! :)

TODO:

ccare commented 4 years ago

Use Path instead of File to run tests on in-memory FS (e.g. jimfs)

If you do implement this, you may want a way of switching it on/off. We're limiting the memory available to the test-runner invocation, so this may tip you over the edge of that limit. On the other hand, the feature might be a huge performance benefit. I'm happy to help you some experiments with it on/off when you get to that point.

dector commented 4 years ago

@ccare jimfs is for testing (running tests for this repo :D) purposes. I guess it's better to use tmpfs if we actually want to allocate some files in memory. :)

ccare commented 4 years ago

ah cool - gotcha. No that makes perfect sense, we can sort out that at an infrastructure level if needs be. Writing test-runners means the phrase 'running tests' is massively overloaded!