xray-feature-importer
v1.0.1
Published
A simple library to upload Cucumber feature files to Xray Cloud
Downloads
8
Maintainers
Readme
Xray Feature File Uploader
A simple script to upload .feature files to Xray.
Installation
To install the package, run:
npm install <package-name>
Usage
Create an authentication token using your Xray API credentials (Client ID and Client Secret).
Place your .feature files in a directory.
Run the upload script:
node uploadFeatureFiles.js <folderPath> <projectKey> <clientId> <clientSecret>
Parameters:
folderPath: Path to the folder containing .feature files.
projectKey: The project key in Xray (e.g., "XRAY").
clientId: Your Xray Client ID.
clientSecret: Your Xray Client Secret.
Example:
node uploadFeatureFiles.js ./features MYPROJECT my-client-id my-client-secret
