Skip to content
Yury Alencar Lima edited this page Oct 26, 2019 · 13 revisions

Teasy Language - When and Why use

The Teasy language is a Domain-Specific Language for functional tests into web applications. This name is of the "Too Easy" abbreviation. Teasy is a textual language implemented using the Meta Programming System (MPS).

Why use

The Teasy language is intended to facilitate the process of creating, specifying and generating test cases and executable test scripts. In addition, it is a textual language that makes development more productive. The following are other reasons why you should use this language:

  • Simple Syntax.
  • Possibility of specifying main system flows.
  • Automatic Generation of Executable Test Scripts.
  • Tests that ensure system coverage based on tester choices.
  • Generation of test sequences.
  • Mitigates the need to maintain regression test scripts as they can be generated at any time.
  • Possibility of creating a web application HTML parser for the Teasy language. (Not implemented yet!).

How to use

The language is composed of the main three types of files, where two of them are mandatory and one is optional. The following are all presented:

Declaration File: This file is Required, and contains the declaration of the system screens. This file consists of actions, assertions, and data that can be used in the elements of the pages. For more details go to:[Declarations File]

Configuration File: This file is Required, and contains the configuration of how the declarations files will be manipulated. Like: Amount of the test cases are generated, whether scripts or test sequences are created, what page the tests should start on, and whether to read the flow files. For more details go to: [Configuration File]

Flows File: This file is optional and contains the main system flows, in which the test analyst wants to ensure coverage. This file is important because if it has some critical flow the generation and coverage can be hampered by the number of test cases to be generated, but this data is informed by the test analyst. For more details go to: [Flows File]

When to use

The Teasy language is recommended for web applications due to the generation of test scripts. But it can also be used for the generation of test sequences, which can help in the implementation and assurance of coverage in other types of systems.

Currently, Teasy does not have an HTML-based reverse engineering parser, so joint development specification is recommended. The specification, after development, can take time, however, is compensated by the guarantee of the coverage.

In the new Project

@TODO

In the older Project

@TODO

For more details go to: [How Modeling your Application]

Clone this wiki locally