jtanistra / spock

Automatically exported from code.google.com/p/spock
0 stars 0 forks source link

Auto-instantiate a JUnit rule if no instance is provided #234

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
For example, instead of:

@TestName name = new TestName()

it should be permissible to write:

@TestName name

Of course, explicit instantiation should still be supported.

Original issue reported on code.google.com by pnied...@gmail.com on 21 Feb 2012 at 4:58

GoogleCodeExporter commented 8 years ago

Original comment by pnied...@gmail.com on 26 Feb 2012 at 11:43