The Artima Developer Community
Sponsored Link

Agile Buzz Forum
SUnitToo update

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
James Robertson

Posts: 29924
Nickname: jarober61
Registered: Jun, 2003

David Buck, Smalltalker at large
SUnitToo update Posted: Oct 25, 2006 12:34 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by James Robertson.
Original Post: SUnitToo update
Feed Title: Travis Griggs - Blog
Feed URL: http://www.cincomsmalltalk.com/rssBlog/travis-rss.xml
Feed Description: This TAG Line is Extra
Latest Agile Buzz Posts
Latest Agile Buzz Posts by James Robertson
Latest Posts From Travis Griggs - Blog

Advertisement

I really was going to do a day by day OOPSLA report. But, well... I think I'll just opt for some sum up thoughts in the end.

In other news, I've found a bit of time to make some improvements to SUnitToo. First of all, I'm tired of saying "Extra RB For S Unit Too". And I'm tired of the two packages not showing up side by side. And no, I don't think a "Bundle" adds any value here. Instead, I've opted to rename ExtraRBForSUnitToo. It is now named SUnitToo(ls). It's a fun play on the words, and may be the first Open Repository package to contain parentheses.

SUnitToo core has been modified. Sames had claimed he had 29000 tests for Pollock. However when I flipped the "Use SUnitToo" button, it came up with 30000+. It uses a method called testSelectorsDo: for just about any testSelector query. Usually, it just Set-ifies the result, but the counting points out that it did not filter out redundant inherited selectors. It does now.

Also, I've been talking with Andres Valloud here at OOPSLA. He has done his own refactoring of SUnit (original). I think this is great! Anyhow, he'd pointed out a couple of handy refactorings he'd done on the original, that I thought would be nice to have. They've been incorporated.

Another thanks goes to Boris Popov. When I did the first version of the automagically inheriting test case views, I warned that "...there might be issues that need to be vetted out here." Boris found one pretty quickly. The mechanism it used was to basically note when a TestCase was selected and essentially set the method "visibility" to TestCase - 1. The problem here is that if you have an abstract TestCase of your own with all kinds of helper methods, you see those in your selected subclasses. You probably don't really want to see all of the inherited methods, just the inherited test methods. So that's been fixed. It's done by using whatever you set it to PLUS any inherited test selectors that don't show up as overriden. It even does the same for protocols. And is smart enough to only do the inherited protocols that contain test methods. I hope this is an improvement for everyone in the "inherited tests" camp. Enjoy.

Read: SUnitToo update

Topic: Consulting independance Previous Topic   Next Topic Topic: Are you a

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use