Storage Engine API Testing Framework

This page is under progress

Original Author: Nidhi Shrotriya (nidhi.shrotriya@sun.com)

Contents

[edit] Version History


Date        Comments
2008-07-14  Created and Posted to wiki (First draft)
2008-09-09  Updated by 'Nidhi Shrotriya' (Working draft)

[edit] What is API Testing

An API (Application Programming Interface) is a collection of software functions and procedures, called API calls, that can be executed by other software applications.

You need to setup initial environment, invoke API with required set of parameters and then finally analyze the result. Initial condition in API testing also involves creating conditions under which API will be called. Probably, API can be called directly or it can be called because of some event or in response of some exception. Output of API could be some data or status or it can just wait for some other call to complete in a-synchronized environment. Most of the test cases of API will be based on the output.

[edit] Context ?

API in our context -> handler.h (this is the minimum, we might also need to test some critical parts from mysql_priv.h, plugin.h or mysql.h)

[edit] What we plan to test here

What we plan to test here is the API implementation independent of SEs.

[edit] Purpose to Test

[edit] What we *do not* plan to test here

[edit] How to Test?

[edit] Framework

Test Framework would consist of following units -

[edit] How it works

Image:Flowchart-SEAPI.png

Retrieved from "http://forge.mysql.com/wiki/Storage_Engine_API_Testing_Framework"

This page has been accessed 2,896 times. This page was last modified 05:58, 20 September 2008.

Find

Browse
MySQLForge
Main Page
Current events
Recent changes
Random page
Help
Edit
Edit this page
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Special pages
New pages
File list
Statistics
Bug reports
More...