Stocking Stuffer - Intelli-Dolphin + SMock now released

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Stocking Stuffer - Intelli-Dolphin + SMock now released

Tim M
I've been having too much fun in Dolphin X6... the good news is that I
thought I would share it.

Announcing Intelli-Dolphin 1.0 and SMock 1.0 - small little gifts to
give
back to the community some of the pleasure of working in D6.

Intelli-Dophin - perhaps a bit noble in title, but the idea is to
ontroduce
some more keyboard usage to a rather mouse based Dolphin. Features
include:
 - Copy Class from a menu
 - Copy line with Ctrl-C (because I can never remember the other
shortcut
key)
 - Auto comment a line or selection
 - Intelligently auto bracket a keyword, statement or selection
 - Flip/Run your current unit test or package with a single keystroke
 - Autoselect the first test error and display it in the status line

see: http://www.pobox.com/~timm/dolphin.html

SMock - Smalltalk Mock Objects and Constraints. In Dynamic langauges,
mocking out behavior and indicating usage expectations is just as
useful for
TDD. Features include:
 - Express usage of yet to be defined objects using blocks of code
 - Set cardinality of usage via, #atLeast, #exactly, #any etc.
 - A rich set of constraints to express parameter expressions
including,
Exactly, Greater, Includes, Only, Different
 - Improve unit test failure messages by using constriants and
cardinalitys
to generate the error message
 - Based on usage examples and constraints, generate code for related
objects.

see: http://www.pobox.com/~timm/smock.html

The documentation and examples are a little bit sketchy, but I have
recorded
a flash demo showing TDD and Mock Objects in action.

This is my first go at sharing something in Dolphin, so 1.0 might be
more
.99 but hey you have to start sometime.

Tim


Reply | Threaded
Open this post in threaded view
|

Re: Stocking Stuffer - Intelli-Dolphin + SMock now released

Sean M-4
Thanks Santa.

Intelli-Dolphin is _really_ nice. Great work


Reply | Threaded
Open this post in threaded view
|

Re: Stocking Stuffer - Intelli-Dolphin + SMock now released

TimM-3
In reply to this post by Tim M
Thought you guys might like this, no sooner do I release some of this stuff,
when a friend sends me an email complaining that he's just said "why isn't
some of this stuff available in Smalltalk instad of just been possible"...

http://www.cdegroot.com/blog/2005/12/08/cedric-who/#comment-20

Ooops, sorry mike...  (I didn't read your list before hand). However in
mike's defense, his comments are still very valid, and we all need to do a
Ruby on Rails advertisement gig and actually make a point of not only saying
its all possible but actually making it accesible and visible to everyone. I
also like how mike let me know about this thread...

Tim

"TimM" <[hidden email]> wrote in message
news:[hidden email]...

> I've been having too much fun in Dolphin X6... the good news is that I
> thought I would share it.
>
> Announcing Intelli-Dolphin 1.0 and SMock 1.0 - small little gifts to
> give
> back to the community some of the pleasure of working in D6.
>
> Intelli-Dophin - perhaps a bit noble in title, but the idea is to
> ontroduce
> some more keyboard usage to a rather mouse based Dolphin. Features
> include:
> - Copy Class from a menu
> - Copy line with Ctrl-C (because I can never remember the other
> shortcut
> key)
> - Auto comment a line or selection
> - Intelligently auto bracket a keyword, statement or selection
> - Flip/Run your current unit test or package with a single keystroke
> - Autoselect the first test error and display it in the status line
>
> see: http://www.pobox.com/~timm/dolphin.html
>
> SMock - Smalltalk Mock Objects and Constraints. In Dynamic langauges,
> mocking out behavior and indicating usage expectations is just as
> useful for
> TDD. Features include:
> - Express usage of yet to be defined objects using blocks of code
> - Set cardinality of usage via, #atLeast, #exactly, #any etc.
> - A rich set of constraints to express parameter expressions
> including,
> Exactly, Greater, Includes, Only, Different
> - Improve unit test failure messages by using constriants and
> cardinalitys
> to generate the error message
> - Based on usage examples and constraints, generate code for related
> objects.
>
> see: http://www.pobox.com/~timm/smock.html
>
> The documentation and examples are a little bit sketchy, but I have
> recorded
> a flash demo showing TDD and Mock Objects in action.
>
> This is my first go at sharing something in Dolphin, so 1.0 might be
> more
> .99 but hey you have to start sometime.
>
> Tim
>


Reply | Threaded
Open this post in threaded view
|

Re: Stocking Stuffer - Intelli-Dolphin + SMock now released

Bernhard Kohlhaas-6
In reply to this post by Tim M
Hi Tim,

Thank you very much for making Intelli-Dolphin available. I've just
installed the package "Intelli-Dolphin Professional" and noticed that
afterwards the Transcript showed two error messages:

ERROR: Unable to patch StsComparisonBrowser class>>resource_Default_view
finding ''Next difference''
ERROR: Unable to patch StsComparisonBrowser class>>resource_Default_view
finding ''Next difference''

This is on a Dolphin 6 with the beta patch level 1 installed.

I have also noticed that - when I display the Class Definition of class
CodePatcher and then mark the class variable PatchesSource and press
Ctrl-I to inspect it - the Transcript shows the message "ScintillaView
class does not understand #<". I am not sure, if that is a problem with
Dolphin itself or your extension, since I couldn't reproduce the
circumstances, under which that is happening.


Best Regards,
Bernhard


TimM wrote:

> I've been having too much fun in Dolphin X6... the good news is that I
> thought I would share it.
>
> Announcing Intelli-Dolphin 1.0 and SMock 1.0 - small little gifts to
> give
> back to the community some of the pleasure of working in D6.
>
> Intelli-Dophin - perhaps a bit noble in title, but the idea is to
> ontroduce
> some more keyboard usage to a rather mouse based Dolphin. Features
> include:
>  - Copy Class from a menu
>  - Copy line with Ctrl-C (because I can never remember the other
> shortcut
> key)
>  - Auto comment a line or selection
>  - Intelligently auto bracket a keyword, statement or selection
>  - Flip/Run your current unit test or package with a single keystroke
>  - Autoselect the first test error and display it in the status line
>
> see: http://www.pobox.com/~timm/dolphin.html
>
> SMock - Smalltalk Mock Objects and Constraints. In Dynamic langauges,
> mocking out behavior and indicating usage expectations is just as
> useful for
> TDD. Features include:
>  - Express usage of yet to be defined objects using blocks of code
>  - Set cardinality of usage via, #atLeast, #exactly, #any etc.
>  - A rich set of constraints to express parameter expressions
> including,
> Exactly, Greater, Includes, Only, Different
>  - Improve unit test failure messages by using constriants and
> cardinalitys
> to generate the error message
>  - Based on usage examples and constraints, generate code for related
> objects.
>
> see: http://www.pobox.com/~timm/smock.html
>
> The documentation and examples are a little bit sketchy, but I have
> recorded
> a flash demo showing TDD and Mock Objects in action.
>
> This is my first go at sharing something in Dolphin, so 1.0 might be
> more
> .99 but hey you have to start sometime.
>
> Tim
>


Reply | Threaded
Open this post in threaded view
|

Re: Stocking Stuffer - Intelli-Dolphin + SMock now released

TimM-3
> ERROR: Unable to patch StsComparisonBrowser class>>resource_Default_view
> finding ''Next difference''
> ERROR: Unable to patch StsComparisonBrowser class>>resource_Default_view
> finding ''Next difference''
>
> This is on a Dolphin 6 with the beta patch level 1 installed.

This is OK - many of the things in I-Dolphin I report back to OA to see if
they can be included in the base. They have added this particular fix for
the Sts Next buttons - however I missed the same fix in the method
comparison browser (now reported).

However you raise a good point - instead of saying ERROR it probably should
be WARNING, it just meant it couldn't find the string to replace it (because
its already replaced).

When the final patch is out - I will remove this replacement rule.

>  have also noticed that - when I display the Class Definition of class
> CodePatcher and then mark the class variable PatchesSource and press
> Ctrl-I to inspect it - the Transcript shows the message "ScintillaView
> class does not understand #<".

Not sure about that one, I can inspect that variable without any problems.
However I do notice that in Dolphin, you need to select entire variables
(e.g. double click to select all of it) before pressing Ctrl-I.

Tim


> TimM wrote:
>> I've been having too much fun in Dolphin X6... the good news is that I
>> thought I would share it.
>>
>> Announcing Intelli-Dolphin 1.0 and SMock 1.0 - small little gifts to
>> give
>> back to the community some of the pleasure of working in D6.
>>
>> Intelli-Dophin - perhaps a bit noble in title, but the idea is to
>> ontroduce
>> some more keyboard usage to a rather mouse based Dolphin. Features
>> include:
>>  - Copy Class from a menu
>>  - Copy line with Ctrl-C (because I can never remember the other
>> shortcut
>> key)
>>  - Auto comment a line or selection
>>  - Intelligently auto bracket a keyword, statement or selection
>>  - Flip/Run your current unit test or package with a single keystroke
>>  - Autoselect the first test error and display it in the status line
>>
>> see: http://www.pobox.com/~timm/dolphin.html
>>
>> SMock - Smalltalk Mock Objects and Constraints. In Dynamic langauges,
>> mocking out behavior and indicating usage expectations is just as
>> useful for
>> TDD. Features include:
>>  - Express usage of yet to be defined objects using blocks of code
>>  - Set cardinality of usage via, #atLeast, #exactly, #any etc.
>>  - A rich set of constraints to express parameter expressions
>> including,
>> Exactly, Greater, Includes, Only, Different
>>  - Improve unit test failure messages by using constriants and
>> cardinalitys
>> to generate the error message
>>  - Based on usage examples and constraints, generate code for related
>> objects.
>>
>> see: http://www.pobox.com/~timm/smock.html
>>
>> The documentation and examples are a little bit sketchy, but I have
>> recorded
>> a flash demo showing TDD and Mock Objects in action.
>>
>> This is my first go at sharing something in Dolphin, so 1.0 might be
>> more .99 but hey you have to start sometime.
>>
>> Tim
>>


Reply | Threaded
Open this post in threaded view
|

Another small Dolphin bug? (was: Re: Stocking Stuffer - Intelli-Dolphin + SMock now released)

Bernhard Kohlhaas-6
TimM wrote:

>> have also noticed that - when I display the Class Definition of class
>>CodePatcher and then mark the class variable PatchesSource and press
>>Ctrl-I to inspect it - the Transcript shows the message "ScintillaView
>>class does not understand #<".
>
>
> Not sure about that one, I can inspect that variable without any problems.
> However I do notice that in Dolphin, you need to select entire variables
> (e.g. double click to select all of it) before pressing Ctrl-I.

I found that PublishedAspectInspector>>getSubAspectsFor: is the "bad
guy" in my image. In case of a MessageNotUnderStood error it excludes
the message #<= from to be sent to the trace, but it doesn't exclude #<
. The message #< is sent from Association(Magnitude)>><= and the key is
a class.

I have no idea though, why this doesn't happen in your image.


Best Regards,
Bernhard