Skip to content

fluentfixture/fluentfixture

Repository files navigation

Fluent Fixture Logo

A flexible tool for generating customizable mock data with fluent interface πŸš€

NPM Version Package License CircleCI Coverage Known Vulnerabilities CodeFactor Open in CodeSandbox Open in CodeSandbox

Philosophy

In Informatics, dummy data is benign information that does not contain any useful data, but serves to reserve space where real data is nominally present. Dummy data can be used as a placeholder for both testing and operational purposes. For testing, dummy data can also be used as stubs or pad to avoid software testing issues by ensuring that all variables and data fields are occupied. (β†ͺwiki)

In software development, generating mock data is a crucial necessity. In most cases, the test data quality directly impacts the development quality and velocity. But when it comes to generating conditional and complex mock data, things get a little more challenging. There are many dummy / mock / fixture data generators in the javascript ecosystem, but most have an unclean interface and limited capabilities.

The @fluentfixture aims to provide a fluent interface and an extensible architecture. For this reason, the core of the package focuses on programmability, fluent interface, and extensibility.

The @fluentfixture does not provide predefined data like FakerJS for now. However, realistic data features will plan after the stable version of the core package, no-code support, and CLI.

Packages

Core (@fluentfixture/core)

@fluentfixture/core provides core modules and components for generating mock data.

$ npm install @fluentfixture/core

Format (@fluentfixture/format)

@fluentfixture/format provides formatting and compiling functionalities with extensible transformation capabilities.

$ npm install @fluentfixture/format

Documentation

To check out the guide, visit https://docs.fluentfixture.com/

License

@fluentfixture is MIT licensed.