Issue #3523 has been updated by Luke Kanies.

Assigned to set to Mathias Gug

Mathias - it looks like you're just copying over the old test/ tests, not the 
newer specs.

You're *much* better off copying over the 'spec' tests, since we're moving 
everything we can to that style, and there are far more tests there than in 
test/.  At the least, if your goal is to actually test the system, running 
spec/ is required.

I agree, though, that it's reasonable for tests to work outside of the repo, 
although that's not been a use case for us before.

And we'd definitely accept a patch that dynamically determined the location of 
the test dir.
----------------------------------------
Bug #3523: Unit test error: 
test_data_parsing_and_generating(TestMailaliasAliasesProvider): 
Puppet::DevError: No fakedata matching /usr/share/test/data/types/mailalias/*
http://projects.puppetlabs.com/issues/3523

Author: Mathias Gug
Status: Needs more information
Priority: Normal
Assigned to: Mathias Gug
Category: testing
Target version: 
Affected version: 0.25.4
Keywords: 
Branch: 


While trying to run the puppet unittest on Ubuntu Lucid the following error was 
thrown:

  7) Error:
test_data_parsing_and_generating(TestMailaliasAliasesProvider):
Puppet::DevError: No fakedata matching /usr/share/test/data/types/mailalias/*
    /usr/share/puppet-testsuite/lib/puppettest/support/utils.rb:160:in 
`fakedata'
    ./ral/providers/mailalias/aliases.rb:50:in 
`test_data_parsing_and_generating'
    
/usr/lib/ruby/1.8/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in
 `__send__'
    
/usr/lib/ruby/1.8/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in
 `run'


-- 
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