From: Esko Luontola <esko.luont...@gmail.com>
Date: Tue, 24 Aug 2010 01:35:52 +0300
Local: Mon, Aug 23 2010 6:35 pm
Subject: Re: [scalatest-users] Re: Test Isolation with ScalaTest?
Bill Venners wrote on 24.8.2010 0:00:
> If scala-library.jar is a problem then ScalaTest is out of the There's this line which passes the context to the test, so that the test > "running" for sure. But I actually don't understand what you mean > here, and would like to. Can you clarify by giving a specific example > of code you would want to "execute before the test class is > instantiated?" will know that which tests to execute on the current test run, and the initialization in the Context.bootstrap() method: http://github.com/orfjackal/specsy/blob/master/src/main/scala/net/orf... It would be possible to detect when the class is instantiated the first Probably also writing tests for the testing framework code would be I suppose it basically boils down to this: > I have a new question about after. Should multiple after clauses be Yes, that's how I do it. See the chapter "Before" and "After" Blocks in > allowed in a block, and if so, what order are they executed on exit? > I'm guessing yes, and last registered first executed (i.e. executed in > reverse order of appearance). Is that what you do in Specsy? http://github.com/orfjackal/specsy#readme > This is Specsy's documentation (http://github.com/orfjackal/specsy#readme) is > another example of how such code would not be obvious to casual > readers without reading the documentation, but again, it would likely > be rare and could be well documented. only about 4 pages long and it consists mostly of code examples (the most valuable kind of documentation). I'm expecting everybody to read it before using the framework. -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||