integration testing

2 views
Skip to first unread message

Josh Cough

unread,
Dec 23, 2009, 12:03:08 PM12/23/09
to simple-b...@googlegroups.com
Hi Mark,

I noticed some Integration test stuff when I was piling through the code the other day. I tried to find it on the wiki but didn't have much luck. Do you have any documentation on it? Seth and I have some slow tests that we don't want to run during our regular unit testing. Is there a common pattern for doing this? I was wondering if the integration testing stuff would be the way to go here.

Thanks!

-Josh

Mark Harrah

unread,
Dec 23, 2009, 5:33:51 PM12/23/09
to simple-b...@googlegroups.com
Josh,

The idea is to mix in BasicScalaIntegrationTesting and get the usual test
methods but for sources in src/it/ and with integration prefixed.

-Mark

Josh Cough

unread,
Dec 23, 2009, 5:39:57 PM12/23/09
to simple-b...@googlegroups.com
I'm sorry Mark, could you please explain that part again? I'm slow.

--

You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To post to this group, send email to simple-b...@googlegroups.com.
To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.



Mark Harrah

unread,
Dec 29, 2009, 9:08:15 PM12/29/09
to simple-b...@googlegroups.com
Josh,

It is supposed to be something like:

class MyProject(info: ProjectInfo) extends DefaultProject(info) with
BasicScalaIntegrationTesting

put MyTest.scala in src/it/scala

$ sbt
$> integration-test

There isn't anything like test-quick though.

Reply all
Reply to author
Forward
0 new messages