Opened 8 years ago

Closed 7 years ago

#1468 closed enhancement (fixed)

Better tests are needed for dhcpv6_srv class

Reported by: tomek Owned by:
Priority: low Milestone: Sprint-DHCP-20121213
Component: dhcp6 Version:
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no


In particular, following methods require testing:

  • constructor
  • processSolicit
  • processRequest
  • processRenew
  • processRebind
  • processConfirm
  • processRelease
  • processDecline
  • processInfRequest

Many of those functions do not have implementations yet, so the way to go is probably to implement tests, but keep them disabled for now.


Change History (1)

comment:1 Changed 7 years ago by tomek

  • Milestone changed from DHCP Outstanding Tasks to Sprint-DHCP-20121213
  • Resolution set to fixed
  • Status changed from new to closed

Test methods are added as support for each packet type is implemented.

There are currently 13 tests implemented for dhcpv6_srv and many of them include several subcases. Sure, additional tests could be written, but the current state of affairs does not warrant a separate ticket.


Note: See TracTickets for help on using tickets.