Post by account_disabled on Dec 6, 2023 0:42:30 GMT -5
Below is a fragment of the code written in Java using the Serenity BDD framework but without using its ability to work with the Gherkin languageTest public void Then articlePageSteps As you can see you don't need programming knowledge to understand from these few lines of code that you need to log in add an article and check its visibility. Below is the report that was generated. Note that methods such as clickNewPost are automatically converted to the text Click new post BDD tests Regular code if properly prepared can also be easily analyzed by people without programming knowledge. Not to mention tools like Serenity BDD and Allure that help you generate reports.
Theoretically if the step library is well developed even a person without programming knowledge could add further tests. However this argument is difficult to satisfy because you usually also need to add new methods on top of those that already exist. Usually you can partially Email Marketing List support yourself with an existing implementation but here programming knowledge is necessary. BDD and time I wrote about how important it is to use the BDD approach only holistically at every stage. There is one more very important argument that in my opinion speaks against the use of BDD in the tests themselves time. BDD adds another layer of abstraction to the code you create which in turn requires additional time to understand create and maintain it.
Therefore either additional people are needed in the project or testers instead of creating new tests and maintaining the existing ones maintain the BDD so that the tests are readable to people. who do not actually read them. BDD yes or no? BDD has become a buzzword widely advertised and currently the Internet is bursting at the seams with content praising this approach. However the decision to use BDD or any other approach in a project should not be made because of the desire to follow fashion but based on an indepth analysis.
Theoretically if the step library is well developed even a person without programming knowledge could add further tests. However this argument is difficult to satisfy because you usually also need to add new methods on top of those that already exist. Usually you can partially Email Marketing List support yourself with an existing implementation but here programming knowledge is necessary. BDD and time I wrote about how important it is to use the BDD approach only holistically at every stage. There is one more very important argument that in my opinion speaks against the use of BDD in the tests themselves time. BDD adds another layer of abstraction to the code you create which in turn requires additional time to understand create and maintain it.
Therefore either additional people are needed in the project or testers instead of creating new tests and maintaining the existing ones maintain the BDD so that the tests are readable to people. who do not actually read them. BDD yes or no? BDD has become a buzzword widely advertised and currently the Internet is bursting at the seams with content praising this approach. However the decision to use BDD or any other approach in a project should not be made because of the desire to follow fashion but based on an indepth analysis.