[squeak-dev] Community Tests Repository

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

[squeak-dev] Community Tests Repository

Ian Trudel-2
Come on guys. Write more tests! Let's inject some positive energy into
Squeak. :)

And I've added tests for Month>>indexOfMonth and Month>>nameOfMonth.

Enjoy,
Ian

--
http://mecenia.blogspot.com/

Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Community Tests Repository

Ian Trudel-2
Doing good never been so easy.

* Reformatted code in Week>>startDay.
* Added tests for Week class methods indexOfDay:, nameOfDay: and dayNames.

Question. Week>>indexOfDay: does not raise an error on unknown day. Is
that normal? It returns 0. I would have expected an error thrown...

Ian.

--
http://mecenia.blogspot.com/

Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Community Tests Repository

Ian Trudel-2
Introducing VersionNumber unit tests with 10 tests and 23% code coverage.

Ian.
--
http://mecenia.blogspot.com/

Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: Community Tests Repository

Ian Trudel-2
Added tests for methods VersionNumber>>=,
VersionNumber>>initializeNumbers and String>>asVersion.

29% Code Coverage.

Ian.

--
http://mecenia.blogspot.com/