[PUP-4079] investigate File Type high-priority tests Created: 2015/03/03  Updated: 2019/04/04  Resolved: 2015/04/01

Status: Resolved
Project: Puppet
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: Eric Thompson Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to PUP-4350 Add test(s) for the File resource rep... Closed
relates to PUP-4352 Add test(s) for the File resource sho... Closed
relates to PUP-4353 Add test(s) for the File resource sou... Closed
relates to PUP-4354 Add test(s) for the File resource val... Closed
relates to PUP-4343 Add test(s) for the File resource lin... Closed
relates to PUP-4344 Add test(s) for the File resource man... Closed
relates to PUP-4346 Add test(s) for the File resources SE... Closed
relates to PUP-4347 Add test(s) for the File resource ign... Closed
relates to PUP-4348 Add test(s) for the File resource pur... Closed
relates to PUP-4349 Add test(s) for the File resource rec... Closed
Template:
Story Points: 1
Sprint: Client 2015-03-18, Client 2015-04-01
QA Contact: Eric Thompson

 Description   

audit test coverage in spec/acceptance for the File Type.
add subtasks if any changes can be done in this sprint, otherwise add tickets to backlog.

https://testrail.ops.puppetlabs.net/index.php?/suites/view/349&group_by=cases:section_id&group_order=asc&group_id=13193



 Comments   
Comment by John Duarte [ 2015/03/05 ]

QA Risk assessment Not Applicable

Comment by Kurt Wall [ 2015/03/31 ]

Added PUP-4343 for the links attribute.

Comment by Kurt Wall [ 2015/03/31 ]

Added PUP-4344 for the manage_symlinks attribute.

Comment by Kurt Wall [ 2015/03/31 ]

Analysis and summary of File resource test coverage follows. After groveling through what attributes should be tested (based on the resource documentation) and comparing it to what seems to be tested in spec/{unit,integration}/* and acceptance/tests/*, here's my summary:

Well-Tested Attributes
----------------------
content -- tested in spec/* and acceptance/*
ensure -- tested in spec/* and acceptance/*
path -- tested in spec/* and acceptance/*
source -- tested in spec/* and acceptance/*
 
Lightly Tested Attributes
-------------------------
backup -- some tests around the backup attribute need to be rewritten
force -- not tested in spec/integration or acceptance/*
group -- no targeted tests in spec/integration or acceptance/tests
owner -- limited testing in spec/* and acceptance/*
provider -- limited testing in acceptance/tests and spec/integration
recurse -- limited tested in spec/* and acceptance/*
target -- not tested in spec/integration; only regressions in acceptance/tests
 
Untested Attributes
-------------------
ignore
link -- PUP-4343, C64301
manage_symlink -- PUP-4344, C64302
purge
recurselimit
replace
selinux_ignore_defaults
selrange
selrole
seltype
seluser
show_diff
source_permissions
sourceselect
validate_cmd
validate_replacement

Generated at Mon Dec 16 01:43:35 PST 2019 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.