← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1604798] [NEW] Use DDT library to reduce code duplication

 

Public bug reported:

Use DDT library to reduce code duplication

DDT can ease up error tracing and autogenerates tests on basis of different input data.
It allows to multiply one test case by running it with different test data, and make it
appear as multiple test cases. This will help to reduce code duplication.

Please refer example use: 
http://ddt.readthedocs.io/en/latest/example.html

Currently DDT is implemented in openstack/cinder and openstack/rally.

** Affects: nova
     Importance: Undecided
     Assignee: Dinesh Bhor (dinesh-bhor)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Dinesh Bhor (dinesh-bhor)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1604798

Title:
  Use DDT library to reduce code duplication

Status in OpenStack Compute (nova):
  New

Bug description:
  Use DDT library to reduce code duplication

  DDT can ease up error tracing and autogenerates tests on basis of different input data.
  It allows to multiply one test case by running it with different test data, and make it
  appear as multiple test cases. This will help to reduce code duplication.

  Please refer example use: 
  http://ddt.readthedocs.io/en/latest/example.html

  Currently DDT is implemented in openstack/cinder and openstack/rally.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1604798/+subscriptions


Follow ups