|
1 | 1 | <a href="http://www.boost.org/LICENSE_1_0.txt" target="_blank"></a> |
2 | 2 | <a href="https://github.com/cpp-testing/GUnit/releases" target="_blank"></a> |
3 | | -<a href="https://github.com/cpp-testing/GUnit/actions/workflows/linux.yml" target="_blank"></a> |
| 4 | +<a href="https://github.com/cpp-testing/GUnit/actions/workflows/macos.yml" target="_blank"></a> |
| 5 | +<a href="https://github.com/cpp-testing/GUnit/actions/workflows/windows.yml" target="_blank"></a> |
6 | 6 | <a href="https://codecov.io/gh/cpp-testing/GUnit" target="_blank"></a> |
7 | 7 | <a href="http://github.com/cpp-testing/GUnit/issues" target="_blank"></a> |
8 | 8 |
|
|
30 | 30 |
|
31 | 31 | > #### No more base classes, labels as identifiers and special assertions - [GUnit.GTest](docs/GTest.md) / [GUnit.GTest-Lite](docs/GTest-Lite.md) |
32 | 32 | ```cpp |
33 | | - Google.Test | GUnit.GTest |
34 | | - -----------------------------------------------+---------------------------------------------------- |
| 33 | + Google.Test | GUnit.GTest |
| 34 | + -----------------------------------------------+----------------------------------------- |
35 | 35 | #include <gtest/gtest.h> | #include <GUnit.h> |
36 | 36 | | |
37 | 37 | struct CalcTest : testing::Test { | GTEST("Calc Test") { |
|
60 | 60 | [ OK ] CalcTest.ShouldReturnSumOf2Numbers| [ SHOULD ] return sum of 2 numbers |
61 | 61 | [ RUN ] CalcTest.ShouldThrowIfDivisionBy0 | [ SHOULD ] throw if division by 0 |
62 | 62 | [ OK ] CalcTest.ShouldThrowIfDivisionBy0 | [ OK ] Calc Test (0 ms) |
63 | | - [----------] 2 tests from CalcTest (1 ms total)| [----------] 1 tests from Example (0 ms total) |
| 63 | + [----------] 2 tests from CalcTest (1 ms total)| [----------] 1 tests from Example |
64 | 64 | ``` |
65 | 65 |
|
66 | 66 | > #### No more hand written mocks - [GUnit.GMock](docs/GMock.md) |
|
73 | 73 | }; |
74 | 74 | ``` |
75 | 75 | ```cpp |
76 | | - Google.Test | GUnit.GMock |
77 | | - -----------------------------------------------+---------------------------------------------------- |
| 76 | + Google.Test | GUnit.GMock |
| 77 | + -----------------------------------------------+-------------------------------------- |
78 | 78 | #include <gmock/gmock.h> | #include <GUnit.h> |
79 | 79 | | |
80 | 80 | struct mock_interface : interface { | |
|
0 commit comments