Post #2951169
2023-08-09 10:44 UTC
@cutterkom@mastodon.social @djnavarro@fosstodon.org The difference is mainly:
If the object is just an intermediate object then it tends to be fail fast. If the object is a kind of output in itself - I.e. it may get into the hands of a client, or it represents some kind of important checkpoint - in that future work may branch off from it - then I tend to run something like a 'check suite' that performs a bunch of validation steps and records the results of all.
Replies (1)
-
@cutterkom@mastodon.social 2023-08-10 06:22
@milesmcbain@fosstodon.org @djnavarro@fosstodon.org thanks for your thoughts and making my implicit distinction more explicit. Also, what I really like is coming up with a simple, as untechnical explanation as possible using the desc parameter in testthat.