Catch2 icon indicating copy to clipboard operation
Catch2 copied to clipboard

The documentation needs updating for v3

Open horenmar opened this issue 3 years ago • 5 comments

As an example, the "Getting started" documentation still talks about CATCH_CONFIG_MAIN macro.

horenmar avatar Oct 10 '20 13:10 horenmar

@horenmar I've been using the single-include approach for a while now. But with latest devel this is not there and also there are many changes to the header files themselves. Can you please point us to anything that'll help us migrate existing codes using v2.x API to devel?

teju85 avatar Oct 21 '20 02:10 teju85

There's also a broken link in docs/tutorial.md (in particular the one pointing to the single header file in https://raw.githubusercontent.com/catchorg/Catch2/master/single_include/catch2/catch.hpp)

csegarragonz avatar Oct 21 '20 09:10 csegarragonz

First, thanks for providing a very nice C++ unit testing library that serves as a great alternative to gtest!

Just wanted to let you know that I spent the last hour+ trying to figure out why I couldn't #include <catch/catch2.hpp> after cloning and installing on an Ubuntu 16 machine to test a library I'm developing. It took quite a while to figure out that the devel branch had switched to a new v3 and that v2 had gone into maintenance mode. Very frustrating. I strongly recommend that you put an obvious notice somewhere at the top of devel's README file so that when people "land" on the GitHub page it's clear what's going on.

Thanks!

sampotter avatar Oct 23 '20 14:10 sampotter

There is now a migration guide, and the readme has been updated to point to the old release branch and the migration guide.

horenmar avatar Oct 31 '20 08:10 horenmar

Is something still missing? The readme still mentions v2.x as being stable and documented, but 3.1 is released (and 3.0 since quite a while).

maxnoe avatar Oct 12 '22 17:10 maxnoe