Difference between revisions of "Bugzilla::Keyword Unit Tests"
(→References) |
(→Overview) |
||
Line 6: | Line 6: | ||
Bugzilla::Keyword - A Keyword that can be added to a bug. | Bugzilla::Keyword - A Keyword that can be added to a bug. | ||
− | Unit test for Bugzilla::Keyword | + | Unit test for Bugzilla::Keyword based on Test::More framework. Included several object mockups |
− | |||
− | Included several object mockups | ||
== Unit Test Cases == | == Unit Test Cases == |
Revision as of 09:43, 14 October 2008
Bugzilla::Keyword Unit Tests
Overview
Bugzilla::Keyword - A Keyword that can be added to a bug.
Unit test for Bugzilla::Keyword based on Test::More framework. Included several object mockups
Unit Test Cases
1. keyword_count() returns 0 when DB is empty
2. keyword can be created
3. bug_count() returns correct value
4. get_all_with_bug_count() returns correct list of keywords
5. Duplicate keyword cannot be created
6. keyword_count() returns 1
Schedule Scoping
Will be finished within two days
References
Relevant Bugs:
None
API Documentation:
Unit Testing Documentation:
How to Install
Copy to t/unit directory
How to Run
Run Keyword.t