mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 15:04:44 +01:00
tests: Add note about test suite naming convention
This commit is contained in:
parent
00d1680498
commit
7b4a296a71
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,8 @@ code.
|
||||||
- Constant names are all uppercase, and use `_` to separate words.
|
- Constant names are all uppercase, and use `_` to separate words.
|
||||||
- Class names, function names and method names are UpperCamelCase
|
- Class names, function names and method names are UpperCamelCase
|
||||||
(PascalCase). Do not prefix class names with `C`.
|
(PascalCase). Do not prefix class names with `C`.
|
||||||
|
- Test suite naming convention: The Boost test suite in file
|
||||||
|
`src/test/foo_tests.cpp` should be named `foo_tests`.
|
||||||
|
|
||||||
- **Miscellaneous**
|
- **Miscellaneous**
|
||||||
- `++i` is preferred over `i++`.
|
- `++i` is preferred over `i++`.
|
||||||
|
|
Loading…
Add table
Reference in a new issue