Database testing
What is way of writing testcases for database testing ?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Nov 29, 2011, 12:41 AM EST
In database testing we need to check for,
1. The field size validation
2. Check constraints.
3. Indexes are done or not (for performance related issues)
4. Stored procedures
5. The field size defined in the application is matching with that in the db.
You have to do the following for writing the database test cases.
1. First of all you have to understand the functional requirement of the application thoroughly.
2. Then you have to find out the back end tables used, joined used between the tables, cursors used (if any), triggers used (if any), stored procedures used (if any), input parameter used and output parameters used for developing that requirement.
3. After knowing all these things you have to write the test case with different input values for checking all the paths of SP.
Thanks
Arjun PanwarRank #254 · 9.9K reputationPosted Dec 1, 2011, 2:17 AM EST
Sean StewartRank #5,857 · 284 reputationPosted Dec 28, 2011, 6:37 PM EST
Arjun PanwarRank #254 · 9.9K reputationPosted Jan 2, 2012, 10:49 AM EST