Metadata Specification
This specification defines a way how to store all metadata needed for test execution in plain text files close to the test code or application source code. Files are stored under version control directly in the git repository.
Flexible Metadata Format is used to store data in a concise human and machine readable way plus adds a couple of nice features like virtual hierarchy, inheritance and elasticity to minimize data duplication and maintenance.
The following metadata levels are defined:
- Level 0: Core
Coreattributes such assummaryfor short overview,descriptionfor detailed texts or theorderwhich are common and can be used across all metadata levels.- Level 1: Tests
Metadata closely related to individual
Testssuch as thetestscript, directorypathor maximumdurationwhich are stored directly with the test code.- Level 2: Plans
Plansare used to group relevant tests and enable them in the CI. They describe how todiscovertests for execution, how toprovisionthe environment andprepareit for testing, how toexecutetests andreporttest results.- Level 3: Stories
User
Storiescan be used to describe expected features of the application by defining the userstoryand to easily track which functionality has been already implemented, verified and documented.