Update README.md to point to v2 branch

This commit is contained in:
Martin Hořeňovský 2020-10-30 15:31:41 +01:00
parent f797ae7a8f
commit d7ced69db2
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -9,15 +9,26 @@
[![Join the chat in Discord: https://discord.gg/4CWS9zD](https://img.shields.io/badge/Discord-Chat!-brightgreen.svg)](https://discord.gg/4CWS9zD) [![Join the chat in Discord: https://discord.gg/4CWS9zD](https://img.shields.io/badge/Discord-Chat!-brightgreen.svg)](https://discord.gg/4CWS9zD)
## Catch2 is released! ## Catch2 v3 is being developed!
If you've been using an earlier version of Catch, please see the You are on the `devel` branch, where the next major version, v3, of
Breaking Changes section of [the release notes](https://github.com/catchorg/Catch2/releases/tag/v2.0.1) Catch2 is being developed. As it is a significant rework, you will
before moving to Catch2. You might also like to read [this blog post](https://levelofindirection.com/blog/catch2-released.html) for more details. find that parts of this documentation are likely still stuck on v2.
## What's the Catch? For stable (and documentation-matching) version of Catch2, [go to the
`v2.x` branch](https://github.com/catchorg/Catch2/tree/v2.x).
## What's the Catch2?
Catch2 is mainly a unit testing framework for C++, but it also
provides basic micro-benchmarking features, and simple BDD macros.
Catch2's main advantage is that using it is both simple and natural.
Tests autoregister themselves and do not have to be named with valid
identifiers, assertions look like normal C++ code, and sections provide
a nice way to share set-up and tear-down code in tests.
Catch2 is a multi-paradigm test framework for C++.
## How to use it ## How to use it
This documentation comprises these three parts: This documentation comprises these three parts:
@ -26,6 +37,7 @@ This documentation comprises these three parts:
* [Tutorial](docs/tutorial.md#top) - getting started * [Tutorial](docs/tutorial.md#top) - getting started
* [Reference section](docs/Readme.md#top) - all the details * [Reference section](docs/Readme.md#top) - all the details
## More ## More
* Issues and bugs can be raised on the [Issue tracker on GitHub](https://github.com/catchorg/Catch2/issues) * Issues and bugs can be raised on the [Issue tracker on GitHub](https://github.com/catchorg/Catch2/issues)
* For discussion or questions please use [the dedicated Google Groups forum](https://groups.google.com/forum/?fromgroups#!forum/catch-forum) or our [Discord](https://discord.gg/4CWS9zD) * For discussion or questions please use [the dedicated Google Groups forum](https://groups.google.com/forum/?fromgroups#!forum/catch-forum) or our [Discord](https://discord.gg/4CWS9zD)