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

Remove dependency on Threads #40

Open
mristin opened this issue Dec 4, 2018 · 1 comment
Open

Remove dependency on Threads #40

mristin opened this issue Dec 4, 2018 · 1 comment

Comments

@mristin
Copy link
Collaborator

mristin commented Dec 4, 2018

Currently, threads are only used for testing framework (and not testing cases themselves). IMO, it's better to shift responsibility for running tests in parallel to the testing environment (make test -j8) and decouple it from the testing code.

Following a previous issue, #34:

I would also prefer a simple solution that doesn't require Threads. I've written a small unit test framework for CAF. With minor modifications, it's probably a reasonable drop-in replacement.

Is there a reason not to use something more common/standard like https://github.com/catchorg/Catch2? Catch2 is header-only and can be included directly into the repository so it adds no extra installation steps.

@mavam
Copy link
Owner

mavam commented Dec 6, 2018

Is there a reason not to use something more common/standard like https://github.com/catchorg/Catch2?

I have no strong preference. I'm fine with using Catch2. But since I wrote the other unit testing framework (and it's also header-only), it came to mind first.

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

No branches or pull requests

2 participants