buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Donald (JIRA)" <>
Subject [jira] Created: (BUILDR-535) Failing "checks" produce no meaningful errors
Date Wed, 13 Oct 2010 06:04:32 GMT
Failing "checks" produce no meaningful errors 

                 Key: BUILDR-535
             Project: Buildr
          Issue Type: Bug
          Components: Test frameworks
    Affects Versions: 1.4.2
            Reporter: Peter Donald
             Fix For: 1.4.3

Adding checks to build are expected to cause the build to fail with a meaningful failure reason.
However it looks like the method "Object.error" is redefined somewhere and thus when the check
fails it results in an exception such as 

"Buildr aborted!
ArgumentError : wrong # of arguments(1 for 0)"

An example build file exhibiting this failure:


define 'foo' do
  project.version = '1.0' = 'foo'
  package :jar
  check package(:jar), 'should fail' do
    it.should contain('META-INF/MANIFEST.MF_not_exist')

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message