-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect Docs for CT all/0 and groups/0 callback functions. #6951
Comments
Additionally, the example at: https://www.erlang.org/doc/apps/common_test/write_test_chapter.html#test-case-groups should be wrapped in a list.
|
Thanks. You might be right, I remember being confused when reading that part as well. We will have a look, but it might take some time because of priorities. |
|
Hi @u3s and thanks for looking at this. That is correct, I meant |
Also updated the link to: https://www.erlang.org/doc/apps/common_test/write_test_chapter.html#test-case-groups Where you can see a reference to |
There's some history related to |
I've attached a PR to address this issue. I tried to follow previous agreements (and basically not use any of *_ref types in docs explicitly).
What do you mean by that? @paulo-ferraz-oliveira - thanks for historical reference, it helped. |
The docs for ct_suite seem to contain inconsistent information.
For example, the
ct_test_def()
definition does not include thect_testcase_ref()
option which, instead, is available.The
ct_testcase_ref()
option is explicitly mentioned in the guide on how to write a test suite.Same goes for
ct_group_ref()
.The text was updated successfully, but these errors were encountered: