genauigkeit v0.0.36
genauigkeit
Visual Regression Testing for Storybook
genauigkeit (German for "accuracy") is a library that simplifies visual regression testing for your components in Storybook. It leverages the power of concurrency and Docker containers to ensure fast and reliable tests.
Key Features
- Fast: Concurrent testing significantly reduces test execution time.
- Local: Run tests locally without the need for a cloud service.
- Reliable: Docker containers provide a consistent isolated environment for screenshot generation, eliminating environmental discrepancies.
- Easy to Use: Integrate genauigkeit seamlessly into your existing Storybook workflow.
Requirements
- Node.js 20 or higher
- Docker
Installation
npx nypm add genauigkeitUsage
Generate a configuration file by running the following command:
npx genauigkeit initGenerate References
To generate reference screenshots, execute the following command:
npx genauigkeit generateRun Tests
To run tests, execute the following command:
npx genauigkeit testpackage.json
You can also add scripts to your package.json:
{
    "scripts": {
        "genauigkeit:generate": "genauigkeit generate",
        "genauigkeit:test": "genauigkeit test"
    }
}Contributing
We welcome contributions! Please refer to the contribution guidelines before submitting a pull request.
License
This project is licensed under the MIT License.
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago