Skip to content

Kazoo PropEr#

PropEr quickcheck models for various parts of Kazoo.


I like to set console level to critical (chatty otherwise): kazoo_maintenance:console_level(critical).

After each quickcheck, I like to clean soft-deleted account docs from the accounts database: kt_cleanup:cleanup_soft_deletes(<<"accounts">>).

Also, clearing the data traces is good to do: kz_data_tracing:clear_all_traces().

Phone Numbers#

Tests the phone_numbers API

Sequential tests: proper:quickcheck(pqc_cb_phone_numbers:correct()). Parallel tests: proper:quickcheck(pqc_cb_phone_numbers:correct_parallel()).

Cleanup deleted account docs: kt_cleanup:cleanup_soft_deletes(<<"accounts">>).


Tests the ratedeck upload task and rating a DID against account-vs-system ratedecks.

Run a quick sequential test: pqc_cb_rates:seq()


Tests the dedicated IPs endpoint.


Tests fetching recordings