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

    • 44111
    • 1
    • New Feature
    • 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`
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support