Code for unit-tests

Ramón Zarazúa rzarazua at digipen.edu
Wed Jul 8 12:15:25 UTC 2009


When working with unit-tests that need code input to manipulate (cppduchain,
codecompletion, codegeneration) It is sometimes hard to understand what some
of the code snippets do by just seeing them as a string. I suppose what most
people do is paste it into kate(or any formatting editor) and format it so it
can be much easier to read.

I propose that each of these tests have a file that contains all the code
snippets already formatted, so it can be faster and easier to know what you
are dealing with. Something like <testname>_snippets.cpp

-- 
Ramón Zarazúa

Bachelor of Science in Real Time Interactive Simulation
at
Digipen Institute of Technology





More information about the KDevelop-devel mailing list