Skip to content
Commit 7ea4643a authored by Nan Zhou's avatar Nan Zhou
Browse files

test treewide: apply test names best practices

1. test suite names are usually related to the function under tests, not
the whole source or header file
2. test case names should be verbose and describe the high level
behavior

This commits also splits test cases when they are for different
functions, and merges test cases when they are very similar.

Reference:
1. https://github.com/google/googletest/tree/main/googletest/samples
2. https://testing.googleblog.com/2007/02/tott-naming-unit-tests-responsibly.html



Signed-off-by: default avatarNan Zhou <nanzhoumails@gmail.com>
Change-Id: I498cb2076bbaa9f0829f50bca45a2e38a6f4ab7d
parent 38ead5e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment