5 ms·
A better solution is to have a testing framework that doesn't rely on functions to name tests, especially in a language that has anonymous functions.
by 90s_dev 1y ago
A better solution is to have a testing framework that doesn't rely on functions to name tests, especially in a language that has anonymous functions.
- rcruzeiro 1y agoWe have Quick for this — and while this framework is still a reasonable choice of a testing framework, I personally feel like the new Swift Testing framework is much nicer to write my test cases with. https://github.com/Quick/Quick https://github.com/Quick/Quick