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 i codeceptjs-lambdatest-service --save-dev
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"
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
updateTestName: true
to set the test name dynamically from test cases.CodeceptJS-LambdaTest Service is available under the Apache License 2.0. Use it wisely.
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.