Module elli_test

Helper for calling your Elli callback in unit tests.

Authors: Andreas Hasselberg (andreas.hasselberg@gmail.com).

Description

Only the callback specified is actually run. Elli's response handling is not used, so the headers will for example not include a content length and the return format is not standardized. The unit tests below test elli_example_callback.

Function Index

call/5

Function Details

call/5


  call(Method, Path, Headers, Body, Opts) -> elli_handler:result()