-
Notifications
You must be signed in to change notification settings - Fork 0
Natural Language Scripts
A script is a list of instructions which are meant to be executed repeatedly in the given order. They are used to avoid copying and pasting the same lines of code over and over again. Using scripts let follow you the clean coding developer principle DRY (Don't repeat yourself).
SysNat let you formulate natural language tests in a declarative or imperative style. Declarative formulation are ideal for high level descriptions of software behaviour, because it favours a short, compact formulation with few details. Using natural language scripts you are able to define the detailed low level description of the system behaviour in an imperative style and reusing these scripts in the high level formulations of the tests, scenarios or executable examples. That way you are able to combine the benefit of both the declarative and the imperative style.
If you generally prefer the imperative style or you wish to formulate tests without the classic BDD keywords you can do so with SysNat. The separation of high level instructions in executable examples and the low level instructions in scripts works the same way:
Learn more about creating natural language scripts.