David Saff

Results 63 comments of David Saff

@borisbrodski, we've undeprecated MethodRule for this reason--please continue to use it.

We intend for tests that throw AssumptionFailedException to be marked as ignored by runners. Does that work for your case?

Yes, you can, so your assumptions can be bound up into a Rule.

RainerW, have you tried the Categories support? Will that do what you want?

@digulla, sorry to have left this issue hanging. If I understand, your proposal is to make FrameworkMethod mutable, with an "ignored" bit that can be turned off and on by...

The intent is that failed assumptions would be treated like ignores. In some future release of JUnit, I may figure out a mechanism for allowing test writers and running frameworks...

It's possible, but complicates the meaning of the runner for what feels like little benefit.

@brandonheck, that should already work. Have you tried?

Sorry to be confusing. Did you try it with @BeforeClass and @AfterClass?

@brandonheck, what would you expect `@Before` and `@After` to do?