Join Nostr
2025-05-08 17:41:17 UTC
in reply to

ArneBab on Nostr: Maybe that’s because what a test is isn’t that strictly defined. Is a unit test ...

Maybe that’s because what a test is isn’t that strictly defined.

Is a unit test the same as an integration test? What’s an end-to-end test that spins up several docker containers before it runs its code?

Is a doctest that’s part of the procedure definition the same as a unit test?
Example: https://hg.sr.ht/~arnebab/guile-doctests/browse/ice-9/doctests.scm?rev=tip

Is it different if it’s just defined in the docstring as in Python?
https://docs.python.org/3/library/doctest.html