Integration Test 5 - Problem Database
Test Case | Input | Stubs | Expected Result |
5.1 - Retrieval of Problems | -Call to receive problems | -Sufficient amount of existing subject questions | Desired number of questions are returned. |
5.2 - Retrieval of More Problems than exist | -Call to receive problems | -Insufficient amount of existing subject questions | The database returned as many problems as it possessed, although not as many as requested. |
5.3 - Retrieval of Problem Answer | -Call to receive problem answer | -Existing subject question and answer | The answer to the question was loaded. |
5.4 - Problem Database Response Time | -20 calls to retrieve info
|
-Existing subject questions | Roughly instant retrieval time, on average. |