Pretty Sneaky, Sis!

33 views
Skip to first unread message

Alex Chaffee

unread,
Mar 4, 2011, 1:16:35 PM3/4/11
to Jasmine Dev
So *this* is where you guys have been hiding. Here I was thinking
there wasn't any Jasmine development going on since the only mailing
list link you put on the Jasmine web site is to the boring jasmine-js
one. May I suggest merging them? There are a lot more members on the
other one and very little traffic; you might do better to grow the
community before splitting it.

Anyway, I wanted to let you know that I just finished developing and
teaching a JS class using Jasmine as my framework. It's integrated
into my testfirst.org site, so you can visit

https://github.com/ultrasaurus/test-first-teaching
for the source code and solutions

https://github.com/alexch/learn_javascript
for the generated student materials, sans solutions

https://github.com/alexch/javascript-notes
for my notes/slides

I did some Rake hocus pocus so if you run "rake jasmine" in the top
level, you get all tests, but if you run it in a subdirectory you get
just that dir's tests, all with a single top-level Rakefile. Check it
out if that feature seems useful to you.

In preparing my class, I tracked down a Rack-versus-Jasmine bug which
makes control-C not work when running "rake jasmine". The fix requires
a patch to Rack which hasn't been released yet, so I haven't submitted
it to you folks yet; if Rack continues to take their sweet time then
I'll push a patch to you that monkey patches Rack. Patchtastic!

I also have a request for easier customization and extension of the
HTML Runner -- both with CSS (thanks to my student Sean Dick and his
beautiful redesign) and with more and configurable settings (for my
class, I want all tests visible by default, including passed ones, but
I also want the display to stop after the first failed test). Also
there's another pedagogic project using Jasmine that forked the
runner, which seems a shame. (https://github.com/alexch/javascript-
koans)

Finally, it appears "rake jasmine:ci" is broken with the latest
version of, um, everything -- probably a Ruby 1.9 thing but I haven't
tracked that down fully.

Later -

- Alex (who now has a pile of back messages to read through on this
group)

Alex Chaffee

unread,
Mar 4, 2011, 1:24:48 PM3/4/11
to Jasmine Dev
On Fri, Mar 4, 2011 at 10:16 AM, Alex Chaffee <ale...@gmail.com> wrote:
> So *this* is where you guys have been hiding. Here I was thinking
> there wasn't any Jasmine development going on since the only mailing
> list link you put on the Jasmine web site is to the boring jasmine-js
> one. May I suggest merging them? There are a lot more members on the
> other one and very little traffic; you might do better to grow the
> community before splitting it.

Sorry, that sounded too snarky; I also just realized I've been on "no
email" mode so I haven't seen the spike in activity on the other list
over the past few weeks. I withdraw my suggestion.

BTW I'm very impressed with how easy Jasmine was to set up and use.
You've made a lot of progress in the past year or so since the last
time I tried it.

--

Alex Chaffee - al...@cohuman.com - http://alexch.github.com
Stalk me: http://friendfeed.com/alexch | http://twitter.com/alexch |
http://alexch.tumblr.com

Rajan Agaskar

unread,
Mar 4, 2011, 2:58:27 PM3/4/11
to jasmine...@googlegroups.com, Alex Chaffee
Alex:

Thanks for your update and the github links -- super cool stuff! 

There are a couple jasmine issues I'm aware of with 1.9.2:

1) Jasmine CI is broken as far as false greens with Ruby 1.9.2. May be a selenium exit code issue (we had a recent thread about it)
2) It *may* also fail on YAML errors with bundler 1.10. 

I've been spending some time lately trying to get us green across rubies. If you can paste in a stack I can try to track it down.

Thanks!

Rajan



--
You received this message because you are subscribed to the Google Groups "Jasmine Dev" group.
To post to this group, send email to jasmine...@googlegroups.com.
To unsubscribe from this group, send email to jasmine-js-de...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jasmine-js-dev?hl=en.


Nate Clark

unread,
Mar 4, 2011, 8:58:49 PM3/4/11
to jasmine...@googlegroups.com, Rajan Agaskar, Alex Chaffee
The CTRL-C bug is fixed in master. I don't think a new gem has been pushed yet. Alex, your posts on the rack mailing list helped lead me to the correct workaround, thanks! [https://github.com/pivotal/jasmine-gem/commit/3e6f62a1c8c8275d2532c417c9e323f0b05564a7]

I'm looking into the false-success problem in 1.9.2 and rake jasmine:ci. I think the problem lies in selenium-rc. I should have a fix by the end of the weekend.

Nate

Alex Chaffee

unread,
Mar 6, 2011, 9:52:47 PM3/6/11
to Jasmine Dev
On Fri, Mar 4, 2011 at 10:16 AM, Alex Chaffee <ale...@gmail.com> wrote:
> I also have a request for easier customization and extension of the
> HTML Runner -- both with CSS (thanks to my student Sean Dick and his
> beautiful redesign) and with more and configurable settings

D'oh! I mean Sean Durham. I got my Sean Ds mixed up. (There actually
is a Sean Dick but he's done work on Erector, not Jasmine.)

Reply all
Reply to author
Forward
0 new messages