From 7437de1e379badaa38c6541c0b72c88f356a6b78 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 9 Oct 2017 16:03:37 -0600 Subject: [PATCH] note tests that need to be tested --- TESTS.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/TESTS.md b/TESTS.md index 04829e0..bf608c5 100644 --- a/TESTS.md +++ b/TESTS.md @@ -13,3 +13,11 @@ Casing should match on other sections if a direct match? (not required, but effi - www.EXample.COm + example.com = EXample.COm - EXample.COm + www.example.com = www.EXample.COm - (this should be taken care of by compression pointer logic, once implemented) + +Send malformed packets (both as queries and as answers): + - bad question count, answer count, etc + - bad rdata (too long, too short) + - proper packets, truncated + - randomly twiddled bits + - forward compression pointers + - compression pointers to wrong bits (throw error on non-ascii / unsafe chars)