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 #432

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Commits on Apr 20, 2024

  1. Initial commit for Unicon Unit Test Framework

    - Provides a TestCase, TestSuite, TestReporter and a Mock class.
    - Testing is bootstrapped using the new unittest package to test the said package.
    IanTrudel committed Apr 20, 2024
    Configuration menu
    Copy the full SHA
    1c22be0 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2024

  1. Pull review requests

    - Simplification suggested by @Jafaral.
    - Reordered assertions in Mock.testExpect().
    IanTrudel committed Apr 21, 2024
    Configuration menu
    Copy the full SHA
    21397c8 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Fixing assertEqual()

    - `assertEqual()` now expects `expected` and `actual` to be of the same type based on the feedback from @Jafaral.
    - Implemented `assertFail` and `assertNotEqual()`, and corresponding tests.
    IanTrudel committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    13a518e View commit details
    Browse the repository at this point in the history
  2. Reworked TestReporter and TestTestReporter

    - Reworked the results tally in TestReporter and returned in the `summary()` method.
    - Added tests for the TestReporter.
    IanTrudel committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    47ea296 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2024

  1. Tests for TestSuite run() and failure tests

    - Completing TestTestSuite run tests and assertion failure tests.
    - Adding a few more assertions.
    - Tidying up the output.
    IanTrudel committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    bb00eb3 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Adding total time elapsed while running tests

    - Inspired from `tests/unicon/tester.icn`
    - Example output: ran 20 tests in 2.004114s
    IanTrudel committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    5888406 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a17211b View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. Configuration menu
    Copy the full SHA
    e44c88c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c35bc6c View commit details
    Browse the repository at this point in the history

Commits on May 25, 2024

  1. Configuration menu
    Copy the full SHA
    c0be80f View commit details
    Browse the repository at this point in the history
  2. Adding UTR for the Unicon Unit Testing Framework

    A Unicon Techincal Report for the Unicon Unit Testing Framework including:
    - Introduction
    - Components of the framework
    - Unit test examples
    - References
    IanTrudel committed May 25, 2024
    Configuration menu
    Copy the full SHA
    46d97bf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9dbe135 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Configuration menu
    Copy the full SHA
    e2b1729 View commit details
    Browse the repository at this point in the history
  2. Fix typo

    IanTrudel committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    e09d093 View commit details
    Browse the repository at this point in the history
  3. Documenting the Mock class

    - Documenting the Mock class with an example.
    IanTrudel committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    d7f73bb View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. Documenting TestReporter

    IanTrudel committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    82fbaf9 View commit details
    Browse the repository at this point in the history
  2. Minor styling fix

    IanTrudel committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    02316fc View commit details
    Browse the repository at this point in the history
  3. Minor code fix

    IanTrudel committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    443665c View commit details
    Browse the repository at this point in the history