Installation of Project Dependencies
Explore how to install and configure essential project dependencies such as Node.js, Postman, Newman, Next.js, WebdriverIO, and related testing libraries. This lesson helps you set up a solid foundation for testing React applications using both API and UI testing frameworks.
Node.js dependency
First, we make sure we have Node.js installed on our computer. We can check if we have Node.js by running the following command in the terminal:
node -v
This command should print out the version number of Node.js installed on our machine. If it doesn’t, we can download Node.js from their website by running the following command in the terminal:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
Local Postman installation
We can download and install a local Postman instance by navigating ...