Abhishek-Mallick / Abhishek-Mallick/universal-box
core: Adding testing framework
- Lingua principale
- JavaScript
- Stelle
- 47
- Fork
- 41
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
## Introduction of testing framework
**Describe the solution you'd like**
Integrating a testing framework, such as Mocha, into Universal-Box. This will allow contributors to write and execute tests for their features, ensuring that all changes are validated before being merged. The testing framework should be set up to run tests automatically during CI workflows, enhancing code quality and reliability.
- will allow developers to test their changes locally before pushing them, reducing the likelihood of introducing bugs into the main codebase.
- automated tests will facilitate continuous integration workflows, ensuring that all code changes are validated against existing functionality
**Expectations: **
- Creation of a `tests/` directory in the root level and writing corresponding test scripts for every `bin/` scripts
- Include npm command preferably `npm test` and `npm test --watch` in `package.json`
- Configure Github actions in such a manner that everytime a push happens to the `bin/` directory the tests will run coz other pushes like templates and docs improvements dosen't affect the package level code
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.