Issue #8663 has been updated by Josh Cooper.

Status changed from Accepted to Merged - Pending Release
% Done changed from 0 to 100

The majority of spec tests now pass on Windows. The ones that fail, fall into 
one of three buckets. 

Some tests have been disabled using an rspec :unless => 
Puppet.features.microsoft_windows? exclude filter, because they test 
functionality that is not supported on Windows, e.g. running as master. 

The next bucket are tests that fail because the provider is not implemented 
yet. These tests are marked with "fails_on_windows". There are also tickets 
filed to implement these providers, e.g. implement exec provider, and as this 
functionality is added, the "fails_on_windows" tag will be removed (so that 
they are run as part of the normal rspec test suite). These tests can be run as:

<pre>
rspec --tag fails_on_windows spec
</pre>

The last bucket are tests that fail due to known bugs, e.g. UNC paths, and 
corresponding tickets have been created to investigate further. These failures 
can be seen by excluding the fails_on_windows tests:

<pre>
rspec --tag ~fails_on_windows spec
</pre>

As we finalize windows support, all of the fails_on_windows tags should be 
removed (so that all tests either pass or are disabled due to unsupported 
functionality).
----------------------------------------
Bug #8663: Get spec tests running on Windows
https://projects.puppetlabs.com/issues/8663

Author: Josh Cooper
Status: Merged - Pending Release
Priority: Normal
Assignee: Josh Cooper
Category: windows
Target version: Telly
Affected Puppet version: 
Keywords: 
Branch: 


Over 2500 spec tests fail on Windows. Need to determine whether failing tests 
should be supported on Windows. For example, we are not supporting server 
functionality on Windows, in which case those tests should be disabled when 
running on Windows. 

Otherwise, figure out whether the test is broken, or if the code it is testing 
is broken.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to