Credo.Test.Case.run_check

You're seeing just the function run_check, go back to Credo.Test.Case module for more information.
Link to this function

run_check(source_file, check, params \\ [])

View Source

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")