Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukegtester/rest-api-js-test
Repository created in purpose of practise API automations using Javascript and node.js
https://github.com/lukegtester/rest-api-js-test
api-testing chai javascript mocha nodejs supertest
Last synced: 2 days ago
JSON representation
Repository created in purpose of practise API automations using Javascript and node.js
- Host: GitHub
- URL: https://github.com/lukegtester/rest-api-js-test
- Owner: LukegTester
- Created: 2024-02-02T11:11:52.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-11-12T19:39:29.000Z (3 days ago)
- Last Synced: 2024-11-12T20:28:57.294Z (3 days ago)
- Topics: api-testing, chai, javascript, mocha, nodejs, supertest
- Language: JavaScript
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GAD Application API Tests
These REST API tests were created as part of the "REST API Testing" course from jaktestowac.pl.
## Project Overview
This repository contains test cases for the GAD application’s REST API, verifying key API endpoints for expected functionality and reliability.### Live API Endpoint
- **Base URL**: https://planet-deadpan-tortoise.glitch.me/> **Note**: The API service on Glitch may enter hibernation after 15 minutes of inactivity. As a result, the first test run may fail due to timeout. Please rerun the tests in such cases.
## Prerequisites
- **Recommended Tools**:
- [Visual Studio Code](https://code.visualstudio.com/)
- [Git](https://git-scm.com/)
- [Node.js (v16+)](https://nodejs.org/)## Setup and Installation
1. (Optional) Install recommended plugins for Visual Studio Code.
2. Clone this repository and navigate to the project folder.
3. Install the required dependencies:
```bash
npm install## Usage
Run all tests:
```
npm run testAll
```
For more usage cases look in `package.json` scripts section.