| List: | Internals | « Previous MessageNext Message » | |
| From: | Amit k. Saha | Date: | June 26 2008 8:25am |
| Subject: | Re: Testing the Storage Engine API | ||
| View as plain text | |||
On Thu, Jun 26, 2008 at 12:51 PM, MARK CALLAGHAN <mdcallag@stripped> wrote: > Don't we need documentation before writing tests so that we know what > behavior to expect? Last time I checked, there was not much > documentation in handler.h. Also, how do you test an API on its own > without a storage engine behind it? Yes, Correct. We have to write a storage engine, (could be for test purposes only) which uses *all* the API calls that are made available in 'sql/handler.h'. AFAI understand (which I admit is very little) the documentation for what behavior to expect is only as laid down by the method signatures- the parameters, the return values. Correct me if I am wrong. What exactly is the expected behavior? How do I decide (If I want to) whether a particular storage engine is conforming to the API strictly? Thanks, Amit -- Amit Kumar Saha http://blogs.sun.com/amitsaha/ http://amitksaha.blogspot.com Skype: amitkumarsaha
| Thread | ||
|---|---|---|
| • Testing the Storage Engine API | Amit k. Saha | 26 Jun |
| • Re: Testing the Storage Engine API | MARK CALLAGHAN | 26 Jun |
| • Re: Testing the Storage Engine API | Amit k. Saha | 26 Jun |
| • Re: Testing the Storage Engine API | Paul McCullagh | 10 Jul |
| • Re: Testing the Storage Engine API | Amit k. Saha | 10 Jul |
| • Re: Testing the Storage Engine API | Mark Leith | 10 Jul |
| • Re: Testing the Storage Engine API | Brian Aker | 10 Jul |
| • Re: Testing the Storage Engine API | Chad MILLER | 10 Jul |
| • Re: Testing the Storage Engine API | Nidhi Shrotriya | 15 Jul |
| • Re: Testing the Storage Engine API | Stewart Smith | 13 Aug |
| • Re: Testing the Storage Engine API | MARK CALLAGHAN | 24 Aug |
| • Re: Testing the Storage Engine API | Davi Arnaut | 26 Aug |
| • Re: Testing the Storage Engine API | kentoku | 20 Jan |
| • Re: Testing the Storage Engine API | kentoku | 30 Jan |
