Integration Test 2 - Forum Database Retrieval/Addition

Test Case Input Stubs Expected Result
2.1 - Retrieval of Post -Call to receive post -Existing forum entry Function returns 'true'
2.2 - Retrieval of Lost Post -Call to receive non-existent post -none Function returns 'false'
2.3 - Forum Response Time -100 calls to retrieve info


-Record time request made till completed

-Existing forum entry Average less than 1 second retrieval time.
2.4 - Addition of Post with Parent -Add post to database -none -database entry created:
  • unique id
  • parent id
  • username
  • date
  • body text

-function returns 'true'

2.5 - Addition of Post without Parent -Add post to database -none -database entry created:
  • unique id
  • parent id = -1
  • username
  • date
  • body text

-function returns 'true'

2.6 - Addition of Blank Post -Add blank post to database -none Function returns 'false'

edited by Matt : 5/11/03