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

Replace Visual Studio C++ unit testing framework with a cross platform C++ unit testing framework #52

Open
vbaderks opened this issue Jul 14, 2019 · 2 comments

Comments

@vbaderks
Copy link
Contributor

The initial V1.0 release of CharLS had its own unit test framework (in charlstest.exe)

Modern development environments come with support for C++ unit tests. CharLS start with Visual Studio C++ unit test framework as this was the only unit test framework with integrated unit test support. Recent versions of Visual Studio come with adapters to use all kind of unit tests, like google test, boost test, catch2, etc.
These unit test frameworks are all cross-platform, while VS unit test framework is limited to Windows.
By moving to a cross-platform, the unit test can be all moved to a single executable that integrates well and is usable on multiple platforms.

Note: which unit test framework to use is not yet decided.

@vbaderks vbaderks changed the title Replace unit testing framework with a cross platform unit testing framework Replace Visual Studio C++ unit testing framework with a cross platform C++ unit testing framework Jul 14, 2019
@vbaderks vbaderks added this to the 2.2.0 milestone Jul 14, 2019
@vbaderks vbaderks removed this from the 2.2.0 milestone Mar 7, 2020
@vbaderks vbaderks added this to the 2.3.0 milestone Jan 3, 2021
@vbaderks vbaderks modified the milestones: 2.3.0, 2.4.0 Jan 7, 2022
@malaterre
Copy link
Contributor

Currently, the closest unit test suite available in charls is:

$ test/charlstest -unittest

However:

  1. It never return EXIT_FAILURE (exception is caught)
  2. It requires extra binary data to be available in the source tree

@vbaderks vbaderks modified the milestones: 2.4.0, 2.5.0 Sep 26, 2022
@barracuda156
Copy link

@malaterre Seems not to be able to run correctly: #281

@vbaderks vbaderks removed this from the 2.5.0 milestone Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants