forked from cs136/seashell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTESTING-NOTES
19 lines (17 loc) · 1.05 KB
/
TESTING-NOTES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- Common testing harness for the C code and the racket code.
- Test harness is going to be simple. Executable that just runs
the test cases (and groups them).
- Each testing module is an executable, one testing module per "component"
output from tests is #tests passed/#total, possibly description (standard error)
Environment Modifications:
Should probably have functions that setup a test Seashell development
environment for our test scripts. This will probably require modifying
the Seashell configuration system. (seashell-config.rkt.in)
Components to test:
WebSockets - make sure we can send/receive messages using the WebSockets code
in the repository. Should be able to launch a listener, a client,
and send/receive messages.
Project / File Management - Testing files and directories are correctly setup,
Contents are properly written out.
Cryptography code - Really should test integrity verification and encrypting/decrypting.
Compiler - Test can produce valid executables from source files.