Skip to content

juangm/zephyr-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • ✅ Automations
  • ✅ TestCases
  • ✅ Folders
  • ✅ Statuses
  • ⚠️ TestCycles - partially done
  • ⚠️ 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

About

Node.js wrapper for zephyr scale cloud API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published