Author Login
Post Reply
Hello everybody!
As all of you probably know a new feature, Rule mechanism, has been
added to JUnit 4.7.
After the discussion with David Saff (main JUnit contributor) and Nat
Pryce it comes out that it is better to use jMock through the Rule
mechanism and not through the runner:
public class JMockRuleTest {
@Rule public Verifier jmock = new JMockVerifier();
}
This approach will allow to use jMock with a custom JUnit runner like
Theories or your favorite one.
I'm going to implement this feature and want to know your valuable
opinion on what kind of API you expect.
Personally I think that this new API will be similar to the current
Mockery's one.
I've already created a new issue in JIRA -
http://jira.codehaus.org/browse/JMOCK-237
--
Best regards,
Ivan Yatskevich
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email