Kazoo PropEr#

PropEr quickcheck models for various parts of Kazoo.

Crossbar#

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">>).

Ratedecks#

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

IPs#

Tests the dedicated IPs endpoint.

Edit this page here