This is a guide for testing APIs using Webdriverio, Supertest, and Chai
To use this testing suite, follow the installation steps below:
-
Clone this repository to your project directory:
git clone https://github.com/rahuljoshua77/API-Automation-WDIO.git
-
Navigate to the project directory:
cd repo
-
Install dependencies by running the following command:
npm install
After installing the dependencies, you can use the testing suite as follows:
-
Run the tests:
npm run wdio
-
View the test results and any error messages in the console.
You can customize the test cases, API endpoints, and expected responses in the test scripts located in the project directory.
If you have suggestions or improvements, please feel free to contribute to this project by creating a pull request.
Happy testing!