Hi Gerd,
I'm also with the other guys on this.
In your code you may use "System.exit(0)" and this will stop the whole
VM and SBT cannot help you.
You can try to run the tests in a forked VM though.
On Fri, Jul 6, 2012 at 3:12 PM, Gerd Riesselmann
<
gerd.rie...@gmail.com> wrote:
> Sight... I thought I did everyone a favor in tracing down what I think is a
> bug to a simple, reproducible test case. Instead all we do is talk about the
> code of the test case itself.
>
> Please, for a moment, abstract away from this code, and believe me I have an
> application which has objects that are actors and are always running,
> because they are started automatically by some complex logic. I know it is
> tempting to start a discussion about software architecture at this point,
> but please hesitate.
>
> It should be obvious, that I can't simply end them at the end of some test
> (which one?).
>
> And why should I? If I expect "sbt test" to compile, run the tests, and
> exit: Isn't this what it actually is supposed to do? It did right that in
> 0.7!
>
> However: I would also be satisfied it someone could show me how to execute
> code after the last test was run, so I could shutdown parts of the system
> manually.
>
> Cheers,
>
> Gerd
>
https://groups.google.com/d/msg/simple-build-tool/-/_ICuG7lZ5DsJ.