Skip to content

Releases: erbsland-dev/erbsland-unittest

Modernization and Bug Fixes in Meta Generator

30 Jan 15:45
e9f6f00
Compare
Choose a tag to compare

Modernization:

  • Replaced complex REQUIRE… macros with new require… methods on the assert context. These methods take a lambda that executes the expression and handles all exceptions.
  • This change simplifies unit tests significantly and allows IDEs to interpret the code more efficiently.
  • Expressions are now encapsulated in a lambda: [&, this]() { … }, capturing variables by reference and this.
  • No issues were found in our existing unit tests, even though expressions are no longer directly in the test function's scope.
  • Downside: Each context adds two extra stack entries, but they are easy to identify in stack traces and we think they shouldn't pose a problem.

Bug Fixes:

  • Improved the regular expression for detecting test classes in scanned code files to correctly handle base classes with namespaces.
  • Fixed an issue where the same regex failed to match the final keyword after a class name.

v1.1.0

20 Nov 18:01
6d9a371
Compare
Choose a tag to compare

Improving the Mata Data Script for the CMake Build:

  • Adding the macro UNITTEST_SUBCLASS to automatically register unit test classes that are indirectly derived from the UnitTest class.
  • Updated generate_unittest_metadata.py to use consistent double quotes for all strings.
  • Enhanced the handling and checking of input files and added a new _paths_to_check method.
  • Improved RE_TEST_CLASS and RE_TEST_METHOD regex patterns for better readability.
  • Modified Macros.hpp to add UNITTEST_SUBCLASS macro definition.

Documentation Updates:

  • Adding the UNITTEST_SUBCLASS macro description.
  • Rewriting, reorganizing and rephrasing the documentation to make it easier to follow and understand.

v1.0.6: Clarify and simplify copyright and LGPL license

05 Jan 15:38
f99c230
Compare
Choose a tag to compare
- Update the copyright header in all source files with a simplified version that uses the SPDX license identifier for the LGPL.
- Combining the two copyright holders into a single line.
- Add the `COPYRIGHT.md` file that clarify who’s holding the copyright and the special propietary use exception for one copyright holder.
- Adding the GPL license along with the LGPL addendum.
- No functional changes were made to the source code.

v1.0.5: Adjusting the README for the new documentation

17 May 10:42
3ec25db
Compare
Choose a tag to compare
- Changing the links.
- Summarize the requirements.

v1.0.4: Minor enhancements and fixes.

12 May 20:03
024e167
Compare
Choose a tag to compare
- Fixing copyright headers that were applied by the IDE.
- Update the include generator script with the latest version that uses a TOML configuration.

v1.0.3

27 Apr 11:57
8195291
Compare
Choose a tag to compare
Update the founding file.

v1.0.0

21 Apr 17:59
09143b4
Compare
Choose a tag to compare

This is the initial and stable public release of the Erbsland UnitTest library.