Crowdsourcing JavaScript Testing 41
snitch writes "John Resig, creator of the jQuery JavaScript library, has released Test Swarm, a platform for distributed continuous integration testing for client-side JavaScript. Frustrated with traditional JavaScript testing environments that don't scale, John's new project, which is currently in private alpha, aims to provide a system for outsourcing browser-related testing to large groups of people or communities."
Re: (Score:1, Offtopic)
the trolls are hungry too...
twist the pie charts by leaving welfare, workfare, interest on debt, social security, Medicare and Medicaid out
Fine, except the 2009 chart you supplied didn't leave those things out.
2009 Pie chart, detailed, Federal Budget, USA [wikimedia.org]
Crowdsourcing (Score:3, Insightful)
Re: (Score:2)
In this instance, the tool itself is open source and it's being used to unit test an open source JS library. jQuery itself is quite a good library that's very actively developed with an active community.
Trendsourcing (Score:5, Interesting)
Def. trendsource
-verb: to solve problems using popular buzzwords
("The developers trendsourced the project by integrating crowdsourcing with Agile methodologies automated with a SOAP communication layer.")
Re: (Score:1, Insightful)
Re:Trendsourcing (Score:5, Funny)
("The developers trendsourced the project by integrating crowdsourcing with Agile methodologies automated with a SOAP communication layer.")
Translation: they got posted on /. and now they're putting out the fire in the server room.
SOAP? Do Not Want! (Score:1, Funny)
>> ("The developers trendsourced the project by integrating crowdsourcing with Agile methodologies automated with a SOAP communication layer.")
> Translation: they got posted on /. and now they're putting out the fire in the server room.
Not true! Real Slashdotters avoid SOAP like the plague!
Re: (Score:2)
Re: (Score:2)
SOAP is even more of a bloated piece of crap than XML.
There, fixed that for you.
Re: (Score:1)
You got anything better, buster?
Re: (Score:2)
It's only buzz if you use it that way.
I can develop an app to crowdsource movie recommendations using Agile methodologies and heavy automation with SOAP communication between layers.
If I wrote a few paragraphs concerning this project these words would have far more meaning within the context of the description. This is a valid use of the word "crowdsourcing," because it's within the context of a real project and it communicates a real concept.
Re:Trendsourcing (Score:5, Funny)
1200 tests doesn't scale? (Score:2)
Re: (Score:1)
Yeah, but when N+100 fails, and they are all related, oops. Just don't wait to put in the tough stuff until the end of the project, I suppose! How do you do a binary search with 1200 tests?
Re: (Score:2)
You don't binary search the tests, you binary search the releases. If you run the tests every 10 checkins, you then do a binary search finding which checkin broke it. It's definitely possible to do. Although I think in practice it wouldn't work- too much stuff gets broken in interim checkins in any decent sized project, much of it so minor you don't really care or thats not worth fixing right now.
Crowdsource this! (Score:3, Funny)
If I have to bear witness to another buzzword in a slashdot article title, I will turn Richard Stallman into a Juicer and ship him in a crate to Slashdot HQ. Because nothing says mega-damage like a character from RIFTS. I swear I will. He's already half-way there. You've seen his code, you know he's already got a caffeine drip. It won't be hard. Plus, I'm kinda bloated and cranky right now, so I might just come with. Don't tempt me.
Re: (Score:1, Flamebait)
If I have to bear witness to another buzzword in a slashdot article title, I will turn Richard Stallman into a Juicer and ship him in a crate to Slashdot HQ. Because nothing says mega-damage like a character from RIFTS. I swear I will. He's already half-way there. You've seen his code, you know he's already got a caffeine drip. It won't be hard. Plus, I'm kinda bloated and cranky right now, so I might just come with. Don't tempt me
PMS fueled tantrum about slashdot buzzword usage, threatening to use RMS as a
Coincidentally... (Score:4, Interesting)
I happen to be working on "A system for euphemising poor coding practices using the latest buzzwords". It'll be awesome!
Seriously, who needs a "crowd" at all? There are only a handful of popular browsers. They'd be much better off running tests in-house until they feel their code is rock solid.
From TFA:
And uploading your code to a public server on every commit and twiddling your thumbs waiting for good samaritans to randomly log in with various browsers and test it for you is...sane?
Re:Coincidentally... (Score:5, Informative)
There may only be a handful of browsers, but that doesn't mean there are only a handful of test cases. When it comes to javascript, there are quite a few variations that can cause problems beyond just the browser name.
One example that I've been specifically dealing with on MooTools involves bugs relating to font antialiasing on Internet Explorer. The issue presents itself on IE 7 when system font smoothing is enabled, but NOT on IE6 or IE8. Furthermore, in only presents itself if the user utilizes "Cleartype" (recommended for LCDs) but not if they use Standard font smoothing. It took me quite some time to narrow down exactly where the problem was.
This isn't an issue on Firefox 2,3, Safari 2,3 (although other kinds of font issues may arise with FF on OSX, and with Safari on Windows). Counting the variations of system settings, major OS and browser versions, that makes for 51 test cases, not including point versions of the OS or browsers, beta versions, and limiting it to the big 3 of browsers.
Re:Coincidentally... (Score:4, Informative)
Correction, 40 test cases:
Firefox 2,3 on WinXP,WinVista * 3 system font smoothing settings
Firefox 2,3 on OSX
Safari 2,3 on Win2K,WinXP,WinVista,OSX
IE 6, FF 2,3, on Win2k
IE 6 on WinXP * 3 system font smoothing settings
IE 7,8 on WinXP,WinVista * 3 system font smoothing settings
And of course other issues will have larger sets of test cases. I'm able to narrow it down here because Safari has its own font smoothing that is unaffected by which version of Windows it is running on or what the system font smoothing is set to, and Win2k doesn't have any native font smoothing.
Re: (Score:2)
I happen to be working on "A system for euphemising poor coding practices using the latest buzzwords".
Please get a business method patent on it and enforce it vigorously and aggressively!
Different JS Versions and DOM/Layout Issues (Score:2, Informative)
Sh*tsourcing or Crowdsh*ting (Score:1, Insightful)
Eitherway, it's a better buzzword than crowdsourcing.
Already exists... (Score:2)
It's called Google Beta.
Proofread it if you expect me to read it! (Score:1)
Damnit!
"... which is currently is private ..."
"... to provide a systems for ..."
Is this how little you care about those you're writing for, that you can't even be bothered to read it yourself?!? Do you write code like this? How do you manage to get it past a compiler?
This is *so* lazy, and *so* simple to eliminate. Don't post if you can't be bothered to proofread, and no, a Spellchecker is not an adequate substitute.
You're publishing your thoughts to the world. Think!
I see we have a "typo" tag; may I su
private alpha == Vaporware (Score:1, Redundant)
private alpha
In other words, this is just a puff piece for something that may not even exist.
Re: (Score:3, Interesting)
Lots of Javascript developers call this "release" (Score:2, Insightful)
Re: (Score:2)
Want to get a lot of people to test your Javascript? Call it version one and release it.
Sergey Brin, is that you??? No wait you said version one not version one beta. Never mind.
Re: (Score:2)
More importantly. (Score:2, Informative)
For most applications things like Selenium are more trouble or cost to much money then they are worth. I would like to see something that would allow me to test my JS code across multiple browsers with a
Re: (Score:1)
Re: (Score:1)
So let me get this right ...
If the div named results exists, then fade in a "success" message.
And if it doesn't exist, let the poor dumb user sit there for 30 years, wondering if the AJAX query (which runs in the background and gives NO visible indication it's doing anything), has submitted, completed, failed or just "ceased-to-be and become an EX-query" ?
This is why the web is such a mess, script kiddys like this who don't even think about usability.
mininova tested this? (Score:1)