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

Implement infrastructure for running unit tests #567

Open
1 task done
rafgpereira opened this issue Jan 19, 2025 · 0 comments
Open
1 task done

Implement infrastructure for running unit tests #567

rafgpereira opened this issue Jan 19, 2025 · 0 comments
Labels
type: feature-request New feature or request

Comments

@rafgpereira
Copy link

🔖 Feature description

The implementation of an infrastructure for running unit tests in the Postiz project. This includes setting up a Continuous Integration (CI) environment and structuring the code to combine and automatically execute all tests.

🎤 Why is this feature needed ?

The implementation of a testing infrastructure is crucial to enable the development and execution of tests in the Postiz project. This feature is necessary because:

  • Currently, it's not possible to accept test contributions due to lack of infrastructure
  • It allows the team and contributors to develop and run unit tests consistently
  • It enables automatic test execution on each pull request, ensuring code quality
  • Ensures code quality and reliability
  • Facilitates early bug detection
  • Allows the community to contribute tests
  • Improves long-term project maintainability

Moreover, this infrastructure will allow the acceptance of test contributions, such as the recently submitted PR for the PermissionsService, encouraging more community collaborations and improving the overall robustness of the project.

✌️ How do you aim to achieve this?

  • Set up a Continuous Integration (CI) system, such as GitHub Actions or Travis CI
  • Create automation scripts to run tests on each pull request
  • Establish a standard directory structure for unit tests
  • Configure Jest (or another testing tool) to recognize and automatically run all tests
  • Document the process of creating and running tests for future contributors

🔄️ Additional Information

No response

👀 Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

Are you willing to submit PR?

None

@rafgpereira rafgpereira added the type: feature-request New feature or request label Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant