JSpec and Hudson

5 views
Skip to first unread message

Lucas Cavalcanti

unread,
Jun 2, 2010, 6:18:58 PM6/2/10
to js...@googlegroups.com
Hello,

Does anybody have any success adding jspec tests on a Hudson job?

For now, the only thing I want is to know if the tests are passing or failing...
but via 'jspec run' I only have visual feedback, so I just can break my Hudson build if
the tests are failing

Thanks,
Lucas

vision media [ Tj Holowaychuk ]

unread,
Jun 2, 2010, 11:44:58 PM6/2/10
to js...@googlegroups.com
in several browsers? I have an open source framework for this on the way,
basically test swarm without the ... crap


--
JSpec thanks you for your interest and support! To post simply reply
to this email.
 
documentation: http://jspec.info
unsubscribe: jspec+un...@googlegroups.com
group: http://groups.google.com/group/jspec



--
Tj Holowaychuk
Vision Media
President & Creative Lead

Sebastian Sanitz

unread,
Jun 3, 2010, 3:52:23 AM6/3/10
to js...@googlegroups.com
We have a working Hudson build, jspec is called by an ant script with rhino:

<target name="jspec">
<java fork="true" jar="${rhino.jar}">
<classpath><pathelement location="${rhino.jar}"/></classpath>
<arg value="spec/rhino.js" />
</java>
</target>

2010/6/3 Lucas Cavalcanti <lucasm...@gmail.com>:

vision media [ Tj Holowaychuk ]

unread,
Jun 3, 2010, 9:48:18 AM6/3/10
to js...@googlegroups.com
oh, as far as SSJS testing I would just use cijoe, or watch out on github for my new "nci" project :)

Lucas Cavalcanti

unread,
Jun 3, 2010, 11:21:51 AM6/3/10
to js...@googlegroups.com
The idea is to run the tests on several browsers, indeed... so Rhino is not enough (my tests don't even run on rhino)..

Tj Holowaychuk, is your framework usable already? Can I use it, and perhaps contribute to it?

Thanks
Lucas

vision media [ Tj Holowaychuk ]

unread,
Jun 3, 2010, 11:37:49 AM6/3/10
to js...@googlegroups.com
We should have the repo open sourced within a few weeks, thing is
that I was building it for our use internally, however I did not know my boss
wanted to open source it so I am working on making it easier to install etc.

Iván -DrSlump- Montes

unread,
Jun 7, 2010, 3:14:14 AM6/7/10
to js...@googlegroups.com
Related to the discussion, I implemented some months ago a formatter
to generate Hudson's flavored junit reports.

http://gist.github.com/251025

regards,
/imv

On Thu, Jun 3, 2010 at 5:37 PM, vision media [ Tj Holowaychuk ]

Lucas Cavalcanti

unread,
Jun 7, 2010, 9:27:01 AM6/7/10
to js...@googlegroups.com
I implemented a junit report also, but on the server.rb:
http://gist.github.com/428658

so you add the option uri: /junit-results on your server.html...

Regards,
Lucas

Chris Nelson

unread,
Jul 15, 2010, 10:38:33 AM7/15/10
to jspec
Reply all
Reply to author
Forward
0 new messages