Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-6572

dsc_lite : Minor test suite refactors

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • dsc_lite 0.2
    • None
    • dsc_lite
      • Implement everything on the checklist in the description
    • Windows
    • 1
    • Windows 2018-06-20, Windows 2018-06-27
    • Needs Assessment

    Description

      Make minor improvements to the acceptance suite in preparation for introduction of testmode_switcher in MODULES-6474 and the conversion to beaker-rspec in MODULES-6571. This is mostly about tech debt / cleanup for the sake of maintenance.

      This includes:

      • Move PuppetFakeResource fixtures into a new layout so that instead of dsc_puppetfakeresource/PuppetFakeResource and dsc_puppetfakeresource/PuppetFakeResource2 the files are setup like dsc_puppetfakeresource/PuppetFakeResource/1.0 and dsc_puppetfakeresource/PuppetFakeResource/2.0. This will require updating helpers and other test code
      • Adding a helper to return just windows_agents to remove Windows specific confines, like https://github.com/puppetlabs/puppetlabs-acl/blob/master/spec/spec_helper_acceptance.rb#L31-L33 and incorporating it into existing tests
      • Remove the puppet_apply_debug_dsc_manifest, potentially add debug output to the puppet_apply_dsc_manifest to check for some basic emittance of powershell debug
      • RemoveĀ alternate_path_separator test
      • RenameĀ uninstall_fake_reboot_resource / install_fake_reboot_resource to something more meaningful given these test fixtures are used in every test as general purpose fixtures

      Attachments

        Issue Links

          Activity

            People

              michael.lombardi Michael Lombardi
              ethan Ethan Brown
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support