You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C++Spec is a behavior-driven development library for C++ with an RSpec-inspired DSL.
7
+
A behavior-driven development testing library for C++ with an RSpec-inspired DSL.
8
8
9
9
## Installation ##
10
10
11
-
C++Spec is available as a single collated header-file that can be placed in any include path in your project. After that, all features are available via `#include "cppspec.hpp"`.
11
+
C++Spec is available as a [single collated header-file]( that can be placed in any include path in your project. After that, all features are available via `#include "cppspec.hpp"`.
12
12
13
13
## Documentation ##
14
14
15
-
See [http://cppspec.readthedocs.org/]() for all documentation.
16
-
17
-
## Testing ##
15
+
See [http://cppspec.readthedocs.org/](http://cppspec.readthedocs.org/) for full documentation and a tutorial.
18
16
19
17
## Requirements ##
20
18
21
19
C++Spec requires a compiler with support for C++11 and polymorphic lambda expressions from C++14. This includes GCC >= 4.9, MSVCC >= 14.0, or clang >= 3.4. For other compilers check [this chart](http://en.cppreference.com/w/cpp/compiler_support).
22
20
23
21
__Note:__ Only the tests require being compiled with C++14 support (`-std=c++14`). No other part of an existing project's build must be modified.
24
22
23
+
## Introduction ##
24
+
25
+
If you've ever used RSpec or Jasmine, chances are you'll be familiar with C++Spec's syntax. For example, this is a C++Spec version of the first snippet on RSpec's [README](https://github.com/rspec/rspec-core/blob/master/README.md#basic-structure).
0 commit comments