Is BDD suitable for user interface automation?

We are going to decide on the best approach to the UI automation infrastructure.

We have 2 options:

  • TestNG with webdriver to automate user interface
  • A home tool built with BDD.

We are in a critical situation to decide which technology is best for our project.

Our project is a huge application with 8 modules and many integrations with third-party tools.

  • Is BDD great for huge projects?
  • Does the cost of maintenance increase with an increase in the number of test cases?
  • Will repeatability be set when when the number of test fields will increase?

Thanks for all the thoughts.

+4
source share
3 answers

BDD talks about how a piece of code, application, or system should behave, and then capture these examples, often using the BDD tool and / or automation system. Many people only get value from capturing examples on the wiki. There are four things that I like in place before people move on to tools, especially if you are going to do this at the application level:

  • Eye of the big picture
  • Possibility of polling and studying
  • Ability to determine uncertainty and determine uncertainty
  • Great relationships between people.

, . , , Cucumber JBehave. G/W/T , , .

DSL , TestNG , NUnit , "//" . , . , , .

, :

  • , BDD . , , , .

  • . , . , Agile Testing, , , . , /API . , , . , , , , .

    - , , / . . , , (: , ..)

    , , , ; , . JBehave .

    API , , , , .

  • . . 2 . , , , , , . : ", " ", ".

, , . TestNG . Page Object, , . , .

, DSL , , , , .

+7

BDD , , . , 1 BDD.

+2

Additional useful information: The
best way to use BDD is http://skipoleschris.blogspot.com/2010/11/best-way-to-apply-bdd.html

+1
source

Source: https://habr.com/ru/post/1537967/


All Articles