From bfa8bc69fc505626614dfef750dc7390eec9e34d Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Tue, 29 Jan 2013 22:01:04 +0100 Subject: [PATCH] Document how to run cutter tests, all pass now --- HACKING | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/HACKING b/HACKING index ac378e5..62c79a3 100644 --- a/HACKING +++ b/HACKING @@ -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