mix ecto_doctor.install (Ecto Doctor v0.0.1)

Copy Markdown View Source

Sets Ecto Doctor up in your app.

mix ecto_doctor.install

It only adds lines and prints what it couldn't do.

  • It turns on stacktrace: true for each repo in config/dev.exs and config/test.exs.
  • It attaches N+1 detection in test/test_helper.exs.
  • It scans every test from test/support/data_case.ex and test/support/conn_case.ex.