o(╥﹏╥)oSad

WeChat cannot downloadlettuce, but just click on the upper right corner and select open in browser or Safari!
lettuce

lettuce

  • Size: 0.15M
  • Language: English
  • category: system tools
  • System: Linux/FreeBSD/UNIX

The official version of lettuce is a driver development package suitable for Python. The latest version of lettuce supports international official languages ​​and stipulates a series of grammars. Users only need to tell it according to its rules, and the software can understand your needs. Lettuce software is a python usage Lettuce test automation driver specially created for developers. It is suitable for the communication between BA and Tester in current agile development.

Introduction to lettuce software

Lettuce is another behavior-driven automation tool based on Cucumber and Python. Lettuce focuses on common tasks that characterize behavior-driven development. Not only is it easy to use, but it can make the entire testing process smoother and even more fun.

Advantages of lettuce software

​​Similar to other BDD testing frameworks, Lettuce allows developers to create multiple scenarios and use simple natural language to describe different functions.

​​ ​ Based on similar specification formats, development and QA teams can coordinate and collaborate.

For black box testing, Lettuce is very suitable for behavior-driven test cases.

lettuce instructions for use

​ ​ 1. pip install lettuce installed under Python2.7

2. py -3 –m pip install lettuce installed under Python3

3. Execution: Go to the superior directory of the feature, execute cmd, then execute lettuce, and press Enter

4. Behavior-driven: Each natural language corresponds to a case; generally used in agile development. The advantage is that there is a connection between all test cases and natural language, and you can clearly see the results of each test case execution.

5. Test case explanation written in natural language

​​ 6. Basic ideas of behavior-driven:

(1) Get data

(2) Call the test method with test data

(3) Assert whether the test results are consistent with the expected results

7. Some special processing in behavior drivers implemented using classes

(1) exclude = ['set_number', 'get_number'] defines which methods do not need to be executed

(2) def _assert_number_is(self, expected, msg="Got %d"): Private methods are not test steps by default

(3) step.hashes can automatically obtain data in tabular form defined through natural language, and returns a list

(4) If the feature file is in Chinese, you must add this # language: zh-CN

lettuce update log

The developer of GG said that there are really no bugs this time~

Huajun editor recommends:

Lettuce is one of the best software in the industry. I believe that many friends will have used it. If you don’t use it anymore, you will be OUT. This site also prepares Linux Kernel, .NET, and Cloud Machine Manager for you

Version: 0.1.32 official version | Update time: 2022-08-08

Similar recommendations

Latest updates

lettuce review

  • 1st floor Huajun netizen 2018-01-23 19:02:55
    The lettuce is great! 100 million likes! ! !
  • 2nd floor Huajun netizen 2013-04-17 01:25:17
    lettuce is convenient, practical and powerful. The software is very easy to use!
  • 3rd floor Huajun netizen 2016-12-26 09:37:26
    lettuce has comprehensive functions and is very convenient to use.

Recommended products

Everyonealso likeThese:

+

This application has not passed real-name authentication and you can download it through the mobile assistant.

CancelOK