D
D
Dmitry2015-10-09 16:04:41
Software testing
Dmitry, 2015-10-09 16:04:41

What does DSL mean from the point of view of an automated tester?

Now almost every vacancy for a tester-automator indicates "It is imperative to know and be able to know DSL". If I understand correctly, then this is nothing more than checking products in terms of scripts written with Gherkin. This is true?
If yes, then maybe someone will suggest some good example of an Open-Source project where this is already being applied?
UPD :
In view of the fact that the discussion did not work out. Just one answer. I'll try to revive it. After all, the question is important!
DSL - Domain Specific Language.
What is it?
* Programming language;
* Subject-oriented;
* The syntax of the language is not designed anyhow, but for the purpose of ease of reading and maintenance of subject matter specialists;
For what?
* Allows experts in the subject area who do not have programming skills to read the code;
* Simplifies maintenance;
Literature:
* Domain Specific Languages, theory and practice (seminar 2011-06-23, for students), lib.custis.ru/2011-06-23-dsl;
* Martin Fowler. Domain-oriented programming languages;
* Evans. Subject-oriented design;
And yet, yes, my assumption with Gherkin is not far from the truth. It allows you to create a dictionary in the form of structures for given, when, then, and even non-techies will be able to read these scripts. Example:

given MyProgram.exe started
when I press menu 'help'
and press submenu 'about'
then I see dialog box with 'My program 2015 (c) Vasya Pupkin'

Such things from the reader require only two skills:
1. Reading in English;
2. Knowledge of what particular given, when, then constructions were programmed by programmers;

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
ashipovalov, 2015-10-14
@ashipovalov

Not quite right. DSL is a domain-specific language. That is, an already designed framework in which definitions and steps specific to a given program (service) are defined. It is quite logical that, for example, a targeted advertising system uses one DSL, and a travel agency another. Gherkin is just one of the representatives of the family of tools - BDD (behavior driven development). That is, Gherkin is a tool that allows you to select and write DSL, operating in a language close to plain English, but as a rule, when writing autotests, DSL is formed and allocated with any approach. In the general case, the concepts of DSL and Gherkin are no more related than DSL and TestNG

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question