Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] help needed: CDT refactoring test suite results

>> To clarify, you're suggesting to run the test cases manually?
>
> That's how I've been doing it; I haven't figured out a way to automate
> it.

We can write automated tests for refactorings if we know what
the code should look like after the refactoring.

Looking at your test suite, e.g. this file [1], it looks like it contains
the input source code, and instructions on where to invoke
refactoring, but not the desired output source code? Do you have
plans to add that at some point?

Thanks,
Nate

[1] https://github.com/LegalizeAdulthood/refactor-test-suite/blob/master/RefactorTest/Rename.cpp

Back to the top