C++ Refactoring Tools Test Suite Available

I created a test suite for C++ refactoring tools. You can download release 1.0 for yourself to see the tests. Results of the tests are included for ReFactor!Pro v9.1.10.


A test suite for refactoring tools for C++. I built this test suite to validate bugs in ReFactor!Pro for C++ from Developer Express. Included in the distribution is a text file containing test results for v9.1.10 of ReFactor!Pro.

Each test case is marked by a comment containing the token “#TEST#”. The comment contains an identifier for the test case and instructions on how to perform the test. A test is considered passing if the changes applied to the code result in code that compiles and still has the same semantics as before the refactoring. White space or curly braces may be changed as long as the semantics remain the same.

At a future date, this code may be enhanced to contain actual unit tests that you can run to verify that the semantics have not changed, but currently it relies on humans to inspect the changes made.

2 Responses to “C++ Refactoring Tools Test Suite Available”

  1. Refactoring Test Results for VAX 10.8.2036.0 built 2014.05.22 | Legalize Adulthood! Says:

    […] (Extract Function, Extract Method, Rename) in the latest version of Visual AssistX using my refactoring test suite and posted the results on the Whole Tomato support […]


  2. Refactoring Test Results for CLion 140-1221.2 | Legalize Adulthood! Says:

    […] a bunch of refactorings in the latest early access program (EAP) build of JetBrains CLion using my refactoring test suite, now hosted on […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: