Define, Share and Automate your tests / specifications
Include files
Tmar “includes” let you share Tmar descriptions between Tmar files
Include files are introduced by the /include statement following by the tmar file name
-
Tmar supports nested include files ( include in file in an include file )
Include Tmar files have to be in an /includes directory of the tmar description tree
Include content hidden
Include content displayed
Share context
By convention, Tmar description files name always begin by the test class name
<class name>.<test name>.tmar
Exemple :
TestDemo.multiplication.tmar
and Multiple tests may be implemented in the same class
TestDemo.multiplication.tmar
TestDemo.addition.tmar
...
If Tmar find an include file named <class name>.tmar, it will considered it as an include file, shared by all test of this <class name>.
As include Tmar files, this files have to be in an /includes directory of the tmar description tree