dash icon indicating copy to clipboard operation
dash copied to clipboard

Evaluation to replace GoogleTest with Catch2

Open rkowalewski opened this issue 7 years ago • 3 comments

I recently stumbled upon another test framework, called Catch2. It looks very interesting for us and is already used in couple of big open source projects. The biggest advantage is that it is a single header include. So we do not have to build GoogleTest anymore and we do not need the GTest submodule. Customization of the test setup seems also to easy which is required for our use cases.

It might be a interesting project for students or anyone willing to improve our toolchain.

rkowalewski avatar Oct 27 '18 09:10 rkowalewski

The framework itself looks quite good, but we have to re-implement a lot of stuff regarding the distributed nature of DASH. This includes the local collection and forwarding of test results to the master. Furthermore we use inheritance in the test setup and teardown steps. I'm not sure if that is possible with Catch2.

... So why should we replace something that already works good? IMO we should focus on the 0.3.0 release.

fmoessbauer avatar Oct 27 '18 09:10 fmoessbauer

It has certainly no priority. It is just a suggestion and yes, our current build works. It may be just faster with this framework. We can close this issue, I had just some brainstorming idea.

rkowalewski avatar Oct 27 '18 11:10 rkowalewski

Is this going anywhere?

devreal avatar Apr 30 '19 20:04 devreal