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

Introducing Unit Test Framework #507

Merged
merged 5 commits into from
Mar 4, 2025
Merged

Conversation

Jafaral
Copy link
Member

@Jafaral Jafaral commented Feb 23, 2025

replaces #432

- Provides a TestCase, TestSuite, TestReporter and a Mock class.
- Testing is bootstrapped using the new unittest package to test the said package.
- Added tests for the TestReporter.
- Completing TestTestSuite run tests and assertion failure tests.
- Adding a few more assertions.
- Tidying up the output.
- Inspired from `tests/unicon/tester.icn`
- Example output: ran 20 tests in 2.004114s
A Unicon Techincal Report for the Unicon Unit Testing Framework including:
- Introduction
- Components of the framework
- Unit test examples
- References
Copy link
Contributor

@IanTrudel IanTrudel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good, clean and clear. Thank you for your help!

@Jafaral Jafaral merged commit 9c438f7 into uniconproject:master Mar 4, 2025
24 checks passed
@IanTrudel
Copy link
Contributor

Thank you once again @Jafaral !

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.

2 participants