apteryx
v0.13.2
Published
Utility library for interacting with the RPC API of Kiwi TCMS
Readme
Apteryx
Overview
Apteryx is a utility library for interacting with the RPC API of Kiwi TCMS.
Getting Started
First you will need to initialize the connector, and log in.
import { KiwiConnector } from 'apteryx';
// Inside an async function...
// Set up the connection to the Kiwi server
await KiwiConnector.init({
hostName: 'localhost',
useSSL: true,
port: 3001, // Optional. Defaults to 80 or 443, based on useSSL value.
});
// Login with your Kiwi username & password (real values should be loaded from an enrivonment variable)
await KiwiConnector.login('username', 'password');Once this is complete, you can interact with various Kiwi entities by using the static methods of the appropriate class.
Management Items:
BuildCategoryClassificationComponentEnvironmentEnvironmentPropertyPriorityProductTagUserVersion
Testing Items:
PlanTypeTestCaseTestCasePropertyTestCaseStatusTestExecutionTestExecutionStatusTestPlanTestRun
Utilities:
TimeUtils
