4 ms·
Gleeunit also works on the JS target so you can run tests on Node.js (if you're targeting JS).
by Ndymium 3y ago
Gleeunit also works on the JS target so you can run tests on Node.js (if you're targeting JS).
- samtechie 3y agoGleeunit seems a bit sparse. I just see a few functions. For example how do I do mocks? Is this the the whole testing story assuming I am not targeting JS?
- lpil 3y agoMocks are deliberately not supported by Gleeunit as I (the maintainer) believe they are strictly worse than using dependency injection, and often result in dramatically lower quality code.
- samtechie 3y agoFair enough. In your opinion, is Gleeunit sufficient as a testing framework for Gleam or is it a work in progress which is also understandable as the language is still relatively young?