otp
otp copied to clipboard
doc: add missing syntax case to Test Case Groups
ThisPR adds a missing case on how to write test case groups. The missing case is that one can perform function calls at any point of the test case group as long as the result of the function call returns a
GroupsAndTestCases` (Syntax for the Erlang TestCaseGroup docs).
The following example follows, which is also used in the OTP code:
groups() ->
[
{http, [], real_requests()}
]
CT Test Results
2 files 58 suites 1h 26m 23s :stopwatch: 442 tests 430 :heavy_check_mark: 12 :zzz: 0 :x: 476 runs 461 :heavy_check_mark: 15 :zzz: 0 :x:
Results for commit e072e71c.
:recycle: This comment has been updated with latest results.
To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.
See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.
Artifacts
// Erlang/OTP Github Action Bot
thanks for the feedback @bjorng , I made the appropriate changes :)