Opened 3 years ago

Last modified 2 years ago

#5346 new enhancement

Automate get-config test generation

Reported by: tomek Owned by:
Priority: low Milestone: Outstanding Tasks
Component: tests Version: git
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


Francis developed a really cool mechanism that extracts configs used in other tests, generates a list of them and then checks that all of them can be parsed and unparsed.

However, this procedure is manual and has to be conducted every time something changes in the configuration handling (e.g. recently interface and interface-id fields were made optional).

The manual aspect of this procedure is problematic and should be automated.

Ideally, there should be some makefile target that would regenerate the files.

For details, see src/bin/dhcpX/tests/ The comment at the beginning explains the procedure.


Change History (2)

comment:1 Changed 3 years ago by marcin

  • Milestone changed from Kea-proposed to Kea1.3

Moving to Kea 1.3 as low per Kea team meeting on August 10th, 2017.

comment:2 Changed 2 years ago by tomek

  • Milestone changed from Kea1.3 to Outstanding Tasks
Note: See TracTickets for help on using tickets.