andreea-qa / LTSpecFlow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configure Environment Variables

Before the tests are run, please set the environment variables LT_USERNAME & LT_ACCESS_KEY from the terminal. The account details are available on your LambdaTest Profile page.

For macOS:

export LT_USERNAME=LT_USERNAME
export LT_ACCESS_KEY=LT_ACCESS_KEY

For Linux:

export LT_USERNAME=LT_USERNAME
export LT_ACCESS_KEY=LT_ACCESS_KEY

For Windows:

set LT_USERNAME=LT_USERNAME
set LT_ACCESS_KEY=LT_ACCESS_KEY

Please visit LambdaTest Capabilities Generator in order to generate capabilities for the test cases.

How to run tests

Once the environment variables are exported, run the following command from the terminal (after navigating to the root directory):

dotnet test LTSpecFlow.sln

Shown below is the test execution on terminal and LambdaTest:

Screenshot 2022-08-03 at 6 14 03 PM

Screenshot 2022-08-03 at 6 14 47 PM

About


Languages

Language:C# 78.1%Language:Gherkin 21.9%