moberhuber / refactor-test-suite

Test suite for C++ refactoring tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

This is a test suite for C++ refactoring tools. It consists of a set of source files with comments marking different locations in the code where a refactoring could be tested.

Over time, I've tried to add runtime assertions to the code to give an additional level of testing around the refactored area. While these assertions help to verify the validity of a refactoring applied by a tool, the pass or fail of a test case is up to the person invoking the refactoring tool and examining the diffs.

In general, when evaluating results from a refactoring tool, you should treat the tool as skeptically as you would treat any other programmer on your team. If you wouldn't accept a set of diffs from a human, then you shouldn't accept those same diffs from a computer.

The original release of the test suite is described in this blog post.

Results

Current Products

Work in Progress

Unknown Results

About

Test suite for C++ refactoring tools


Languages

Language:C++ 94.2%Language:JavaScript 3.3%Language:CMake 1.2%Language:C 1.0%Language:Shell 0.2%