3 ms·
You explicitly said logging is a form of "unit test" which has a very specific meaning and a log is not it. Observing a log can obviously be part of an assertio
by ludston 3y ago
You explicitly said logging is a form of "unit test" which has a very specific meaning and a log is not it. Observing a log can obviously be part of an assertion in a test be it manual or whatever, but an assertion is not a unit test.
- Supermancho 3y ago> A unit test is a discrete, runnable program that asserts some state about your program to be true I would say "Observe the state of an execution stack". Tomato tomato. > which has a very specific meaning Unit testing is a methodology, not a specific thing. How you observe it, be it through a pass fail indicator or a "This looks right", is immaterial. Splitting hairs on the output methodology does not change the utility.