0.3.0 • Published 2 years ago

zephyr-api-wrapper v0.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Zephyr-api Library

npm version Known Vulnerabilities

Overview

  • zephyr-api is a wrapper around Zephyr Scale Cloud REST API to automated tasks, test-cycles creations, etc. in JIRA.

Requirements

  • Requires Node.js 14+
  • Set env with zephyr toke ZEPHYR_TOKEN=XXXXXXXXX

Documentation

API specification can be found in -> zephyr-spec

Endpoints implemented

  • :white_check_mark: Automations
  • :white_check_mark: TestCases
  • :white_check_mark: Folders
  • :white_check_mark: Statuses
  • :warning: TestCycles - partially done
  • :warning: TestExecution - partially done

Example (using Typescript)

NOTE: Remember to set the environment variable ZEPHYR_TOKEN

To use a subset of calls for a specific endpoint:

import { TestCycle } from 'zephyr-api-wrapper';

const api = new TestCycle();

api.getTestCycles().then((result) => {
  console.log(result);
});

To use all the possible calls for:

import { FullZephyrAPI } from 'zephyr-api-wrapper';

const api = new FullZephyrAPI();

api.testCycles.getTestCycles().then((result) => {
  console.log(result);
});

Future Plans

  • Implement all the endpoints
  • Add interfaces for responses/requests
  • Implement tests to check basic functionality
  • Create CI with github actions
0.3.0

2 years ago

0.2.0

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.1

3 years ago