Skip to content

Introducing Unit Test Framework - #507

Merged
Jafaral merged 5 commits into
uniconproject:masterfrom
IanTrudel:unit-test
Mar 4, 2025
Merged

Jafaral merged 5 commits into
uniconproject:masterfrom
IanTrudel:unit-test

Conversation

@Jafaral

@Jafaral Jafaral commented Feb 23, 2025

Copy link
Copy Markdown
Member

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

@IanTrudel IanTrudel left a comment

Copy link
Copy Markdown
Contributor

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
@IanTrudel

Copy link
Copy Markdown
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