Giter VIP home page Giter VIP logo

riadayal / pytest-parallel Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 3.0 0 B

How to run parallel automation tests in Pytest on LambdaTest. A sample repo to help you run your Pytest test scripts in parallel with LambdaTest in Python language.

Home Page: https://www.lambdatest.com/selenium-automation?utm_source=github&utm_medium=about&utm_campaign=Pytest-parallel

lambdatest pytest selenium-webdriver testing parallel-tests selenium pytest-bdd parallel-testing python python-3

pytest-parallel's Introduction

How to run parallel automation tests in Pytest on LambdaTest

If you want to run parallel automation tests in Pytest on Lambdatest, you can use the following steps. You can refer to sample test repo here.

Steps:

Ensure that pytest package is installed by running:

pip install pytest-selenium

To run parallel tests using PyTest, we would have to execute the below command in the terminal:

pytest -s -n=2 tests/lt_sample_todo.py

In the above command, we have used -s to disable the output capture & -n is used to specify the number of parallel test execution. Your test results would be displayed on the test console (or command-line interface if you are using terminal/cmd) and on LambdaTest automation dashboard.

Links:

LambdaTest Community

pytest-parallel's People

Contributors

riadayal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.