 
      
    | You are here | ha.nnes.dev | ||
| | | | | exploringjs.com | |
| | | | | ||
| | | | | unicode-explorer.com | |
| | | | | Copy and paste U+3164 HANGUL FILLER to send an invisible, blank, empty WhatsApp message. | |
| | | | | hypothesis.works | |
| | | | | The Encode/Decode invariant One of the simplest types of invariant to find once you move past just fuzzing your code is asserting that two different operations should produce the same result, and one of the simplest instances of that is looking for encode/decode pairs. That is, you have some function that takes a value and encodes it as another value, and another that is supposed to reverse the process. This is ripe for testing with Hypothesis because it has a natural completely defined specification: Encoding and then decoding should be exactly the same as doing nothing. Lets look at a concrete example. Test faster, fix more | |
| | | | | www.openedr.com | |
| | | Endpoint Detection and Response (EDR), identify and respond to cyber threats instantly. Protect your endpoints using the EDR software tool from OpenEDRĀ® | ||