enhancementhacktoberfest
Repository metrics
- Stars
- (49 stars)
- PR merge metrics
- (PR metrics pending)
Description
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 everybin/scripts - Include npm command preferably
npm testandnpm test --watchinpackage.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