BIND 10 #2721: Write unit test for Ticket 2719

BIND 10 Development do-not-reply at isc.org
Thu Feb 28 17:35:03 UTC 2013


#2721: Write unit test for Ticket 2719
-------------------------------------+-------------------------------------
            Reporter:  jwright       |                        Owner:  tmark
                Type:  task          |                       Status:
            Priority:  medium        |  accepted
           Component:  Unclassified  |                    Milestone:
            Keywords:                |  Sprint-DHCP-20130228
           Sensitive:  0             |                   Resolution:
         Sub-Project:  DHCP          |                 CVSS Scoring:
Estimated Difficulty:  0             |              Defect Severity:  N/A
         Total Hours:  0             |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by tmark):

 The existing tests use the Dhcp6SvrTest test_fixture class. This class
 provides
 functionality for conducting tests based upon a canned, pre-configured v6
 subnet.
 Since the new tests needed to be performed against an "empty"
 configuration,
 I split out the common functionality into a base class text fixture,
 NakedDhcp6SvrTest,
 and altered Dhcp6SvrTest to derive from it.   The new base class has no
 pre-configuration.  What remains in Dhcp6SvrTest is geared solely towards
 tests against
 a valid, canned, configuration.

 The new test_fixture NakedDhcp6SrvTest is used for the following new
 tests:

  1. SolicitNoSubnet checks response to a SOLICIT w/o subnet defined
  2. RequestNoSubnet checks response to a REQUEST w/o subnet defined
  3. RenewNoSubnet checks response to a RENEW w/o subnet defined
  4. ReleaseNoSubnet checks response to a RELEASE w/o subnet defined

-- 
Ticket URL: <http://bind10.isc.org/ticket/2721#comment:3>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list