https://git.schokokeks.org/derivepassphrase.git/tree/7c5ca4b3edb7babde9c8dd1a5e6eebd5cbe52638Recent commits to derivepassphrase.git (7c5ca4b3edb7babde9c8dd1a5e6eebd5cbe52638)2025-01-26T16:21:45+01:00tag:gitlist.org,2012:commit/7c5ca4b3edb7babde9c8dd1a5e6eebd5cbe52638Add more hypothesis tests for the `ssh_agent` module2025-01-26T16:21:45+01:00Marco Riccisoftware@the13thletter.info
<pre>Add more hypothesis tests for SSH string encoding and decoding, based on
David R. MacIver's articles. Also document the explicit examples in the
proper way.
</pre>
tag:gitlist.org,2012:commit/d2fc4003bd5b81a3a6063007c5e42a5aa1bfc884Fix improper `re` escape pattern in `ssh_agent` tests2025-01-26T16:17:09+01:00Marco Riccisoftware@the13thletter.info
<pre></pre>
tag:gitlist.org,2012:commit/6367e1a267c8eb3ab1696a02be42ff929d5ea7ceAdd hypothesis tests for the `exporter` module2025-01-25T23:29:34+01:00Marco Riccisoftware@the13thletter.info
<pre>Add hypothesis tests for vault key discovery and for registring vault
configuration data export handlers, each via their own parameter object
and corresponding hypothesis strategy, and convert all existing explicit
parametrized tests to hypothesis examples.
</pre>
tag:gitlist.org,2012:commit/f797b3c6e22947c9df1f79bf156934338b876d10Add hypothesis tests for the `sequin` module2025-01-25T23:28:10+01:00Marco Riccisoftware@the13thletter.info
<pre>Add hypothesis tests for big endian number parsing, the sequin
constructor, the generation and the bit shifting steps, each via their
own parameter object and corresponding hypothesis strategy, and convert
all existing explicit parametrized tests to hypothesis examples. (The
strategy may be trivial, however.) Besides the existing helper function
`bitseq`, we add a new `bits` helper function, and add hypothesis tests
for both of these helper functions as well.
</pre>
tag:gitlist.org,2012:commit/06c392fa7488cc1e250c165b3fe9a279357af758Remove use of the monkeypatch test fixture in favor of the context manager2025-01-25T22:15:53+01:00Marco Riccisoftware@the13thletter.info
<pre>The `pytest.MonkeyPatch.context` context manager is just as easy to use,
and does not interfere with hypothesis.
</pre>
tag:gitlist.org,2012:commit/c52f39217b29541f5196ba8d2dfddc82b2ac65e8Prefilter some hypothesis candidate lists before sampling2025-01-25T22:10:20+01:00Marco Riccisoftware@the13thletter.info
<pre>Filtering the candidate lists *after* sampling requires redraws, all of
which are completely avoidable.
</pre>
tag:gitlist.org,2012:commit/0ab7722de56c48e87bab02555e53ef65754968fcAdd a "flaky" hypothesis profile to find flaky tests2025-01-25T20:59:05+01:00Marco Riccisoftware@the13thletter.info
<pre>Also add coverage-compatible settings to one hypothesis test that was
still missing them, which was identified as flaky under this new
profile.
</pre>
tag:gitlist.org,2012:commit/6cf32bb8285e85c6fbe77108554b625f74d5fbb3Fix test output on PyPy 3.9 due to differing error message texts2025-01-25T20:55:43+01:00Marco Riccisoftware@the13thletter.info
<pre></pre>
tag:gitlist.org,2012:commit/fbc810ad671ea26deb675bda169347c22b06b1e8Move repetitive hypothesis strategy definition to separate functions2025-01-25T00:16:59+01:00Marco Riccisoftware@the13thletter.info
<pre>Apart from higher resistance to typos, this also communicates the intent
of the strategy more clearly.
</pre>
tag:gitlist.org,2012:commit/b2213a26f18b3f7700cbb710847345c87330daeaExplicitly test JS truthiness of NaN2025-01-25T00:13:39+01:00Marco Riccisoftware@the13thletter.info
<pre></pre>