Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

barista-tools

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

barista-tools

Command line library and tools to simplify communication with barista test running service.

  • 0.0.4
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

barista-tools

Command line library and tools to simplify communication with barista test running service.

NPM version NPM downloads Build Status Dependency Status License Code Style

Installation

npm install barista-tools

Usage

Create Test Env File

Generate a JWT on behalf ot eh user associated with the TEST_UID provided. Test environment file, cypress.env.json, is then built containing that JWT and other test config.

barista createTestEnvFile Within scripts section of package.json:

"build:testConfig": "barista createTestEnvFile"

Then use in Dockerfile:

# Build Test Config File (cypress.env.json)
RUN npm run build:testConfig

Send Test Files For Build

Sends list of test files within test/e2e/integration folder to associated container build on Barista

Within scripts section of package.json:

"build:testFiles": "barista sendTestFiles"

Then use in Dockerfile:

# Send test file data to Barista REST API
RUN npm run build:testFiles

Sending Test Results

Write results of test run to barista

$(npm bin)/cypress run --reporter barista-reporter$TEST_ARGS; echo \"$?\" | $(npm bin)/sendResultToBarista

License

MIT © Prescott Prue

Keywords

FAQs

Package last updated on 17 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc