Document how to run cutter tests, all pass now

This commit is contained in:
Philippe Teuwen 2013-01-29 22:01:04 +01:00
parent 57f93fbeda
commit bfa8bc69fc

14
HACKING
View file

@ -11,10 +11,16 @@ you started:
the regression tests suite (`make check') and ensure that your code does
not break other features.
http://cutter.sourceforge.net/
To cover all tests you'll need some blank cards with default settings:
* DESFire EV1 4k or larger (2k is too small)
* MIFARE Ultralight C
* MIFARE Classic
To cover all tests you'll need several blank cards:
* MIFARE Ultralight
* MIFARE Ultralight C with default key (BREAKMEIFYOUCAN!)
* MIFARE Classic 4k with default keys (FFFFFFFFFF)
* DESFire EV1 4k with default PICC key (0000000000000000)
After "make check", you can run sub-sets of tests directly with cutter:
$ cutter -n /ultralight/ test
$ cutter -n /classic/ test
$ cutter -n /desfire/ test
2. Follow style conventions
The source code of the library trend to follow some conventions so that it