This presentation was created for the Automation Guild 2024
I am using the free tier of the Weather Api from WeatherApi.com To demonstrate ways to test this api using the three different toolsets.
To run the tests yourself, obtain an account and API key from Weather API, then create your own .env
file:
cp .env.sample .env.
Place your personal API key as the value in that new .env
file.
Now install your dependencies:
npm install
Each toolset has an npm script to make running straightforward:
npm run test:jest
npm run test:postman
npm run test:pw