Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion RSpec testing

Received: by 10.227.35.79 with SMTP id o15mr265552wbd.10.1316724818666;
        Thu, 22 Sep 2011 13:53:38 -0700 (PDT)
X-BeenThere: buildr-as3@googlegroups.com
Received: by 10.227.200.140 with SMTP id ew12ls12458258wbb.3.gmail; Thu, 22
 Sep 2011 13:53:37 -0700 (PDT)
Received: by 10.227.156.204 with SMTP id y12mr220648wbw.10.1316724817809;
        Thu, 22 Sep 2011 13:53:37 -0700 (PDT)
Received: by 10.227.156.204 with SMTP id y12mr220647wbw.10.1316724817787;
        Thu, 22 Sep 2011 13:53:37 -0700 (PDT)
Return-Path: <dominic.grae...@gmail.com>
Received: from mail-ww0-f47.google.com (mail-ww0-f47.google.com [74.125.82.47])
        by gmr-mx.google.com with ESMTPS id fg13si3222821wbb.0.2011.09.22.13.53.37
        (version=TLSv1/SSLv3 cipher=OTHER);
        Thu, 22 Sep 2011 13:53:37 -0700 (PDT)
Received-SPF: pass (google.com: domain of dominic.grae...@gmail.com designates 74.125.82.47 as permitted sender) client-ip=74.125.82.47;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of dominic.grae...@gmail.com designates 74.125.82.47 as permitted sender) smtp.mail=dominic.grae...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by mail-ww0-f47.google.com with SMTP id 5so2351812wwe.28
        for <buildr-as3@googlegroups.com>; Thu, 22 Sep 2011 13:53:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=date:from:to:message-id:in-reply-to:references:subject:x-mailer
         :mime-version:content-type;
        bh=qVQ5yJBK0HmKH/OHFdvndx4OGhSyv6q+iQZWZ8mRwpU=;
        b=vkn51zglxnInqNE/6DcuY310+fxVOyI22s0BZx8mpW0WmCljl/wa/NEhzgS6OTvVpo
         umjIkqdEKrt5FSji5g2HUQDP3fSRpJMYmur9bxFVnUPWbxiiF34543kO6mMNlUN0K03D
         k+rcQQbGOVJsz1Y/gummJMwxMx3QA5bFZndh0=
Received: by 10.227.11.12 with SMTP id r12mr1141943wbr.26.1316724817657;
        Thu, 22 Sep 2011 13:53:37 -0700 (PDT)
Return-Path: <dominic.grae...@gmail.com>
Received: from MBP.local (g99211.upc-g.chello.nl. [80.57.99.211])
        by mx.google.com with ESMTPS id en9sm13217351wbb.24.2011.09.22.13.53.36
        (version=TLSv1/SSLv3 cipher=OTHER);
        Thu, 22 Sep 2011 13:53:36 -0700 (PDT)
Date: Thu, 22 Sep 2011 22:53:34 +0200
From: Dominic Graefen <dominic.grae...@gmail.com>
To: buildr-as3@googlegroups.com
Message-ID: <3435F04376634577AC1F3587CE833...@gmail.com>
In-Reply-To: <374AD09C45494631A1FE19FC7040D...@gmail.com>
References: <A503DFB2B95F45C9AA31D59B1EC46...@gmail.com>
 <28648168.120.1316694870674.JavaMail.geo-discussion-forums@yqgn17>
 <D98458CABA874717909A4C8B42D03...@gmail.com>
 <FF163511756545C28EF5D0EED19C3...@gmail.com>
 <374AD09C45494631A1FE19FC7040D...@gmail.com>
Subject: Re: RSpec testing
X-Mailer: sparrow 1.3.2 (build 814.60)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="4e7ba04e_51cb0da4_137"

--4e7ba04e_51cb0da4_137
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

It seems I could solve the problem and we now have even the spec helpers from buildr working. 

Commt: https://github.com/devboy/buildr_as3/commit/8c752064123b1435dd438b85fdcdf6dc2a9005cd

Let's start testing :) 

-- 
Dominic Graefen
Freelance: Interactive Developer / Creative Technologist
devboy.org


On Thursday, September 22, 2011 at 6:12 PM, Dominic Graefen wrote:

> I've asked a question on the buildr dev mailing-list regarding this, let's see if they can help out. 
> 
> You can find my entry here: http://buildr.markmail.org/search/list:dev#query:list%3Adev+page:1+mid:nieahcqfw5btwpoj+state:results 
> 
> -- 
> Dominic Graefen
> Freelance: Interactive Developer / Creative Technologist
> devboy.org (http://devboy.org)
> 
> 
> On Thursday, September 22, 2011 at 4:54 PM, Dominic Graefen wrote:
> 
> > So as soon as I add require 'buildr' into some place in the specs I am facing this error: 
> > 
> > ( ~/Development/Source/Ruby/buildr_as3 )
> > devboy > bundle exec rake spec
> > (in /Users/devboy/Development/Source/Ruby/buildr_as3)
> > rm -rf /Users/devboy/Development/Source/Ruby/buildr_as3/test/report
> > /Users/devboy/.rvm/rubies/ruby-1.9.2-p180/bin/ruby -S bundle exec rspec "spec/as3/mxml_spec.rb"
> > /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.rb:2503:in `const_missing': uninitialized constant Buildr::RSpec::Matchers (NameError)
> > from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/backward_compatibility.rb:20:in `const_missing'
> > from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-expectations-2.1.0/lib/rspec/matchers/dsl.rb:21:in `<top (required)>'
> > from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-expectations-2.1.0/lib/rspec/matchers/be.rb:1:in `require'
> > from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-expectations-2.1.0/lib/rspec/matchers/be.rb:1:in `<top (required)>'
> > from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-expectations-2.1.0/lib/rspec/matchers.rb:172:in `require'
> > from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-expectations-2.1.0/lib/rspec/matchers.rb:172:in `<top (required)>'
> > from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-expectations-2.1.0/lib/rspec/expectations.rb:2:in `require'
> > from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-expectations-2.1.0/lib/rspec/expectations.rb:2:in `<top (required)>'
> > from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/expecting/with_rspec.rb:1:in `require'
> > from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/expecting/with_rspec.rb:1:in `<top (required)>'
> > from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/configuration.rb:144:in `require'
> > from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/configuration.rb:144:in `require_expectation_framework_adapter'
> > from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/configuration.rb:329:in `configure_expectation_framework'
> > from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/command_line.rb:20:in `run'
> > from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/runner.rb:55:in `run_in_process'
> > from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/runner.rb:46:in `run'
> > from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/runner.rb:10:in `block in autorun'
> > rake aborted!
> > ruby -S bundle exec rspec "spec/as3/mxml_spec.rb" failed
> > 
> > 
> > 
> > Not sure on how I can make this work, this is by the way the same error I had before. So if I can fix this we might be able to still use the helpers I was trying before.
> > -- 
> > Dominic Graefen
> > Freelance: Interactive Developer / Creative Technologist
> > devboy.org (http://devboy.org)
> > 
> > 
> > On Thursday, September 22, 2011 at 4:33 PM, Dominic Graefen wrote:
> > 
> > > I've been trying to rip some parts out but I am getting mysterious errors: https://github.com/devboy/buildr_as3/commit/a1707d9a109f9b3386eb4c6c8fe04c31bb74251d#commitcomment-605155 
> > > 
> > > Might actually need to write this from scratch ... 
> > > 
> > > -- 
> > > Dominic Graefen
> > > Freelance: Interactive Developer / Creative Technologist
> > > devboy.org (http://devboy.org)
> > > 
> > > 
> > > On Thursday, September 22, 2011 at 2:34 PM, devboy wrote:
> > > 
> > > > I've just tried this out and came to the conclusion that this doesn't make much sense as it will include too much bagagge of buildr itself which will only make our testing process harder.
> > > > I'll try and see which parts are useful for buildr-as3 testing and take them over and we will stay independent of buildr test-helpers.
> > > > 
> > > > 
> > > > 
> > > 
> > > 
> > 
> 


--4e7ba04e_51cb0da4_137
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline


                <div><span class=3D=22Apple-style-span=22 style=3D=22font=
-size: 14px;=22>It seems I could solve the problem and we now have even t=
he spec helpers from buildr working.</span>
                </div><div><span class=3D=22Apple-style-span=22 style=3D=22=
font-size: 14px;=22><br></span></div><div><span class=3D=22Apple-style-sp=
an=22 style=3D=22font-size: 14px;=22>Commt:&nbsp;</span><a href=3D=22http=
s://github.com/devboy/buildr=5Fas3/commit/8c752064123b1435dd438b85fdcdf6d=
c2a9005cd=22>https://github.com/devboy/buildr=5Fas3/commit/8c752064123b14=
35dd438b85fdcdf6dc2a9005cd</a></div><div><br></div><div>Let's start testi=
ng :)</div>
                <div><br>--&nbsp;<br>Dominic Graefen<br><div>=46reelance:=
 Interactive Developer / Creative Technologist</div><div>devboy.org</div>=
<br></div>
                =20
                <p style=3D=22color: =23A0A0A8;=22>On Thursday, September=
 22, 2011 at 6:12 PM, Dominic Graefen wrote:</p>
                <blockquote type=3D=22cite=22 style=3D=22border-left-styl=
e:solid;border-width:1px;margin-left:0px;padding-left:10px;=22>
                    <span><div><div>
                <div>
                    <span style=3D=22font-size: 14px;=22>I've asked a que=
stion on the buildr dev mailing-list regarding this, let's see if they ca=
n help out.</span>
                </div><div><span style=3D=22font-size: 14px;=22><br></spa=
n></div><div><span style=3D=22font-size: 14px;=22>You can find my entry h=
ere:&nbsp;</span><a href=3D=22http://buildr.markmail.org/search/list:dev=23=
query:list%3Adev+page:1+mid:nieahcqfw5btwpoj+state:results=22>http://buil=
dr.markmail.org/search/list:dev=23query:list%3Adev+page:1+mid:nieahcqfw5b=
twpoj+state:results</a></div>
                <div><br>--&nbsp;<br>Dominic Graefen<br><div>=46reelance:=
 Interactive Developer / Creative Technologist</div><div><a href=3D=22htt=
p://devboy.org=22>devboy.org</a></div><br></div>
                 =20
                <p style=3D=22color: =23A0A0A8;=22>On Thursday, September=
 22, 2011 at 4:54 PM, Dominic Graefen wrote:</p><blockquote type=3D=22cit=
e=22><div>
                    <span><div><div>
                <div>
                    <span style=3D=22font-size: 14px;=22>So as soon as I =
add require 'buildr' into some place in the specs I am facing this error:=
</span>
                </div><div><span style=3D=22font-size: 14px;=22><br></spa=
n></div><div><span style=3D=22font-size: 14px;=22><font face=3D=22'Courie=
r New'=22><div>( =7E/Development/Source/Ruby/buildr=5Fas3 )</div><div>dev=
boy &gt; bundle exec rake spec</div><div>(in /Users/devboy/Development/So=
urce/Ruby/buildr=5Fas3)</div><div>rm -rf /Users/devboy/Development/Source=
/Ruby/buildr=5Fas3/test/report</div><div>/Users/devboy/.rvm/rubies/ruby-1=
.9.2-p180/bin/ruby -S bundle exec rspec =22spec/as3/mxml=5Fspec.rb=22</di=
v><div>/Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.8.7/lib/rake.r=
b:2503:in =60const=5Fmissing': uninitialized constant Buildr::RSpec::Matc=
hers (NameError)</div><div><span style=3D=22white-space:pre=22>	</span>fr=
om /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspe=
c/core/backward=5Fcompatibility.rb:20:in =60const=5Fmissing'</div><div><s=
pan style=3D=22white-space:pre=22>	</span>from /Users/devboy/.rvm/gems/ru=
by-1.9.2-p180/gems/rspec-expectations-2.1.0/lib/rspec/matchers/dsl.rb:21:=
in =60&lt;top (required)&gt;'</div><div><span style=3D=22white-space:pre=22=
>	</span>from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-expectat=
ions-2.1.0/lib/rspec/matchers/be.rb:1:in =60require'</div><div><span styl=
e=3D=22white-space:pre=22>	</span>from /Users/devboy/.rvm/gems/ruby-1.9.2=
-p180/gems/rspec-expectations-2.1.0/lib/rspec/matchers/be.rb:1:in =60&lt;=
top (required)&gt;'</div><div><span style=3D=22white-space:pre=22>	</span=
>from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-expectations-2.1=
.0/lib/rspec/matchers.rb:172:in =60require'</div><div><span style=3D=22wh=
ite-space:pre=22>	</span>from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gem=
s/rspec-expectations-2.1.0/lib/rspec/matchers.rb:172:in =60&lt;top (requi=
red)&gt;'</div><div><span style=3D=22white-space:pre=22>	</span>from /Use=
rs/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-expectations-2.1.0/lib/rsp=
ec/expectations.rb:2:in =60require'</div><div><span style=3D=22white-spac=
e:pre=22>	</span>from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-=
expectations-2.1.0/lib/rspec/expectations.rb:2:in =60&lt;top (required)&g=
t;'</div><div><span style=3D=22white-space:pre=22>	</span>from /Users/dev=
boy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/expect=
ing/with=5Frspec.rb:1:in =60require'</div><div><span style=3D=22white-spa=
ce:pre=22>	</span>from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec=
-core-2.1.0/lib/rspec/core/expecting/with=5Frspec.rb:1:in =60&lt;top (req=
uired)&gt;'</div><div><span style=3D=22white-space:pre=22>	</span>from /U=
sers/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/cor=
e/configuration.rb:144:in =60require'</div><div><span style=3D=22white-sp=
ace:pre=22>	</span>from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspe=
c-core-2.1.0/lib/rspec/core/configuration.rb:144:in =60require=5Fexpectat=
ion=5Fframework=5Fadapter'</div><div><span style=3D=22white-space:pre=22>=
	</span>from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.=
0/lib/rspec/core/configuration.rb:329:in =60configure=5Fexpectation=5Ffra=
mework'</div><div><span style=3D=22white-space:pre=22>	</span>from /Users=
/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/co=
mmand=5Fline.rb:20:in =60run'</div><div><span style=3D=22white-space:pre=22=
>	</span>from /Users/devboy/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1=
.0/lib/rspec/core/runner.rb:55:in =60run=5Fin=5Fprocess'</div><div><span =
style=3D=22white-space:pre=22>	</span>from /Users/devboy/.rvm/gems/ruby-1=
.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/runner.rb:46:in =60run'</d=
iv><div><span style=3D=22white-space:pre=22>	</span>from /Users/devboy/.r=
vm/gems/ruby-1.9.2-p180/gems/rspec-core-2.1.0/lib/rspec/core/runner.rb:10=
:in =60block in autorun'</div><div>rake aborted=21</div><div>ruby -S bund=
le exec rspec =22spec/as3/mxml=5Fspec.rb=22 failed</div></font></span></d=
iv>
                <div><br></div><div><br></div><div><span style=3D=22font-=
size: 14px;=22>Not sure on how I can make this work, this is by the way t=
he same error I had before. So if I can fix this we might be able to stil=
l use the helpers I was trying before.</span><br>--&nbsp;<br>Dominic Grae=
fen<br><div>=46reelance: Interactive Developer / Creative Technologist</d=
iv><div><a href=3D=22http://devboy.org=22>devboy.org</a></div><br></div>
                  =20
                <p style=3D=22color: =23A0A0A8;=22>On Thursday, September=
 22, 2011 at 4:33 PM, Dominic Graefen wrote:</p><blockquote type=3D=22cit=
e=22><div>
                    <span><div><div>
                <div>
                    <span style=3D=22font-size: 14px;=22>I've been trying=
 to rip some parts out but I am getting mysterious errors:&nbsp;</span><a=
 href=3D=22https://github.com/devboy/buildr=5Fas3/commit/a1707d9a109f9b33=
86eb4c6c8fe04c31bb74251d=23commitcomment-605155=22>https://github.com/dev=
boy/buildr=5Fas3/commit/a1707d9a109f9b3386eb4c6c8fe04c31bb74251d=23commit=
comment-605155</a>
                </div><div><br></div><div><span style=3D=22font-size: 14p=
x;=22>Might actually need to write this from scratch ...</span></div>
                <div><br>--&nbsp;<br>Dominic Graefen<br><div>=46reelance:=
 Interactive Developer / Creative Technologist</div><div><a href=3D=22htt=
p://devboy.org=22>devboy.org</a></div><br></div>
                   =20
                <p style=3D=22color: =23A0A0A8;=22>On Thursday, September=
 22, 2011 at 2:34 PM, devboy wrote:</p><blockquote type=3D=22cite=22><div=
>
                    <span><div><div>I've just tried this out and came to =
the conclusion that this doesn't make much sense as it will include too m=
uch bagagge of buildr itself which will only make our testing process har=
der.<div>I'll try and see which parts are useful for buildr-as3 testing a=
nd take them over and we will stay independent of buildr test-helpers.</d=
iv></div></div></span>
                   =20
                   =20
                   =20
                   =20
                </div></blockquote><div>
                    <br>
                </div>
            </div></div></span>
                  =20
                  =20
                  =20
                  =20
                </div></blockquote><div>
                    <br>
                </div>
            </div></div></span>
                 =20
                 =20
                 =20
                 =20
                </div></blockquote><div>
                    <br>
                </div>
            </div></div></span>
                =20
                =20
                =20
                =20
                </blockquote>
                =20
                <div>
                    <br>
                </div>
            
--4e7ba04e_51cb0da4_137--