tag:blogger.com,1999:blog-19626531.post5030863758309986413..comments2023-11-02T08:32:39.646+01:00Comments on Ola Bini: Programming Language Synchronicity: Scala unit testingOla Binihttp://www.blogger.com/profile/15793488672952593953noreply@blogger.comBlogger10125tag:blogger.com,1999:blog-19626531.post-80038909254157411532008-04-09T05:18:00.000+02:002008-04-09T05:18:00.000+02:00Have you looked at Scalatest? (http://www.artima.c...Have you looked at Scalatest? (http://www.artima.com/scalatest/)jcobbershttps://www.blogger.com/profile/09692078705448365748noreply@blogger.comtag:blogger.com,1999:blog-19626531.post-49894531387477640392008-01-04T10:05:00.000+01:002008-01-04T10:05:00.000+01:00I'll be back working on ScUnit soon, hopefully in ...I'll be back working on ScUnit soon, hopefully in the coming weeks. Just moved countries and started a new job and have been very busy - but I've got your comments here and will look into them.<BR/><BR/>Thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-19626531.post-21880820755868968982008-01-03T01:44:00.000+01:002008-01-03T01:44:00.000+01:00Hi Ola,You can try out specs-1.1.3 (http://code.go...Hi Ola,<BR/><BR/>You can try out specs-1.1.3 (http://code.google.com/p/specs/).<BR/><BR/>It should work with Ant and JUnit4 now. The short story is that JUnit4 was not able to run JUnit3 TestSuites.<BR/><BR/>Thanks for your future feedback on specs. As you can see in the downloads number, it has not been really battle-tested by hundreds of users, so I expect future issues or enhancement ideas.<BR/><BR/>Happy specs!<BR/><BR/>Eric.Erichttps://www.blogger.com/profile/16484514586929815703noreply@blogger.comtag:blogger.com,1999:blog-19626531.post-4507975095240965512008-01-01T21:10:00.000+01:002008-01-01T21:10:00.000+01:00Hi Ola,maybe that one can help you (it's using Tes...Hi Ola,<BR/><BR/>maybe that one can help you (it's using TestNG though):<BR/>http://jackcoughonsoftware.blogspot.com/2007/12/using-testng-in-scala-by-example.htmlAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-19626531.post-51020747609397304162008-01-01T16:11:00.000+01:002008-01-01T16:11:00.000+01:00I had no problem with specs that I remember. I did...I had no problem with specs that I remember. I didn't use Ant, though. Also, just using JUnit directly in Scala should be fine too, as someone already recommended.Villanehttps://www.blogger.com/profile/10112463712062206087noreply@blogger.comtag:blogger.com,1999:blog-19626531.post-29745259363712839472008-01-01T15:16:00.000+01:002008-01-01T15:16:00.000+01:00Eric, I do appreciate all your help, and specs is ...Eric, I do appreciate all your help, and specs is absolutely first on my list of the frameworks I would like to use. Also, I promise to post an update if we can find something that works.Ola Binihttps://www.blogger.com/profile/15793488672952593953noreply@blogger.comtag:blogger.com,1999:blog-19626531.post-85713753162487135292008-01-01T15:03:00.000+01:002008-01-01T15:03:00.000+01:00Hi Ola,I'm sorry that I couldn't find in time a so...Hi Ola,<BR/><BR/>I'm sorry that I couldn't find in time a solution for you to be able to work with junit4. I wish you didn't have to write that post! <BR/><BR/>I understand your frustration as writing tests should indeed be at the start of any development.<BR/><BR/>I've just resumed my search to find a reason why junit4 would refuse to run a junit3 test suite and I hope to be back soon with good news!<BR/><BR/>If anyone has some idea about that, I would appreciate, thanks.<BR/><BR/>Eric.<BR/>(specs author)Erichttps://www.blogger.com/profile/16484514586929815703noreply@blogger.comtag:blogger.com,1999:blog-19626531.post-73883853142350403182008-01-01T12:23:00.000+01:002008-01-01T12:23:00.000+01:00You might want to try using maven. I managed to ge...You might want to try using maven. I managed to get specs going with maven and the archetypes from www.liftweb.net. They give some examples in the tutorials section.<BR/><BR/>The only thing I had to change was the scala library version used from 2.6.0 to 2.6.1 - otherwise I was also getting class not found exceptions.Unknownhttps://www.blogger.com/profile/07931591347191825421noreply@blogger.comtag:blogger.com,1999:blog-19626531.post-22133013716011198342008-01-01T06:46:00.000+01:002008-01-01T06:46:00.000+01:00Why ant? Surely rake.Why ant? Surely rake.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-19626531.post-19744545797162562022008-01-01T04:57:00.000+01:002008-01-01T04:57:00.000+01:00I tinkered with scala just a bit a few months ago....I tinkered with scala just a bit a few months ago. I think I tried sunit, can't recall. I do recal scala working fine with junit though. Just define tests the way you usually do in junit, but do it in scala.Patrick Loganhttps://www.blogger.com/profile/02088461489050417591noreply@blogger.com