Plausible
v0.0.1
Pages
Modules
Mix
Tasks
Search documentation of Plausible
Settings
View Source
Plausible.TestUtils
(Plausible v0.0.1)
Summary
Functions
await_clickhouse_count(query, expected)
create_api_key(map)
create_legacy_site_import(map)
create_new_site(map)
create_pageviews(pageviews)
create_site(map)
create_site_import(opts)
create_user(_)
ensure_minio()
eventually(expectation, wait_time_ms \\ 50, retries \\ 10)
generate_usage_for(site, i, timestamp \\ NaiveDateTime.utc_now())
init_session(conn)
log_in(map)
maybe_fake_minio(context)
minio_running?()
patch_env(env_key, value)
populate_stats(events)
populate_stats(site, events)
populate_stats(site, import_id, events)
random_ip()
relative_time(shifts)
setup_patch_env(env_key, value)
to_naive_truncate(dt)
use_api_key(map)
Functions
Link to this function
await_clickhouse_count(query, expected)
View Source
Link to this function
create_api_key(map)
View Source
Link to this function
create_legacy_site_import(map)
View Source
Link to this function
create_new_site(map)
View Source
Link to this function
create_pageviews(pageviews)
View Source
Link to this function
create_site(map)
View Source
Link to this function
create_site_import(opts)
View Source
Link to this function
create_user(_)
View Source
Link to this function
ensure_minio()
View Source
Link to this function
eventually(expectation, wait_time_ms \\ 50, retries \\ 10)
View Source
Link to this function
generate_usage_for(site, i, timestamp \\ NaiveDateTime.utc_now())
View Source
Link to this function
init_session(conn)
View Source
Link to this function
log_in(map)
View Source
Link to this function
maybe_fake_minio(context)
View Source
Link to this function
minio_running?()
View Source
Link to this macro
patch_env(env_key, value)
View Source
(macro)
Link to this function
populate_stats(events)
View Source
Link to this function
populate_stats(site, events)
View Source
Link to this function
populate_stats(site, import_id, events)
View Source
Link to this function
random_ip()
View Source
Link to this function
relative_time(shifts)
View Source
Link to this macro
setup_patch_env(env_key, value)
View Source
(macro)
Link to this function
to_naive_truncate(dt)
View Source
Link to this function
use_api_key(map)
View Source