Plausible
v0.0.1
Pages
Modules
Mix
Tasks
Search documentation of Plausible
Settings
View Source
Plausible.TestUtils
(Plausible v0.0.1)
Summary
Functions
add_imported_data(map)
await_clickhouse_count(query, expected)
create_api_key(map)
create_new_site(map)
create_pageviews(pageviews)
create_site(map)
create_user(_)
eventually(expectation, wait_time_ms \\ 50, retries \\ 10)
generate_usage_for(site, i, timestamp \\ NaiveDateTime.utc_now())
init_session(conn)
log_in(map)
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
add_imported_data(map)
View Source
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_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_user(_)
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 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