Fwd: [Pharo-users] TestMock: a full featured mock testing framework now available in SqueakSource

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

Re: Fwd: [Pharo-users] TestMock: a full featured mock testing framework now available in SqueakSource

Denis Kudriashov
2010/11/24 Stéphane Ducasse <[hidden email]>
prepare it and help building the pharo-dev script and it will be there.


Mocketry is one package from http://squeaksource/Mocketry. It has no dependents and can be easy loaded to pharo (I used it in Pharo1.1). But I dont remember gofer api to write script.
(But MocketryTests has dependents from SMock)
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: [Pharo-users] TestMock: a full featured mock testing framework now available in SqueakSource

Luc Fabresse
In reply to this post by laurent laffont
Hi Laurent,
 
why Mocks are less necessary in Smalltalk than in other (Ruby/Python/whatever...) languages ? Do you have some examples / link ?

Hey, I didn't write that ;-)
I wrote that mocks are not always used in unit tests.
I can write a lot of unit tests without mocks by using the tested objects directly.

Sometimes I think a mocking library should be in PharoCore so I don't need to write my own mocks.....

I agree, when mocks are needed, I library could help.

#Luc

Reply | Threaded
Open this post in threaded view
|

Re: Fwd: [Pharo-users] TestMock: a full featured mock testing framework now available in SqueakSource

Stéphane Ducasse
In reply to this post by Stéphane Ducasse
So dennis squared it would be good that you write this chapter. I can help editing and reviewing it.
Start examples first
It would be a good addition for the community.

At the end we should all produce more documentation.
Stef


On Nov 24, 2010, at 7:33 PM, Dennis Schetinin wrote:

>
> By the way dennis did you start to write a chapter on Mocks?
>
> Stef
>
>
> Well, actually I'm another Dennis :) I think you talked about the Mocks chapter with Dennis Kudryashov, author of Mocketry.
>
> On the other hand, he was my student, we still stay in touch with him and decided to work together on the topic. We didn't make much progress so far unfortunately, but we have a plan for the chapter and about 50% of text in Russian.
>
> --
> Dennis Schetinin


12