0.0.4 • Published 1 year ago

@astronutsapp/astronuts-reporter v0.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Astronuts Reporter

Astronuts Reporter is a powerful tool that generates test reports. It's designed to be easy to use.

Installation

To install Astronuts Reporter, open your terminal and run the following command:

Using Npm

npm install @astronutsapp/astronuts-reporter --save-dev

Using pnpm

pnpm install @astronutsapp/astronuts-reporter --save-dev

Using yarn

yarn add @astronutsapp/astronuts-reporter --save-dev

This command installs Astronuts Reporter as a development dependency in your project.

Usage

To generate a test report, run the following command in your terminal:

npx astronuts-generate

This command tells Astronuts Reporter to start generating test reports.

Integration with Build Scripts

You can also integrate Astronuts Reporter into your build scripts for automatic report generation. This can be particularly useful in continuous integration (CI) environments where tests are run automatically.

Here's an example of how you can add Astronuts Reporter to your package.json scripts:

"scripts": {
    "build": "npx astronuts-generate && npm run build:app",
    "build:production": "npx astronuts-generate && npm run build:app"
}

In this example, the astronuts-generate script runs the tests using Jest, and then generates a test report using Astronuts Reporter. Now, whenever your workflows runs the command npm test, Astronuts Reporter will automatically generate a test report.

Please note that this library is to be used in conjunction with the Astronuts code quality action. You can download the app from the Github.

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago