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

regression-testing-fixture-loader

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

regression-testing-fixture-loader

Fixture loader for Zengine regression tests

  • 1.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Regression testing fixture loader

Custom package for loading and retrieve fixture data for regressions tests

Install

npm install regression-testing-fixture-loader --save

Usage


var config = {
  s3: {
    accessKeyId: 'XXXXX',
    secretAccessKey: 'XXXXX',
    bucket: 'regression-testing-fixtures'
  },
  datasets: [
    {
      name: 'editor',
      file: 'AngelaEditor.csv'
    },
    {
      name: 'ownerReusable',
      file: 'BarbaraOwnerReusable.csv',
      reusable: true
    }
  ]
};

var fixtureLoader = require('regression-testing-fixture-loader');
var fixtures = new fixtureLoader(config.fixture);

// Load in redis
fixtures.load();

// Get an editor set
var fixture = fixtures.get('editor');

Redis

You can pass an object with Redis options in the config object for more info about the options checkou the redis project https://github.com/NodeRedis/node_redis#options-object-properties

Keywords

FAQs

Package last updated on 02 Aug 2016

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