Categories: Contributing | Development | MySQLUniversity

How to Create a Test Case


Contents


← Back to MySQL University main page

[edit] How to Create a Test Case


[edit] Presentation


[edit] Questions asked during the original session

  1. Why isn't the repository containing the extra tests part of the regular BK source tree?
    • One concern was to keep the regular trees from getting too big.
  2. Can the repository be made public?
    • Yes, it could be.
  3. Can you point to any specific bug being discovered by upgrade/downgrade testing?
    • Yes, we discovered a change in the INFORMATION_SCHEMA structure where extra columns were added that caused problems for a downgrade to a version that didn't know about the extra columns.
  4. How many tests are run in the concurrency tests?
    • Fifty concurrent clients for 24 hours. (The clients start, run their tests, exit, and repeat.)
    • Another test has 2000 concurrent clients.
  5. Do you test for deadlocks specifically?
    • No, but they can happen for randomly generated tests, and we try to identify when they do.
    • We try to identify other kinds of problems as well. For example, if the server says a table needs repair, we tell it to repair the table, then stop and restart the server before restarting the test.
  6. You say uppercase for SQL keywords, but almost all of the existing tests are completely lowercase. This seems to be a guideline almost never followed?
    • Use the uppercase style for new test cases. Existing test cases that use lowercase should be left in that style, in general.
  7. "OS command" is what? exec and system?
    • Both.

[edit] Voice recording and other links


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

This page has been accessed 5,644 times. This page was last modified 13:38, 3 April 2009.

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...