python and selenium_project articles_behavior-driven testing (BDD)

Behavior-Drivern Development is abbreviated as BDD: Use structured natural language to describe test scenarios, and then convert them into executable test scripts or other forms. python's behave module

None of the online is useful. . . The hero sees the same thing. Every one that can be converted to use is tentatively targeted at pytest_bdd.
pytest-bdd. This tool combines all the advantages of Pytest and implements various behavior-driven testing schemes.
Next is the source code interpretation of pytest

Guess you like

Origin blog.csdn.net/weixin_45451320/article/details/112691570