heresy
heresy copied to clipboard
testing forms?
Would you want a library for testing that you would have to require or import, or would you want it to be provided by the language?
Would you want to have something like check-expect
that would go in the top level of the module and expand to a (module+ test ...)
?, or would you want some sort of (test ...)
block that would have things like check-equal?
that could go anywhere within the test
block?
Or would you want testing to be a built in option to forms like def
that would expand to both the definition and a (module+ test ...)
if it was at the top-level?
And would you want to be able to have some sort of code-coverage tool?
To be honest, I'm not 100% sure. BASIC is obv. no help here, until VB I don't think any BASIC even came with a test suite, and I never even knew what they were.