Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
dsc_lite 0.2
-
None
-
- 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
- blocks
-
MODULES-6474 dsc_lite: Add testmode switcher for acceptance/integration tests
-
- Resolved
-
-
MODULES-6571 dsc_lite : Convert Beaker test suite from vanilla Beaker to beaker-rspec
-
- Resolved
-
- relates to
-
MODULES-6133 dsc_lite: SPIKE Evaluate Beaker test suite for refactoring
-
- Resolved
-