A Simple Jest Framework to test Dictionary APIs
- Please make sure node is installed on your system (v15.x preferred)
- Also please install npm for managing our packages
- Download Guides: Node NPM
- Clone the repository on your local machine
git clone [email protected]:Aldizh/dictionaryapi_tests.git
- Go to cloned directory
cd dictionaryapi_tests
- Create a .env file in your project root directory containing the api authentication key
AUTH_KEY=Basic _YOUR_API_KEY_
- Install dependencies listed in package.json
npm install
- To run the entire suite
npm run test
- Run with live monitoring
npm run test:monitor
- express (for setting up a basic server)
- supertest (for making HTTP requests to the api routes)
- axios (for making network calls to the public API)