Options:
- # Session Start: Mon Feb 18 00:00:00 2013
- # Session Ident: #testing
- # [00:55] * Quits: tobie (tobie@public.cloak) (Ping timeout: 60 seconds)
- # [01:54] * heycam is now known as heycam|away
- # [02:34] * heycam|away is now known as heycam
- # [05:24] * heycam is now known as heycam|away
- # [05:57] * heycam|away is now known as heycam
- # [06:08] * Joins: shepazutu (schepers@public.cloak)
- # [06:09] * Quits: shepazu (schepers@public.cloak) (Ping timeout: 60 seconds)
- # [06:09] * shepazutu is now known as shepazu
- # [07:59] * Quits: glenn (~gadams@public.cloak) (Client closed connection)
- # [08:20] * Joins: glenn (~gadams@public.cloak)
- # [08:52] * Quits: glenn (~gadams@public.cloak) (Client closed connection)
- # [09:25] * heycam is now known as heycam|away
- # [09:50] * Joins: darobin (rberjon@public.cloak)
- # [09:52] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [10:32] * Joins: tobie (tobie@public.cloak)
- # [11:42] * Quits: Ms2ger (~Ms2ger@public.cloak) ("bbl")
- # [12:09] * Joins: sstewart6 (~simons@public.cloak)
- # [12:09] <sstewart6> MikeSmith: now we're on monthly updates for the spec, is there anything we need to do to get a new WD published?
- # [12:09] * Joins: abarsto (~abarsto@public.cloak)
- # [12:09] * abarsto is now known as ArtB
- # [12:27] <sstewart6> :ci
- # [12:27] <sstewart6> Wrong channel. Sorry
- # [12:37] <MikeSmith> sstewart6: no, just need to pick a date
- # [12:38] <sstewart6> Well, my edits last time round are ok for me, and David is on paternity leave.
- # [12:38] <sstewart6> Any time is good :)
- # [12:50] <tobie> jgraham: http://www.w3.org/wiki/Testing/testharness.js_Improvements thoughts?
- # [12:52] * Joins: glenn (~gadams@public.cloak)
- # [12:52] <jgraham> tobie: The reason the arguments are in the order they are is because the title is an optional argument
- # [12:53] <jgraham> If you don't supply one it is taken from document.title
- # [12:53] <jgraham> And optional arguments are typically last
- # [12:53] <tobie> oh.
- # [12:53] <tobie> fair enough.
- # [12:54] <tobie> why is that offered as an option, btw?
- # [12:54] <tobie> Also, is it used?
- # [12:54] <jgraham> Why is what offered as an option?
- # [12:54] <tobie> using <title>.
- # [12:54] <jgraham> The pseudo-justification for underscores was that it makes the asserts look different to other js code and highly unlikely to conflict with anything, even though testharness stomps all over the global namespace
- # [12:54] <jgraham> Oh
- # [12:55] <jgraham> Because if you are writing a page with one one test it is more DRY
- # [12:55] <jgraham> I have certainly used it
- # [12:55] <jgraham> I think others have too
- # [12:55] <tobie> OK. well we can preserve this and still allow for title first for those who care.
- # [12:55] <jgraham> (sometimes having one test per page is necessary e.g. for testing navigation)
- # [12:56] <tobie> You have no idea how ridiculously annoying front-end devs can become about these things
- # [12:56] <tobie> So I think removing friction points is really useful to do.
- # [12:56] <jgraham> I certainly don't object to nicer rendering of results
- # [12:57] <tobie> :)
- # [12:57] * Quits: glenn (~gadams@public.cloak) (Ping timeout: 60 seconds)
- # [12:57] <jgraham> Or tests :)
- # [12:57] <tobie> heh
- # [12:57] <jgraham> I am slightly worried about adding lots of optional stuff to the API
- # [12:57] <jgraham> I mean saying "this argument can be here or here or missing, or..."
- # [12:58] <jgraham> I know DWIM is popular with people raised on jQuery
- # [12:58] <jgraham> But it does add to the internal complexity, and testharness.js is already too complex
- # [12:58] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [12:59] <tobie> Agreed, though we actually have three possible args to tests:
- # [12:59] <tobie> a function, a string and an options object.
- # [12:59] <tobie> implementation complexity here isn't that high
- # [13:00] <tobie> Anyway, this is food for thought.
- # [13:00] <jgraham> It also makes tests harder to read, since you have to work out which set of cenventions this author decided to use
- # [13:00] <tobie> sure.
- # [13:01] <tobie> jgraham: as most things software, it's a cost/benefit analysis.
- # [13:03] <tobie> Having spent hours arguing about testharness with influential and smart front-end devs, I'd rather deal with the added complexity than have these conversations yet another time.
- # [13:03] <tobie> :D
- # [13:04] <tobie> I'm tired of it to the point I'm actually considering writing a script to built ASTs of the whole test repo and rewrite the args in a less anger-inducing order.
- # [13:04] <jgraham> Being angry about argument order is just sad
- # [13:05] <jgraham> But of course it would have been nice if I had been able to talk to the front-end devs directly
- # [13:05] <tobie> being forced to discuss it to length is sadder.
- # [13:05] <jgraham> Well sure
- # [13:05] <jgraham> Or
- # [13:05] <jgraham> I think that the one that causes the problem is sadder
- # [13:06] <jgraham> But I agree that it's unfortunate that it has taken up time
- # [13:06] <tobie> where "the one" needs to be defined
- # [13:06] <tobie> could be the software, the person, the culture, the community, the dogmas, etc.
- # [13:06] <tobie> jgraham: you have no idea.
- # [13:06] <jgraham> People getting angry because the argument order doesn't match some different library they once used
- # [13:07] <jgraham> Oh right
- # [13:07] <tobie> unfortunate. but true.
- # [13:07] <tobie> I can probably put a price tag on it too.
- # [13:08] <tobie> Trust me, fixing the lib the test repo is already worth the money.
- # [13:08] <jgraham> Well, only if these people actually become contributers
- # [13:09] <tobie> Nope.
- # [13:09] <tobie> Bad press is equally an issue.
- # [13:10] <jgraham> OK, imagine I said "only if this stops people becoming contributers"
- # [13:10] <jgraham> even if it isn't the same people
- # [13:10] <tobie> Then yes, absolutely. And that is a concern.
- # [13:11] <jgraham> Well, like I say, it would be nice to be involved in these conversations if possible
- # [13:13] <jgraham> But I am convincable that this could change, but it isn't just a case of a random bad decision. It was one of the things that was actually decided to fit with convention.
- # [13:17] * Ms2ger wonders what this is about
- # [13:20] <jgraham> http://www.w3.org/wiki/Testing/testharness.js_Improvements
- # [13:20] <tobie> jgraham: going back to read those tweets is slightly sickening.
- # [13:21] <tobie> most of my 2012 april folder is full of those.
- # [13:22] <jgraham> Pointer?
- # [13:23] <tobie> I'd have put my tweet archives online
- # [13:23] <jgraham> Oh
- # [13:23] <tobie> which I haven't done yet.
- # [13:23] <tobie> eg: https://twitter.com/wycats/status/189493328872607744
- # [13:24] <jgraham> I thought maybe twitter provieded that kind of service
- # [13:24] <jgraham> But what do I know
- # [13:25] <tobie> https://twitter.com/tobie/statuses/187685921926295552
- # [13:25] <tobie> https://twitter.com/tobie/statuses/187689638306131969
- # [13:26] <tobie> https://twitter.com/tobie/statuses/187660065438838785
- # [13:26] <tobie> etc.
- # [13:26] <tobie> ad nauseam.
- # [13:27] <jgraham> I see. Thanks
- # [13:28] <jgraham> Seems like there is some serious NIH there. Or at least "Not invented by one of the cool kids"
- # [13:28] <tobie> I don't want to debate this more.
- # [13:28] <jgraham> Sorry
- # [13:28] <tobie> :)
- # [13:28] <tobie> No seriously.
- # [13:28] <tobie> This is solvable through a bunch of small changes.
- # [13:29] <tobie> Where everyone let's go of a couple of things he cares about
- # [13:29] <tobie> and we end with a solution that works and doesn't create shit-storms.
- # [13:30] <tobie> So we can focus on what matters.
- # [13:30] <jgraham> I am totally open to changes that actually help people
- # [13:30] * Joins: darobin_ (rberjon@public.cloak)
- # [13:30] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
- # [13:31] <jgraham> But I would much prefer that we do that with the people who are complaining actually engaged
- # [13:31] <tobie> jgraham: oh, sure.
- # [13:33] <tobie> This is by no means urgent either.
- # [13:41] * darobin_ is now known as darobin
- # [13:42] * Ms2ger is perfectly happy with what we have now, fwiw
- # [13:47] <darobin> well, one thing that's clear to me is that we'd get the exact same complaints if we'd picked something out there
- # [13:47] <darobin> people would go "Oh but you used mocha+expect.js, those suck, you should really use QUnit+should!"
- # [13:48] <darobin> I know that for a fact because it's actual feedback I've got on some of my projects
- # [13:49] <darobin> the way people bitch about test frameworks you'd think you're forcing them to use emacs to edit Java on Win 3.1
- # [13:49] <darobin> and commit the whole thing using hg
- # [13:50] <jgraham> s/emacs/ed/ and s/hg/VSS/ I think :)
- # [13:50] <darobin> no no, I picked those very deliberately :)
- # [13:51] * jgraham tries M-x cuss-darobin
- # [13:51] <darobin> tee hee
- # [13:59] * Quits: Lachy (~Lachy@public.cloak) ("Bye")
- # [14:03] <darobin> so when is it that IE switches to WebKit?
- # [14:03] * darobin tired of watching VMs load...
- # [14:06] * Quits: sstewart6 (~simons@public.cloak) (sstewart6)
- # [14:07] * Joins: sstewart6 (~simons@public.cloak)
- # [14:10] <tobie> http://www.paulgraham.com/identity.html
- # [14:22] <jgraham> darobin: As a counter example, the Apache Cordova (sp?) people who were at TTWF were very open to trying new things; they had been using Jasmine, they tried testharness, found that some things that they expected to work didn't work, asked a few questions, discovered that there was a different way of doing it, and proceeded to use that
- # [14:26] <jgraham> Of course it is quite possible that they went away from there and never wrote another testharness test again
- # [14:27] <tobie> jgraham: so these are actually smart folks working for Adobe who has a vested interest in seeing this happem
- # [14:27] <tobie> not your traditional dev.
- # [14:28] <tobie> the reason they stopped contribution thereafter was due to the awful reviewing process...
- # [14:28] <tobie> which means their tests haven't been accepted anywhere yet.
- # [14:30] <tobie> :( or they haven't figured out where to get them reviewed. I'm unsure.
- # [14:30] <darobin> jgraham: yeah those people were paid to make that experiment happen
- # [14:31] <tobie> Anyway, I think we should close this subject for now. jgraham that was a heads up. I'll have a more concrete proposal, with code in a while.
- # [14:31] <jgraham> Right, but it turns out that people who are apid can still be difficult to work with :)
- # [14:32] <jgraham> tobie: Sure, that sounds great
- # [14:33] <jgraham> I think we all have the same goal at least; getting interoperability via tests
- # [14:34] <jgraham> and if we can make some changes that help that I'm totally in favour. I just want to make changes that actually help :)
- # [14:36] <tobie> ++ on the end goals.
- # [14:37] <tobie> I also want to pick my fights carefully. And defending testharness isn't a fight worth fighting imho, when a bunch of changes to the API can avoid the fight altogether.
- # [14:38] <jgraham> Sure, if your premise (that trivial API differences are the underlying problem) are the real issue.
- # [14:39] <jgraham> s/are the real issue/is correct//
- # [14:40] <tobie> Right. Total loss of time otherwise.
- # [14:41] <tobie> I'm thinking of selling testharness as a simplified version of Qunit.
- # [14:41] <tobie> with all of the crazy scoped stuff ripped right out.
- # [14:42] <jgraham> Yes. I think it's important to understnad that if you're testing the browser itself "simplified" is an important goal
- # [14:42] <tobie> ++
- # [14:42] <jgraham> You don't want to be running into interop issues in the harness itself
- # [14:42] <jgraham> (which is also why #whatwg uses the live dom viewer rather than jsfiddle)
- # [14:43] <tobie> not sure what the live dom viewer
- # [14:43] <tobie> … is.
- # [14:43] <Ms2ger> bit.ly/livedom
- # [14:43] <jgraham> http://software.hixie.ch/utilities/js/live-dom-viewer/
- # [15:01] <tobie> ty
- # [16:01] * Joins: darobin_ (rberjon@public.cloak)
- # [16:01] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
- # [16:11] * darobin_ is now known as darobin
- # [17:02] * Joins: shepazutu (schepers@public.cloak)
- # [17:03] * Quits: shepazu (schepers@public.cloak) (Ping timeout: 60 seconds)
- # [17:04] * shepazutu is now known as shepazu
- # [17:05] * Joins: plh (plehegar@public.cloak)
- # [17:10] * Joins: glenn (~gadams@public.cloak)
- # [17:19] * Quits: Ms2ger (~Ms2ger@public.cloak) ("bbl")
- # [18:08] * Parts: sstewart6 (~simons@public.cloak) (sstewart6)
- # [18:08] * Joins: darobin_ (rberjon@public.cloak)
- # [18:08] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
- # [18:39] * Joins: jhammel (~jhammel@public.cloak)
- # [18:40] * Quits: jhammel (~jhammel@public.cloak) ("leaving")
- # [18:49] * Quits: darobin_ (rberjon@public.cloak) (Client closed connection)
- # [20:16] * Joins: Ms2ger (~Ms2ger@public.cloak)
- # [20:50] * Joins: darobin (rberjon@public.cloak)
- # [21:18] * Quits: Ms2ger (~Ms2ger@public.cloak) ("nn")
- # [21:30] * Quits: darobin (rberjon@public.cloak) (Client closed connection)
- # [21:32] * Joins: Lachy (~Lachy@public.cloak)
- # [21:51] * Quits: Lachy (~Lachy@public.cloak) ("Bye")
- # [21:51] * Joins: Lachy (~Lachy@public.cloak)
- # [22:57] * heycam|away is now known as heycam
- # [23:09] * Quits: plh (plehegar@public.cloak) ("Leaving")
- # Session Close: Tue Feb 19 00:00:00 2013
The end :)