omdxp / react-help-create

This command line helps you create components, pages and even redux implementation for your react project

Home Page:https://omdxp.github.io/react-help-create/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create and Delete tests

omdxp opened this issue · comments

commented

Is your feature request related to a problem? Please describe.
Newly created files does not contain unit tests and/or integration tests with them.

Describe the solution you'd like
This feature is really good to create your unit tests alongside your newly created files (from your components to your pages to your custom functions).

Here are some samples:

rhc create -c test

It creates test files with the component.

Additional context
This also can be added to rhc.config.json as a property withTests so when creating new components or screens it can also add test files alongside them.