~canonical-platform-qa/qlbr/trunk

« back to all changes in this revision

Viewing changes to TESTPLAN

Merged documentation and static analysis changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
These are unit tests that could be written for the current design
2
2
 
3
 
load-searches:
 
3
load_searches:
4
4
    verify appropriate django calls are made from a fake dataset
5
5
 
6
 
get-task-data:
7
 
    get_person
8
 
        verify None
9
 
        when something exists:
10
 
            verify we don't call launchpad
11
 
            verify we don't update django objects
12
 
        when something doesn't exist:
13
 
            verify we call launchpad
14
 
            verify we call the django object with that data
 
6
get_task_data:
15
7
    get_bug
16
8
        verify None
17
9
        when something exists and the date is right:
58
50
        verify we get each task returned by a search
59
51
        verify we update the search timestamp
60
52
 
61
 
generate-static-report: (needs to be more finalized)
62
 
    provide a small fake dataset
63
 
        verify report renders with data
64
 
        verify duplicate handling works
65
 
        verify target mangling works
66
 
        verify unassigned works
67
 
 
68
 
update-people:
 
53
update_people:
69
54
    verify appropriate launchpad calls are made from a fake dataset
70
55
 
71
56
TODO: add tests for init and models
 
57
TODO: add tests for views