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

Sign up test function and automated testing with git action workflows #932

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

gbengaoluwadahunsi
Copy link
Contributor

@gbengaoluwadahunsi gbengaoluwadahunsi commented Mar 30, 2024

Motivation
I created this pull request to implement automated testing for the functions in the application. Automated testing helps ensure the reliability and correctness of the codebase by automatically verifying the behavior of the app. This ensures that any change made to the codebase do not introduce regressions or break existing functionality.

I tested this workflow by creating a signup js test file and made a PR to the develop branch.

Testing
The Sign up function was tested using Jest, a JavaScript testing framework. In addition to unit testing the individual components of the Sign up function, integration tests were also performed to verify the interaction between different parts of the application. The tests were run locally using Jest and also as part of GitHub Actions workflows to ensure consistent and reliable testing across different environments.

one(249)

two(250)

three (251)

four (252)

@gbengaoluwadahunsi
Copy link
Contributor Author

Hello @birm , I have been able to implement this tasks below

Testing

Write tests for some existing caMicroscope functions
After writing tests, set up github actions’ test suite to run these tests automatically

I have tested it and it worked , now anyone making a PR to the develop or master will have their functions reviewed by Git actions.

@gbengaoluwadahunsi
Copy link
Contributor Author

Hello @birm, I am currently working on writing more test functions, I would need your feedback on the above so it might guide me, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant