-
Notifications
You must be signed in to change notification settings - Fork 1
/
Planned unit tests.txt
21 lines (16 loc) · 980 Bytes
/
Planned unit tests.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
These are aspects of Ambrosia operation that need to be sufficiently tested and verified as functional
before they can be classified as "feature" or, in the case of correct error reporting, correct.
1. Error reporting
1) Project file location
- file specified on commandline
- directory or nothing specified on commandline
-> no project file found
-> multiple project files found
2) Malformed project files need to report correct line number and the exact problem
- Testcases should be added as people report problems, it is undoable to test each possible case.
- Testcases to check if the error is reported at the correct time (execution wise). This means
error_status() checks where necessary.
2. Unicode support
1) Project file encoding is UTF8
2) Project directories may contain any unicode character
- important that file_exists and directory_exists works for unicode paths