Plug.Test

Parsed documentation:
View on GitHub
Conveniences for testing plugs.

This module can be used in your test cases, like this:

    use ExUnit.Case, async: true
    use Plug.Test

Using this module will:

  * import all the functions from this module
  * import all the functions from the `Plug.Conn` module

By default, Plug tests checks for invalid header keys, e.g. header keys which
include uppercase letters, and raises a `Plug.Conn.InvalidHeaderError` when it finds one.
To disable it, set :validate_header_keys_during_test to false on the app config.

    config :plug, :validate_header_keys_during_test, true
No suggestions.
Please help! Open an issue on GitHub if this assessment is incorrect.