sio / LibPQ

Detach your M code from workbooks to reuse it! Import modules from local or web storage (unlimited number of sources)
Apache License 2.0
76 stars 21 forks source link

Add support for subtests #11

Closed sio closed 6 years ago

sio commented 6 years ago

Single test (one function): testName = () => Assert Subtests (list of functions): testName = {()=>Assert, ()=>Assert, ()=>Assert, ...}

Changes can be stitched into the line below. We can invoke single test function or run all test functions in a list of subtests if needed.

https://github.com/sio/LibPQ/blob/4d4e1e07026822b0cdd8a5807bf570e888dff2c9/Modules/UnitTest.Run.pq#L44