I agree that these methods (e.g., assert:equals: ) could be useful. They were originated in JUnit, when Java 1.4 introduced the assert keyword. JUnit introduced these new methods for asserting expression.

Could you provide an enhancement of SUnit for Pharo please?

Cheers,
Alexandre


On 18 Aug 2008, at 13:59, laurent laffont wrote:



On Mon, Aug 18, 2008 at 1:39 PM, Alexandre Bergel <[EMAIL PROTECTED]> wrote:
Hi Laurent,

I loaded your XML-parser and ContIntegration in a fresh Pharo image.
None of the test contained in CITestReporterTest pass.
I've seen that. My tests use assert:equals: method which do not exists in Pharo (squeak* images and pharo-dev have this method). Either I correct my tests or include the method in Pharo (I personnally find assert:equals, assertnil:, assert :same: .... methods of other unit test framework very useful)



Am I doing something wrong?

What is squeakci-get in your script below?

Cheers,
Alexandre



On 17 Aug 2008, at 15:59, laurent laffont wrote:

I've made some scripts to automatically run the tests and generate the reports. More details on
http://www.squeaksource.com/ContIntegration.html in the wiki.

Briefly, you can automatically download an image archive, install ContinuousIntegration package run the tests, generate the report and publish it on a ftp server doing this:

ncftpput ftp.foo.com www/reports -u me -p secret \
`squeakci-get https://gforge.inria.fr/frs/download.php/5547/sq3.9.1-7075dev08.08.1.zip `

If there's a tool to generate the pharo image automatically, then there's not a lot of work remaining to have a basic continuous integration server.

However, these two problematic tests must be resolved (MCPackageTest>>#testUnload {tests}
 and RxPaserTest>>#testMatchesInwW)

Laurent

On Sun, Aug 17, 2008 at 2:01 PM, Alexandre Bergel <[EMAIL PROTECTED]> wrote: Ideally, generating a new report for each new commit in PharoInBox and Pharo would be great...

Cheers,
Alexandre


On 17 Aug 2008, at 13:23, laurent laffont wrote:

Hello,

I've generated a test report for pharo0.1-10050web08.08.1 image: 
http://www.adhocmusic.net/squeak/pharo0.1-10050web08.08.1.tests.html

passed: 14475 failures: 44 errors: 83

I had to remove this test as it never ends: MCPackageTest>>#testUnload {tests}

There's also a halt in RxPaserTest>>#testMatchesInwW

Is this report useful for you ? Which additional informations would you like to see in it ?

Regards,

--
Laurent Laffont
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



--
Laurent Laffont <[EMAIL PROTECTED]>

TEMIS
48, Avenue Jean Jaurès
74800 La Roche sur Foron
Tél. : 04 50 97 49 91
Fax : 04 50 97 49 94
http://www.temis-france.com
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to