TDD? TDB! Test-Driven-Brainstorming
This commit is contained in:
parent
a90732403e
commit
ac5c09f278
5 changed files with 70 additions and 0 deletions
18
tests/10timefunctions.tests
Normal file
18
tests/10timefunctions.tests
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
|
||||
TESTING "Time functions"
|
||||
|
||||
PLANNED "get time"
|
||||
PLANNED "add time, normalized"
|
||||
PLANNED "substract time, normalized"
|
||||
|
||||
|
||||
# the next ones for different common framerates, check corner cases
|
||||
PLANNED "time to frame"
|
||||
PLANNED "frame to time"
|
||||
|
||||
|
||||
# how long are N frames on average (beware of precision!)
|
||||
PLANNED "frame duration"
|
||||
|
||||
# how much frames fall in a certain timerange
|
||||
PLANNED "frames in range"
|
||||
5
tests/20threads.tests
Normal file
5
tests/20threads.tests
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
TESTING "Threads"
|
||||
|
||||
PLANNED "join"
|
||||
PLANNED "detached"
|
||||
PLANNED "cancel"
|
||||
28
tests/30backend-file.tests
Normal file
28
tests/30backend-file.tests
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
|
||||
TESTING "File backend"
|
||||
|
||||
|
||||
PLANNED "File handle management"
|
||||
|
||||
|
||||
PLANNED "open nonexisting file for reading"
|
||||
|
||||
|
||||
PLANNED "create file"
|
||||
|
||||
|
||||
PLANNED "open existing file for reading"
|
||||
|
||||
|
||||
PLANNED "open existing file for writing"
|
||||
|
||||
|
||||
PLANNED "Test, access nonexistent file for reading"
|
||||
|
||||
|
||||
PLANNED "write frames"
|
||||
|
||||
|
||||
PLANNED "read frames"
|
||||
|
||||
|
||||
13
tests/30backend-scheduler.tests
Normal file
13
tests/30backend-scheduler.tests
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
TESTING "Scheduler"
|
||||
|
||||
PLANNED "high pri ticks"
|
||||
PLANNED "high pri, time ran out"
|
||||
PLANNED "high pri, cancel task"
|
||||
|
||||
PLANNED "low pri ticks"
|
||||
PLANNED "low pri, time ran out"
|
||||
PLANNED "low pri, cancel task"
|
||||
|
||||
PLANNED "change priority low->high"
|
||||
|
||||
|
||||
6
tests/30backend-threadpool.tests
Normal file
6
tests/30backend-threadpool.tests
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
|
||||
TESTING "Thread Pools"
|
||||
|
||||
PLANNED "create"
|
||||
PLANNED "yield"
|
||||
PLANNED "cancel"
|
||||
Loading…
Reference in a new issue