Uploaded image for project: 'Puppet Development Kit'
  1. Puppet Development Kit
  2. PDK-1175

Add the ability for PDK to generate a missing unit or class spec test skeleton

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDK 1.13.0
    • Component/s: None
    • Template:
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Hide
      A new experimental command "pdk new unit_test" has been added. The interface for this command is still being finalized and will likely change before the command is fully enabled in the next release. For more information, please run `pdk new unit_test --help`
      Show
      A new experimental command "pdk new unit_test" has been added. The interface for this command is still being finalized and will likely change before the command is fully enabled in the next release. For more information, please run `pdk new unit_test --help`
    • QA Risk Assessment:
      Needs Assessment

      Description

      When I run pdk convert i would like to see pdk parse the manifests (lib later) folder and create a unit || defined spec for each class if one does not exist from the template

      I would like to see `pdk new` support `pdk new test unit || provider||defined` which generates a unit or classes test from the template for a manifest with or without (via a flag) validation the manifest or class exists

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tim.sharpe Tim Sharpe
              Reporter:
              adam.buxton Adam Buxton
              Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support