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
JSAN::Prove - prove for jsan distributions
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nickolay Platonov  
View profile  
 More options May 13 2009, 8:16 am
From: Nickolay Platonov <nickol...@gmail.com>
Date: Wed, 13 May 2009 16:16:32 +0400
Local: Wed, May 13 2009 8:16 am
Subject: JSAN::Prove - prove for jsan distributions

Hello all,

I'd like to share the recent progress on JSAN::Prove.

JSAN::Prove is a perl package which provide 'jsan-prove' executable - analog
of usual prove.

The package is built as a small Catalyst application. After startup, it maps
current directory to development server,
then launch supported on current platform browsers. Browsers are pointed to
't/index.html' (as it mapped),
which contain Test.Run-based harness.

After all tests were ran, harness report the result to server  - 'pass' or
'fail'

After results from all started browsers were collected, server stops and
return the value to calling program.

Current implementation just return 1 if all tests were successful or 0
otherwise.

To try it, you'll need to have a certain infrastructure on your machine,
please refer to this
post<http://groups.google.com/group/jsan/t/ee21fd9269ff1572>for
details.

Supposed you have all those infrastructure, you'll also need to install:
JSAN::Prove from
http://github.com/SamuraiJack/JSAN-Prove/tree/master

JooseX.SimpleRequest from
http://github.com/SamuraiJack/JooseX-SimpleRequest/tree

and update Test.Run from
https://github.com/SamuraiJack/test.run/tree

Joose-Mutable distribution can be used as test, checkout it from:
http://joose-js.googlecode.com/svn/branches/mutability/

then run 'jsan-prove' from command line in the distribution dir

or, to skip all preparations, you may try to use VM image, which contain
fresh WinXp installation, plus all mentioned soft,
including perl, git, browsers, etc. Its intended for VirtualBox and
available here:
ftp://sandbox.extjs-ux.org/jsan/jsan-dev-win.part01.rar
ftp://sandbox.extjs-ux.org/jsan/jsan-dev-win.part02.rar
ftp://sandbox.extjs-ux.org/jsan/jsan-dev-win.part03.rar
ftp://sandbox.extjs-ux.org/jsan/jsan-dev-win.part04.rar
ftp://sandbox.extjs-ux.org/jsan/jsan-dev-win.part05.rar
ftp://sandbox.extjs-ux.org/jsan/jsan-dev-win.part06.rar

usr: anonymous
pwd: extjs-ux

(also available via http)

Regards, Nickolay


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David E. Wheeler  
View profile  
 More options May 14 2009, 1:19 pm
From: "David E. Wheeler" <da...@justatheory.com>
Date: Thu, 14 May 2009 10:19:56 -0700
Local: Thurs, May 14 2009 1:19 pm
Subject: Re: JSAN::Prove - prove for jsan distributions
On May 13, 2009, at 5:16 AM, Nickolay Platonov wrote:

> Hello all,

> I'd like to share the recent progress on JSAN::Prove.

> JSAN::Prove is a perl package which provide 'jsan-prove' executable  
> - analog of usual prove.

> The package is built as a small Catalyst application. After startup,  
> it maps current directory to development server,
> then launch supported on current platform browsers. Browsers are  
> pointed to 't/index.html' (as it mapped),
> which contain Test.Run-based harness.

Very cool. Could it also support Test.Harness.Browser? Or have a  
directive (perhaps in META.json) to point it at an alterante file,  
such as 'test/index.html'?

> After all tests were ran, harness report the result to server  -  
> 'pass' or 'fail'

Does it send all of the TAP data, too?

> After results from all started browsers were collected, server stops  
> and return the value to calling program.

> Current implementation just return 1 if all tests were successful or  
> 0 otherwise.

Sounds like a great start, thanks!

David


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Boris Reitman  
View profile  
 More options May 14 2009, 1:41 pm
From: Boris Reitman <boris.reit...@gmail.com>
Date: Thu, 14 May 2009 13:41:26 -0400
Local: Thurs, May 14 2009 1:41 pm
Subject: Re: JSAN::Prove - prove for jsan distributions

Guys, anyone is looking to hire a remote senior perl or javascript developer
?
Looking to quit my job for a remote job. A sample of my work:
http://code.google.com/p/crossxhr/wiki/CrossXhr

Thanks,
Boris Reitman

2009/5/14 David E. Wheeler <da...@justatheory.com>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nickolay Platonov  
View profile  
 More options May 14 2009, 2:50 pm
From: Nickolay Platonov <nickol...@gmail.com>
Date: Thu, 14 May 2009 22:50:15 +0400
Local: Thurs, May 14 2009 2:50 pm
Subject: Re: JSAN::Prove - prove for jsan distributions

On Thu, May 14, 2009 at 9:19 PM, David E. Wheeler <da...@justatheory.com>wrote:

> On May 13, 2009, at 5:16 AM, Nickolay Platonov wrote:

> > Hello all,

> > I'd like to share the recent progress on JSAN::Prove.

> > JSAN::Prove is a perl package which provide 'jsan-prove' executable
> > - analog of usual prove.

> Very cool. Could it also support Test.Harness.Browser? Or have a
> directive (perhaps in META.json) to point it at an alterante file,
> such as 'test/index.html'?

Yes, sure, other harnesses can be supported too, with minimal additions.
Currently the communication
between 'prove' and 'harness'  is very simple - harness just supposed to
report, when all tests are finished,
by performing a http request on the url like: "/proven/FireFox/pass" or
"/proven/FireFox/fail"

Btw - currently its implemented as a Role (some Joose promotion :)
http://github.com/SamuraiJack/test.run/blob/a2c290baba1a3c14cf0c87307...

As about index.html - think, before starting, server can check several
options of path to it.
It also can be a command-line switch for exotic cases.

> > After all tests were ran, harness report the result to server  -
> > 'pass' or 'fail'

> Does it send all of the TAP data, too?

Nope, though its easily possible (note the commented stubs in the Proven
role)

> Sounds like a great start, thanks!

> David

Current implementation is somewhat simplistic (pass/fail only). However, it
provides a base and everyone is welcomed to hack on it.

Regards, Nickolay


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »