Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core: Adding testing framework #105

Open
Abhishek-Mallick opened this issue Sep 30, 2024 · 3 comments
Open

core: Adding testing framework #105

Abhishek-Mallick opened this issue Sep 30, 2024 · 3 comments
Labels
enhancement New feature or request hacktoberfest marks issues which are accepted under hacktoberfest

Comments

@Abhishek-Mallick
Copy link
Owner

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
@Abhishek-Mallick Abhishek-Mallick added the enhancement New feature or request label Sep 30, 2024
@Abhishek-Mallick
Copy link
Owner Author

This issue is open to discussion .. would suggest communicating your approach with other collaborators and maintainers here

@Abhishek-Mallick Abhishek-Mallick added the hacktoberfest marks issues which are accepted under hacktoberfest label Oct 2, 2024
@SHANip9
Copy link

SHANip9 commented Oct 25, 2024

the goal is to automate the testing of features using CI workflows.....
can we use jest to integrate test framework?

@Abhishek-Mallick
Copy link
Owner Author

Yess you can
Do you want to take up this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest marks issues which are accepted under hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants