Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.