Syntactic test - NextensArelB/SwaggerGenerationTool GitHub Wiki
##What is Syntactic test? The syntactic test belongs to the validation tests, with which the validity of the input data is tested. This establishes the degree to which the system is proof against invalid, or 'nonsense' input that is offered to the system wilfully or otherwise. This test is also used to test the validity of output data.
The test is most often prepared by a checklist, where:
- Per entry field is described what the characteristics are of the field:
- Is field mandatory or optional
- What is field length (min/max)
- Definition of the field: Numeric, date, alfa numeric, boolean, domain (e.g. country abbreviations)
- If the input is also used in the output (e.g. report or XBRL file), this can also be tracked via the same checklist, where columns are added to check on this
- It could be that fields are depending on each other, e.g. when one field is entered, another field becomes mandatory, these dependencies can also be added to the checklist
The test is not only tested with positive cases, but especially with negative by leaving mandatory fields empty, enter more digits than the field length and add strange characters in a numeric field ##To be used when testing:
- Functional test on US level: UI, API, reporting and XBRL