mirror of
https://github.com/google/googletest.git
synced 2024-12-26 17:41:03 +08:00
Merge pull request #4260 from pratyush3757:readme_table_fix
PiperOrigin-RevId: 537887202 Change-Id: I4a52ec0da24f043eba0aa1a9d7945066c799ce8a
This commit is contained in:
commit
23f642ab23
67
README.md
67
README.md
@ -52,40 +52,39 @@ documentation. We recommend starting with the
|
|||||||
More information about building GoogleTest can be found at
|
More information about building GoogleTest can be found at
|
||||||
[googletest/README.md](googletest/README.md).
|
[googletest/README.md](googletest/README.md).
|
||||||
|
|
||||||
| Feature | Description |
|
## Features
|
||||||
| ---------------------------- | --------------------------------------------- |
|
|
||||||
| xUnit test framework | Googletest is based on the |
|
* xUnit test framework: \
|
||||||
: : [xUnit](https\://en.wikipedia.org/wiki/XUnit) :
|
Googletest is based on the [xUnit](https://en.wikipedia.org/wiki/XUnit)
|
||||||
: : testing framework, a popular architecture for :
|
testing framework, a popular architecture for unit testing
|
||||||
: : unit testing :
|
* Test discovery: \
|
||||||
| Test discovery | Googletest automatically discovers and runs |
|
Googletest automatically discovers and runs your tests, eliminating the need
|
||||||
: : your tests, eliminating the need to manually :
|
to manually register your tests
|
||||||
: : register your tests :
|
* Rich set of assertions: \
|
||||||
| Rich set of assertions | Googletest provides a variety of assertions, |
|
Googletest provides a variety of assertions, such as equality, inequality,
|
||||||
: : such as equality, inequality, exceptions, and :
|
exceptions, and more, making it easy to test your code
|
||||||
: : more, making it easy to test your code :
|
* User-defined assertions: \
|
||||||
| User-defined assertions | You can define your own assertions with |
|
You can define your own assertions with Googletest, making it simple to
|
||||||
: : Googletest, making it simple to write tests :
|
write tests that are specific to your code
|
||||||
: : that are specific to your code :
|
* Death tests: \
|
||||||
| Death tests | Googletest supports death tests, which verify |
|
Googletest supports death tests, which verify that your code exits in a
|
||||||
: : that your code exits in a certain way, making :
|
certain way, making it useful for testing error-handling code
|
||||||
: : it useful for testing error-handling code :
|
* Fatal and non-fatal failures: \
|
||||||
| Fatal and non-fatal failures | You can specify whether a test failure should |
|
You can specify whether a test failure should be treated as fatal or
|
||||||
: : be treated as fatal or non-fatal with :
|
non-fatal with Googletest, allowing tests to continue running even if a
|
||||||
: : Googletest, allowing tests to continue :
|
failure occurs
|
||||||
: : running even if a failure occurs :
|
* Value-parameterized tests: \
|
||||||
| Value-parameterized tests | Googletest supports value-parameterized |
|
Googletest supports value-parameterized tests, which run multiple times with
|
||||||
: : tests, which run multiple times with :
|
different input values, making it useful for testing functions that take
|
||||||
: : different input values, making it useful for :
|
different inputs
|
||||||
: : testing functions that take different inputs :
|
* Type-parameterized tests: \
|
||||||
| Type-parameterized tests | Googletest also supports type-parameterized |
|
Googletest also supports type-parameterized tests, which run with different
|
||||||
: : tests, which run with different data types, :
|
data types, making it useful for testing functions that work with different
|
||||||
: : making it useful for testing functions that :
|
data types
|
||||||
: : work with different data types :
|
* Various options for running tests: \
|
||||||
| Various options for running | Googletest provides many options for running |
|
Googletest provides many options for running tests including running
|
||||||
: tests : tests, including running individual tests, :
|
individual tests, running tests in a specific order, and running tests in
|
||||||
: : running tests in a specific order, and :
|
parallel
|
||||||
: : running tests in parallel :
|
|
||||||
|
|
||||||
## Supported Platforms
|
## Supported Platforms
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user