🟨 Simple testing framework used by all of the other libraries
Testing is a very simple test framework that allows splitting tests in sections and record successful/failed expectations.
Class | Description |
---|---|
SC::TestCase | A test case that can be split into multiple sections. |
SC::TestReport | Collects multiple TestCase and reports their results. |
🟨 MVP
Testing library is minimal but it's useful as is for now.
Testing integrates with the SC::Result object that is part of Foundation library. So far it doesn't support test discovery and all tests must be manually invoked in the main test file.
A test case that can be split into multiple sections. To create a test case derive from SC::TestCase and run tests in the constructor
Example:
Collects multiple TestCase and reports their results. This is passed as argument to SC::TestCase derived classes, and contains handle to globals like a console, paths to the library and application root, path to executable etc.
🟩 Usable
🟦 Complete Features:
💡 Unplanned Features: