test/README.txt
author us@chu.huenfield.org
Tue, 25 Dec 2018 14:46:45 +0100
branchsync
changeset 3209 c15b4ca2b52a
parent 2676 074bceee15b7
permissions -rw-r--r--
Replace use of Sequoia's backend with a custom key store.

- Sequoia's key store doesn't meet pep's needs (in particular, the
ability to search on a key's user id) and trying to shoehorn pep's
needs onto Sequoia's key store abstractions is just introducing
overhead with no appreciable gain in functionality.

- This patch changes the Sequoia backend to use a local sqlite
database to store the public keys.
krista@2676
     1
DOCUMENTATION AND CLEANUP FORTHCOMING.
krista@2676
     2
krista@2676
     3
Engine tests now require libcpptest - if you have compilation failures using your distribution's lib (I'm looking at you, Ubuntu), please download the source at http://cpptest.sourceforge.net/, compile, and run.
krista@2676
     4
krista@2676
     5
New test creation requires python 3.x.
krista@2676
     6
krista@2664
     7
Notes:
krista@2664
     8
krista@2664
     9
- TEST_ASSERT is a macro and does not always behave 100% the way you'd expect. Note the following:
krista@2664
    10
	* 1. If used in if/else blocks, make sure the blocks are guarded, or weird things happen.
krista@2664
    11
        * 2. If performing comparisons, please parenthesise liberally - bitwise operations being compared to 0 should always be parenthesised before comparison