Displaying 1 to 11 from 11 results

mock-fs - Configurable mock for the fs module

  •    Javascript

The mock-fs module allows Node's built-in fs module to be backed temporarily by an in-memory, mock file system. This lets you run tests against a set of mock files and directories instead of lugging around a bunch of test fixtures. The code below makes it so the fs module is temporarily backed by a mock file system with a few files and directories.

geojson-fixtures - geojson fixtures for testing and such

  •    Javascript

Test fixtures of GeoJSON objects.Includes a test helper for writing fixture-based tests with substack/tape.

fixer - Setup your test database using fixtures in a breeze.

  •    Javascript

Node.js module to setup your test database using fixtures in a breeze. Inspired by Rails fixtures.See example/load_fixtures.js.

kin - Object creator using blueprints

  •    Javascript

We recommend the use of Faker for generating test data. Generate a User object. The returned user will have the properties supplied in the template.




node-mongoose-fixtures - Create mongoose fixtures from a dataset.

  •    Javascript

Create mongoose fixtures from a dataset. This will iteratively insert records through mongoose.

fixturez - Easily create and maintain test fixtures in the file system

  •    Javascript

Create fixture functions for the current file. Find and return the path to a fixture by its basename (directory or filename including file extension).

nemo-fixo - Create extendable and composable test fixtures.

  •    Javascript

nemo-fixo is a nemo plugin to manage your test fixtures. Test fixtures can be complex when you need to run your tests for different environments and locales, as there tends to be a lot of data duplication.

karma-json-fixtures-preprocessor

  •    Javascript

Preprocessor requires .json files and converts them into .js files by storing json data as javascript objects under __fixtures__ namespace.


webtorrent-fixtures - Sample torrent files for the WebTorrent test suite

  •    Javascript

Torrent and content test files. All files are Public Domain or Creative Commons. MIT. Copyright (c) Feross Aboukhadijeh and WebTorrent, LLC.

test-data-bot

  •    Javascript

An easy way to generate test data for your JavaScript unit tests. Completely agnostic of test runner, framework or environment. Firstly, use build to create a new builder. The name passed is just for debugging/documentation purposes and can be whatever you'd like.

tape-nock - :vhs: Automatically record and playback HTTP calls for each tape test.

  •    Javascript

Automatically record and playback HTTP calls for each tape test. This package is really just a decorator that wraps each test individual test with nock's Nock Back feature. This helps avoid the all nockBack wrapping code which can make tests less clear. in dryrun mode, the above test will go to the internet and nothing will be recorded.