Bug #45193 Consolidate common functions/macros in MySQL Proxy unittest suite
Submitted: 29 May 2009 12:35
Reporter: Kay Roepke Email Updates:
Status: Verified Impact on me:
Category:MySQL Proxy: Core Severity:S4 (Feature request)
Version:0.7.1, 0.8 OS:Any
Assigned to: Assigned Account CPU Architecture:Any
Tags: proxy, refactoring, testsuite

[29 May 2009 12:35] Kay Roepke

The MySQL Proxy test suite currently has a lot of code duplication, mostly around macros and common tasks, such as the macros used to declare testcases, certain convenience macros around asserts and setting up logging properly.
This task is about creating a common .h/.c file to be included in every testcases its use is applicable to, and cleaning up the existing testcases.
Optionally it would help to make the automake-based build system capable of only compiling the tests without requiring to run them all - a big win when working on a single test.

The implementor should make sure to update the Launchpad blueprint to reflect the status of the feature request.

How to repeat:

Suggested fix:
see description