summaryrefslogtreecommitdiff
path: root/proptest-regressions/twelve.txt
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2020-06-18 02:19:43 -0400
committerOwen Jacobson <owen@grimoire.ca>2020-06-26 20:48:49 -0400
commit2f4c89cd3133517f58bc9e42f29220a1bbb66bcc (patch)
tree2933d4468fddda7c03339bf454c8e3c7e8cab898 /proptest-regressions/twelve.txt
parentce432438c8be147135f6c56bdd3229834bff2aa6 (diff)
Switch from quickcheck to proptest.
The argument is as given in the proptest docs at <https://altsysrq.github.io/proptest-book/proptest/vs-quickcheck.html>. I've found that the resulting tests are somewhat clearer, and that the tools for working with test case generation are more useful. The other killer feature is recalling test failure examples from run to run. This change includes at least one bug found while testing the port! Finally, if <https://github.com/AltSysrq/proptest/issues/179> is to be believed, proptest is considerably closer to supporting async tests.
Diffstat (limited to 'proptest-regressions/twelve.txt')
-rw-r--r--proptest-regressions/twelve.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/proptest-regressions/twelve.txt b/proptest-regressions/twelve.txt
new file mode 100644
index 0000000..320b1b0
--- /dev/null
+++ b/proptest-regressions/twelve.txt
@@ -0,0 +1,9 @@
+# Seeds for failure cases proptest has generated in the past. It is
+# automatically read and these particular cases re-run before any
+# novel cases are generated.
+#
+# It is recommended to check this file in to source control so that
+# everyone who runs the test benefits from these saved cases.
+cc ee722004cd7dc5c8cfa8af5d83428a3c76f247525f738520e197ed67a0679b17 # shrinks to env_port = "", default_port = 0
+cc 8a8acaaebfe4e37af7655f14c3d9a394b2b3cc700936e36348158018ae8795ea # shrinks to env_port = "𐠁{�\"Tz`ﰃQ𑴉:*꠶䌁.", default_port = 42943
+cc f4d12f4f852ebcc99f6aa1a5208a392414d31dd98f025a7a905e1ef800d963af # shrinks to default_port = 65