Tests

Top  Previous  Next

Introduction > Tests

 

In the TextTransformer test scripts can be written, to check that the productions are working correctly. Tests can be helpful, when you create new rules. But primarily they are used, to assert, that the improvement of one part of project not has unexpected consequences in other parts.

 

A test consists in the isolated execution of single productions. As for a whole project also for a test an input will be transformed to an output. The output will be compared with the expected result. If they are not equivalent an error message will be produced.

 

 



This page belongs to the TextTransformer Documentation

Home  Content  German