You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this correct but by default exported test cases what included into all() function is not ignored. Eg test case hallo(_Config) -> ok. looks like should be ignored if this function is exported and added into group tests etc.
Regards,
--V
The text was updated successfully, but these errors were encountered:
On the other hand, if you're using a modern-enough version of OTP (one that includes @paulo-ferraz-oliveira's erlang/otp#2794) you can simply add -behavior(ct_suite). to all your suites and be done with it :)
@pbrudnick@diegomanuel:
Before OTP 23.2 (where there is no need to ignore anything), the only way I can think to figure out if a module is a common test suite and therefore its functions shouldn't be checked by the unnecessary_function_arguments rule is to check if it's called *_SUITE.
Do you think that's an acceptable ignore rule to add? It will be similar to the one in unused_configuration_options to ignore elvis.config, rebar.config, etc.
Hi All,
Not sure if this correct but by default exported test cases what included into all() function is not ignored. Eg test case
hallo(_Config) -> ok.
looks like should be ignored if this function is exported and added into group tests etc.Regards,
--V
The text was updated successfully, but these errors were encountered: