test/README.txt
author Krista 'DarthMama' Bennett <krista@pep.foundation>
Mon, 28 Jan 2019 13:44:20 +0100
branchsync
changeset 3245 4ef46e3bb562
parent 2676 074bceee15b7
permissions -rw-r--r--
Fix for long paths on tests - run script once if you're having problems
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