Closed farhi closed 5 years ago
Each class/function should have lines which start with 'Example:'.
The auto test procedure is then
Example:
This allows to set simple Unit tests without writting more complex functions as today.
DONE. The runtest #194 and https://github.com/McStasMcXtrace/iFit/commit/71b4645e8257110cbc19b2b0d23ff94298436d00 estruct (iData) method shows methods without 'Example:' line. It also searches for 'testestruct' function.
Each class/function should have lines which start with 'Example:'.
The auto test procedure is then
Example:
linesThis allows to set simple Unit tests without writting more complex functions as today.