========================================= Test Plan for SMTP Client "smtpclient.pl" ========================================= # XXX This is a sample template for a README.txt test plan. # XXX This file documents all your tests. # XXX Group similar tests into logical categories. (You don't have to # XXX use or limit yourself to the categories I've given in this sample.) # XXX Label each test case for cross-reference with the autotest_smtp.sh # XXX and test_out.txt files. The numbers must match in all three files. # XXX Keep lines less than 80 columns. Make the file readable. # XXX Delete or modify all these comment lines marked XXX before you submit. # XXX your assignment label goes here Category A: Successful Messages ------------------------------- Test A-1: A simple message (no continuation lines) Purpose, parameters, expected results: see autotest_smtp.sh Results: success (exit status EX_OK): see test_out.txt Test A-2: ...XXX... # XXX [... more tests go here ...] Category B: Minor Errors ------------------------ Test B-1: A fixed small message length Purpose, parameters, expected results: see autotest_smtp.sh Results: success (exit status EX_OK): see test_out.txt - The message was truncated correctly. Test B-2: ...XXX... # XXX [... more tests go here ...] Category C: Permanent Errors ---------------------------- Test C-1: A refused greeting - exit status EX_UNAVAILABLE (69) Purpose, parameters, expected results: see autotest_smtp.sh Results: success (exit status EX_UNAVAILABLE): see test_out.txt # XXX [... more tests go here ...] Category D: Temporary Errors ---------------------------- Test D-1: A temporary refused EHLO - exit status EX_TEMPFAIL (75) Purpose, parameters, expected results: see autotest_smtp.sh Results: success (exit status EX_TEMPFAIL): see test_out.txt # XXX [... more tests go here ...] Category E: Command line parsing and validation ----------------------------------------------- # XXX [... more tests go here ...] Category F: Connection to remote (non-localhost) SMTP server ------------------------------------------------------------ Category ???: ... XXX more categories ? ... ------------------------------------------------------------ # XXX [... more tests go here ...]