7 Lettuce of BDD lettuce_webdri

2019-07-10  本文已影响0人  初见_0308

'''

1 Install Lettuce_webdriver

    1 download address: https://pypi.python.org/pypi/Lettuce_webdriver.

    2 install by pip

2 Install nose

    1 download address: https://pypi.python.org/pypi/nose

    2 install by pip

    3 nose is a testing frame,Lettuce_webdriver depends on it to run.

3 Create directory structure; as follow.

4 Write baidu.feature file.

5 Write testing script in step_definitions directory.

6 Create terrain.py in support directory  to define the basic configuration of test script.

'''

上一篇下一篇

猜你喜欢

热点阅读