Module z_sitetest

Run site-specific tests in an isolated database schema.

Copyright © 2016 Arjan Scherpenisse

Authors: Arjan Scherpenisse (arjan@miraclethings.nl).

Description

Run site-specific tests in an isolated database schema

Function Index

is_watching/1Returns whether the given site is being watched for sitetest runs.
run/1Run all *_sitetest.erl tests for the given site.
run/2Run the given _sitetest eunit modules for the given site.
unwatch/1Stop the sitetests from being run when Erlang modules in the site are recompiled.
watch/1Start watching the given site for .erl file changes.

Function Details

is_watching/1

is_watching(Site) -> any()

Returns whether the given site is being watched for sitetest runs.

run/1

run(Site) -> any()

Run all *_sitetest.erl tests for the given site.

run/2

run(Site, Modules) -> any()

Run the given _sitetest eunit modules for the given site.

unwatch/1

unwatch(Site) -> any()

Stop the sitetests from being run when Erlang modules in the site are recompiled.

watch/1

watch(Site) -> any()

Start watching the given site for .erl file changes. As soon as any Erlang module inside the watched site is recompiled, all sitetests are run.


Generated by EDoc