LambdaTest / codeceptjs-lambdatest-service

Apache License 2.0
0 stars 2 forks source link

LambdaTest Logo

CodeceptJS-LambdaTest Service


A CodeceptJS-LambdaTest Service is a CodeceptJS helper to update test name and test results on LambdaTest after test execution using the _passed and _failed hooks.

npm version

Steps to update test name and results on LambdaTest after test execution

Step 1 - Installation

npm i codeceptjs-lambdatest-service --save-dev

Step 2 - Set LambdaTest Username and Access Key in environment variables.

For Linux/macOS:

$ export LT_USERNAME="YOUR_USERNAME"
$ export LT_ACCESS_KEY="YOUR ACCESS KEY"

For Windows:

$ set LT_USERNAME="YOUR_USERNAME"
$ set LT_ACCESS_KEY="YOUR ACCESS KEY"

Step 3 - Configuration

Add the CodeceptJS-LambdaTest helper in codecept.json/codecept.conf.js

Example:

{
...
   helper: {
     LTHelper: {
      require: 'codeceptjs-lambdatest-service',
      user: process.env.LT_USERNAME,
      key: process.env.LT_ACCESS_KEY,
      updateTestName: true
    }
   }
...
}

Note

License

CodeceptJS-LambdaTest Service is available under the Apache License 2.0. Use it wisely.

About LambdaTest

LambdaTest is a leading test execution and orchestration platform that is fast, reliable, scalable, and secure. It allows users to run both manual and automated testing of web and mobile apps across 3000+ different browsers, operating systems, and real device combinations. Using LambdaTest, businesses can ensure quicker developer feedback and hence achieve faster go to market. Over 500 enterprises and 1 Million + users across 130+ countries rely on LambdaTest for their testing needs.

Features