Use with node.js

12 views
Skip to first unread message

koops

unread,
May 20, 2010, 3:48:11 PM5/20/10
to jspec
I'm trying to use jspec 4.3.1 with node.js, without much success. I
did a 'jspec init --node' but from there I don't see how to actually
run a spec using node. What's the workflow like?

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

Matthias Lübken

unread,
May 20, 2010, 11:57:18 PM5/20/10
to js...@googlegroups.com
Try jspec run --node

--
Sorry for the short message. This has been written on a mobile device.

vision media [ Tj Holowaychuk ]

unread,
May 22, 2010, 11:51:41 AM5/22/10
to js...@googlegroups.com
personally i just use `node spec/node.js`, its faster, the `jspec run --node` is just
to match the other flags, but yeah I just use a makefile with the first command I mentioned
--
Tj Holowaychuk
Vision Media
President & Creative Lead

Sebastian

unread,
May 30, 2010, 4:08:36 PM5/30/10
to jspec
When I run jspec with with node my tests are not executed and I only
get the message:
Passes: 0 Failures: 0 Duration: 0 ms

Running the tests with Rhino executes the tests.

Any ideas?

-- Sebastian

On May 22, 5:51 pm, "vision media [ Tj Holowaychuk ]" <t...@vision-
media.ca> wrote:
> personally i just use `node spec/node.js`, its faster, the `jspec run
> --node` is just
> to match the other flags, but yeah I just use a makefile with the first
> command I mentioned
>
> On Thu, May 20, 2010 at 12:48 PM, koops <koopm...@gmail.com> wrote:
> > I'm trying to use jspec 4.3.1 with node.js, without much success.  I
> > did a  'jspec init --node' but from there I don't see how to actually
> > run a spec using node.  What's the workflow like?
>
> > --
> > JSpec thanks you for your interest and support! To post simply reply
> > to this email.
>
> > documentation:http://jspec.info
> > unsubscribe: jspec+un...@googlegroups.com<jspec%2Bunsu...@googlegroups.com>

vision media [ Tj Holowaychuk ]

unread,
May 30, 2010, 4:16:45 PM5/30/10
to js...@googlegroups.com
just pushed a fix, 4.3.2

Sebastian

unread,
Jun 1, 2010, 8:56:40 AM6/1/10
to jspec
Thank you, that is fantastic! Node is so much faster than rhino!

Any plans to make jspec rhun in chrome?

On May 30, 10:16 pm, "vision media [ Tj Holowaychuk ]" <t...@vision-
media.ca> wrote:
> just pushed a fix, 4.3.2
>
>
>
>
>
> On Sun, May 30, 2010 at 1:08 PM, Sebastian <san...@gmail.com> wrote:
> > When I run jspec with with node my tests are not executed and I only
> > get the message:
> > Passes: 0 Failures: 0 Duration: 0 ms
>
> > Running the tests with Rhino executes the tests.
>
> > Any ideas?
>
> > -- Sebastian
>
> > On May 22, 5:51 pm, "vision media [ Tj Holowaychuk ]" <t...@vision-
> > media.ca> wrote:
> > > personally i just use `node spec/node.js`, its faster, the `jspec run
> > > --node` is just
> > > to match the other flags, but yeah I just use a makefile with the first
> > > command I mentioned
>
> > > On Thu, May 20, 2010 at 12:48 PM, koops <koopm...@gmail.com> wrote:
> > > > I'm trying to use jspec 4.3.1 with node.js, without much success.  I
> > > > did a  'jspec init --node' but from there I don't see how to actually
> > > > run a spec using node.  What's the workflow like?
>
> > > > --
> > > > JSpec thanks you for your interest and support! To post simply reply
> > > > to this email.
>
> > > > documentation:http://jspec.info
> > > > unsubscribe: jspec+un...@googlegroups.com<jspec%2Bunsu...@googlegroups.com>
> > <jspec%2Bunsu...@googlegroups.com<jspec%252Buns...@googlegroups.co m>
Reply all
Reply to author
Forward
0 new messages