3 ms·
Maybe you could ignore that test by default, and then write a shell script to run your tests in two stages. First you run only the should-fail test(s) and asser
by maxbond 2y ago
Maybe you could ignore that test by default, and then write a shell script to run your tests in two stages. First you run only the should-fail test(s) and assert that they fail. Then you can run your actual tests.
- SoftTalker 2y agoSounds like the old George Carlin one-liner. Or maybe it's a two-liner: The following statement is true. The preceeding statement is false.
- robotresearcher 2y agoEven older than George Carlin. The Liar Paradox is documented from at least 400BC. https://en.m.wikipedia.org/wiki/Liar_paradox https://en.m.wikipedia.org/wiki/Liar_paradox
- maxbond 2y agoI have to imagine it's about as old as propositional logic (so, as old as the hills). I most closely associate it with Gödel and his work on incompleteness.