[Cuis-dev] Move assertCount initialization to #initialize

Hernán Wilkinson hernan.wilkinson at 10pines.com
Wed Apr 3 07:27:39 PDT 2024


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> 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 WilkinsonAgile 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 WilkinsonAgile 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240403/b808c82b/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6310-assertCountMovedToperfomTest-HernanWilkinson-2024Apr03-11h25m-HAW.001.cs.st
Type: application/octet-stream
Size: 305 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240403/b808c82b/attachment.obj>


More information about the Cuis-dev mailing list