Conventions¶
As mentioned elsewhere, all function not within a
test_*.py
file should have doctest tests.Frost tests are expected to support the
--json
option by ensuring ids used inpytest.mark.parametrize
contain sufficient information for downstream processing.
All data access routines should respect the
--offline
command line option that is afrost
extension. The value of--offline
is passed as a value to the “client” constructor.If you do not properly implement this option, you will break “
make doctest
” for everything. (I.e. you’re advised to run “make doctest
” early & often while implementing a new service.)