Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 1.36 KB

elli_test.md

File metadata and controls

39 lines (22 loc) · 1.36 KB

Module elli_test

Helper for calling your Elli callback in unit tests.

Authors: Andreas Hasselberg ([email protected]).

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