[Cuis-dev] Move assertCount initialization to #initialize

Juan Vuletich juan at cuis.st
Wed Apr 3 07:40:21 PDT 2024


Hi Folks,

Just pushed it to GitHub. Thanks Hernán!

Cheers,

On 4/3/2024 11:27 AM, Hernán Wilkinson via Cuis-dev wrote:
> After talking with Juan, we decided that it is better to move the 
> initialization of assertCount to #performTest.
> Attached is the .cs that does that
>
> Cheers!
> Hernan.
>
>
> On Wed, Apr 3, 2024 at 10:52 AM Hernán Wilkinson 
> <hernan.wilkinson at 10pines.com <mailto:hernan.wilkinson at 10pines.com>> 
> wrote:
>
>     Hi,
>      attached is a .cs that moves the initialization of assertCount
>     from #setUp to #initialize avoiding tests failing when redefining
>     #setUp and not sending setUp to super.
>      I think it is better to have it in #initialize because
>     assertCount is part of the SUnit framework and not of a test,
>     therefore we can leave #setUp to initialize test data.
>     Cheers!
>     Hernan.
>
>     -- 
>     *Hernán Wilkinson
>     Agile Software Development, Teaching & Coaching*
>     *Phone: +54-011*-4893-2057
>     *Twitter: @HernanWilkinson*
>     *site: http://www.10Pines.com <http://www.10pines.com/>*
>     Address: Alem 896, Floor 6, Buenos Aires, Argentina
>
>
>
> -- 
> *Hernán Wilkinson
> Agile Software Development, Teaching & Coaching*
> *Phone: +54-011*-4893-2057
> *Twitter: @HernanWilkinson*
> *site: http://www.10Pines.com <http://www.10pines.com/>*
> Address: Alem 896, Floor 6, Buenos Aires, Argentina


-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240403/735a78bc/attachment-0001.htm>


More information about the Cuis-dev mailing list