Credo.Test.Case.run_check
You're seeing just the function
run_check
, go back to Credo.Test.Case module for more information.
Runs the given check
on the given source_file
using the given params
.
"x = 5"
|> to_source_file()
|> run_check(MyProject.MyCheck, foo_parameter: "bar")