npm package: @arctouch/web-tests-factory
Description: The project Tests Factory aims to insert a new default unit test implementation. The result of the script execution will be a folder with a default test on the existing project, that will facilitate the creation of new tests.
Author: ArcTouch LLC
Latest version: 1.0.1

# Tests Factory

[![Validate Code](https://github.com/arctouch/web-tests-factory/actions/workflows/validate_code.yml/badge.svg)](https://github.com/arctouch/web-tests-factory/actions/workflows/validate_code.yml)

The project Tests Factory aims to insert a new default unit test implementation. The result of the script execution will be a folder with a default test on the existing project, that will facilitate the creation of new tests.


## How to use this project
1. Install the package from NPM
```sh
npm install -g @arctouch/web-tests-factory
```
2. You can run the lib inside the project root, like this:
```sh
web-tests-factory --framework go --filename classname --methods say_hello:string get_age:number is_active:bool
```
3. Check all the options with:
```sh
web-tests-factory -m # Command Pattern
web-tests-factory -f # Frameworks list
```

## Demo steps

![Demo steps](https://raw.githubusercontent.com/arctouch/web-tests-factory/main/assets/demo.gif)

## Supported test framework

<!-- begin-progress-table -->

| Framework | Assigned                                                                                                                                                                                                                                                                                                                                                                          | Progress                              |
|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------|
| Jest      | <a href="https://github.com/arctouch-leticiacoelho"><img src="https://avatars.githubusercontent.com/u/82114897?s=400&u=d6c8879b59c0d69fafe4206620f8b4cbd4f4ab81&v=4" width="25px;" style="border-radius:50%" alt=""/></a>                                                                                                                                                         | ![100%](https://progress-bar.dev/100) |
| PyUnit    | <a href="https://github.com/arctouch-leticiacoelho"><img src="https://avatars.githubusercontent.com/u/82114897?s=400&u=d6c8879b59c0d69fafe4206620f8b4cbd4f4ab81&v=4" width="25px;" style="border-radius:50%" alt=""/></a><a href="https://joaomarcuslf.com/"><img src="https://avatars.githubusercontent.com/u/78762417?v=4" width="25px;" style="border-radius:50%" alt=""/></a> | ![100%](https://progress-bar.dev/100) |
| JUnit     | ⌛ waiting assignment                                                                                                                                                                                                                                                                                                                                                              | ![0%](https://progress-bar.dev/0)     |
| Go        | <a href="https://joaomarcuslf.com/"><img src="https://avatars.githubusercontent.com/u/78762417?v=4" width="25px;" style="border-radius:50%" alt=""/></a>                                                                                                                                                                                                                          | ![100%](https://progress-bar.dev/100) |
| Rspec     | <a href="https://github.com/arctouch-matheusgraciano"><img src="https://avatars.githubusercontent.com/u/89080926?v=4" width="25px;" style="border-radius:50%" alt=""/></a>  <a href="https://joaomarcuslf.com/"><img src="https://avatars.githubusercontent.com/u/78762417?v=4" width="25px;" style="border-radius:50%" alt=""/></a>                                              | ![100%](https://progress-bar.dev/100) |
| Jasmine   | ⌛ waiting assignment                                                                                                                                                                                                                                                                                                                                                              | ![0%](https://progress-bar.dev/0)     |
| PHPUnit   | <a href="https://github.com/arctouch-matheusgraciano"><img src="https://avatars.githubusercontent.com/u/89080926?v=4" width="25px;" style="border-radius:50%" alt=""/></a>                                                                                                                                                                                                        | ![0%](https://progress-bar.dev/0)     |
| .net      | ⌛ waiting assignment                                                                                                                                                                                                                                                                                                                                                              | ![0%](https://progress-bar.dev/0)     |
| xunit     | <a href="https://github.com/arctouch-igorparanhos"><img src="https://avatars.githubusercontent.com/u/90213223?v=4" width="25px;" style="border-radius:50%" alt=""/></a>                                                                                                                                                                                                           | ![100%](https://progress-bar.dev/100) |

<!-- end-progress-table -->


## How to contribute

Access the [Contributing](contribute.md) file to contribute with the project.

## Contributors

Thanks to these wonderful people:

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
  <tr>
    <td align="center">
       <a href="https://github.com/arctouch-leticiacoelho"><img src="https://avatars.githubusercontent.com/u/82114897?s=400&u=d6c8879b59c0d69fafe4206620f8b4cbd4f4ab81&v=4" width="80px;" style="border-radius:50%" alt=""/>  </a>
       <a href="https://github.com/arctouch-pedrocosta"><img src="https://avatars.githubusercontent.com/u/10923005?v=4" width="80px;" style="border-radius:50%" alt=""/></a>
       <a href="https://joaomarcuslf.com/"><img src="https://avatars.githubusercontent.com/u/78762417?v=4" width="80px;" style="border-radius:50%" alt=""/></a>
      <a href="https://github.com/arctouch-matheusgraciano"><img src="https://avatars.githubusercontent.com/u/89080926?v=4" width="80px;" style="border-radius:50%" alt=""/></a>
      <a href="https://github.com/0x6775737461"><img src="https://avatars.githubusercontent.com/u/81694100?v=4" width="80px;" style="border-radius:50%" alt=""/></a>
       <a href="https://github.com/arctouch-igorparanhos"><img src="https://avatars.githubusercontent.com/u/90213223?v=4" width="80px;" style="border-radius:50%" alt=""/></a>
    </td>
  </tr>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->


<span style="color:orange"><em>Brought to you by </em></span> <img src="https://pbs.twimg.com/profile_images/1156669334531596293/ufha-qND_400x400.png"  border="0" alt="ArcTouch Icon" height="60"/>

<span style="color:orange"><em>This is our contribution to improving the tests culture!</em></span>

<a href="https://www.facebook.com/ArcTouchBrasil/"><img alt="Facebook icon" src="https://img.icons8.com/ios-filled/50/000000/facebook-circled--v1.png" width="30"/></a>
<a href="https://www.linkedin.com/company/arctouch"><img alt="Linkedin icon" src="https://img.icons8.com/ios-filled/50/000000/linkedin-circled--v1.png" width="30"/></a>
<a href="https://twitter.com/arctouch"><img alt="Twitter icon" src="https://img.icons8.com/ios-filled/50/000000/twitter-circled--v1.png" width="30"/></a>
<a href="https://medium.com/arctouch"><img alt="Medium icon" src="https://img.icons8.com/ios-filled/50/000000/medium-logo.png" width="30"/></a>
<a href="https://dribbble.com/arctouch"><img alt="Dribbble icon" src="https://img.icons8.com/dotty/80/000000/dribbble.png" width="30"/></a>
<a href="https://www.instagram.com/arctouchlife/"><img alt="Instagram icon" src="https://img.icons8.com/ios-filled/50/000000/instagram-new.png" width="30"/></a>