Skip to content

Commit

Permalink
eunit: exact_execution option
Browse files Browse the repository at this point in the history
- option for avoiding automatic execution of a module with "_tests" suffix
  • Loading branch information
u3s authored and richcarl committed Feb 2, 2025
1 parent 6dcf2ab commit 38d31d2
Show file tree
Hide file tree
Showing 5 changed files with 149 additions and 139 deletions.
5 changes: 5 additions & 0 deletions src/eunit.erl
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,11 @@ test(Tests) ->
%% <dd>Displays more details about the running tests.</dd>
%% <dt>`print_depth'</dt>
%% <dd>Maximum depth to which terms are printed in case of error.</dd>
%% <dt>`exact_execution'</dt>
%% <dd>If this boolean flag is set to `true' framework will
%% not automatically execute tests found in related module suffixed with "_tests".
%% This behaviour might be unwanted if execution of modules found in a folder
%% is ordered while it contains both source and test modules.</dd>
%% </dl>
%%
%% Options in the environment variable EUNIT are also included last in
Expand Down
Loading

0 comments on commit 38d31d2

Please sign in to comment.