Comment

Comment by aftbit

How does this deal with non-determinism from the outside world? For example, let's say one of my tests is flaky because it asks an external service to give it some data, and that external service is flaky in what it returns?

Or what if my bug is caused by bitflips in failing memory, that lead to impossible control flow paths being hit? Think something like:

    if x != 0:
        return 1/x
Failing with an error because x is 0.

Not hypothetical scenarios, both real bugs I've had to troubleshoot in my career.

parent aftbit 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton