Well, first can this to point to your base test suite URL:
"http://dev.jquery.com/~john/changeset/{REV}"
Next it looks like you'd change the rest to:
%SUITES = map { /(\w+).html$/; $1 => "$SUITE/$_"; } glob("tests/unit/*/*.html")
Hope this helps!
--John
On Sat, Aug 29, 2009 at 6:49 AM, Jörn
Zaefferer<[email protected]> wrote:
>
> I've got TestSwarm working on my local machine, but having trouble
> adapting your script, specificially this section:
>
> # All the suites that you wish to run within this job
> # (can be any number of suites)
>
> my %SUITES = ();
>
> # Comment these out if you wish to define a custom set of SUITES above
> my $SUITE = "http://dev.jquery.com/~john/changeset/{REV}";
> sub BUILD_SUITES {
> %SUITES = map { /(\w+).js$/; $1 => "$SUITE/test/?$1%20module"; }
> glob("test/unit/*.js");
> }
>
> I'd put some hardcoded values into %SUITES, but I don't even know what
> format the script expects for that. How can I adapt that for jQuery
> UI? It would be nice to end up with tests for each widget in their own
> category: http://jquery-ui.googlecode.com/svn/trunk/tests/unit/
>
> Jörn
>
> On Thu, Aug 27, 2009 at 2:19 AM, John Resig<[email protected]> wrote:
>>
>> First, make sure that you have a script set up to automate the process
>> of submitting a job (see the scripts inside the 'scripts' directory).
>>
>> Next, I'd recommend setting up a local TestSwarm to make sure and
>> submitting to that to make sure that the code actually works
>> correctly.
>>
>> Finally, if that all works, I can give you your API key to submit to
>> TestSwarm.com proper.
>>
>> --John
>>
>>
>>
>> On Wed, Aug 26, 2009 at 7:18 PM, Jörn
>> Zaefferer<[email protected]> wrote:
>>>
>>> I'd like to submit tests for jQuery UI. My account is "joernzaefferer".
>>>
>>> Jörn
>>>
>>> >
>>>
>>
>> >
>>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TestSwarm" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/testswarm?hl=en
-~----------~----~----~----~------~----~------~--~---