version 0.0.1
created by: thinhnp
Library:
+
+ https://brain-wp.github.io/BrainMonkey/ - PHP and WordPress functions mock
Folder structure:
__dev__/tests/class-folder-name/test-<php-file-name>.php

Test class naming: <business-class-name>Test
Example: PWV_Constants_Test
Test function naming: test_<function>_<condition>_<result>
Example: test-get_pwv_cookie_return_right_data
GWT pattern: Given - When - Then

Region: you can group the test cases for functions by using region
#region test-case-1
...
#endregion
