BIND 10 #2480: use real data sources in auth QueryTest
BIND 10 Development
do-not-reply at isc.org
Tue Nov 13 16:58:37 UTC 2012
#2480: use real data sources in auth QueryTest
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner:
Type: defect | Status: new
Priority: medium | Milestone: Next-
Component: b10-auth | Sprint-Proposed
Sensitive: 0 | Keywords:
Sub-Project: DNS | Defect Severity: N/A
Estimated Difficulty: 0 | Feature Depending on Ticket:
Total Hours: 0 | Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Currently bin/auth `QueryTest` only uses the mock data source and its
zone finder. We need the mock to test some tricky/unusual cases, but
for normal cases we should also use real data sources, at least
the in-memory (only the new version should be enough), and preferably
database-based one (which currently means SQLite3).
I guess it's not difficult to extend the current cases using
value-parameterized tests (TEST_P) or type-parameterized tests
(TYPED_TEST), skipping some specific cases with the real data sources
if they only work with the mock.
We should also unify the extension introduced in #2471, where only
one test case was extended for the in-memory implementation.
--
Ticket URL: <http://bind10.isc.org/ticket/2480>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list