When there are no tests matching the Include/Exclude filters, Categories throws an InitializationError. Can this behavior be changed? IMO, if nothing matches...
hi friends, My application is in wicket and we use lots of wicket interfaces in our application and i am not able to cover the code in test as i am not able to...
See, if we mock the object using junit how can i mock it again using Mockito in same class? i thought of using the @Before and @After but couldent succeed. do...
Atul, Have you tried any of the popular mocking frameworks like jMock, EasyMock or Mockito? What happens? David ... [Non-text portions of this message have...
Hi, I maintain the junit provider for maven-surefire, and I'm looking into transitioning from a Junitcore+RunListener based approach to an approach based on...
Hi Kristian Do you really want a transition from RunListener? To an outside observer - a JUnit Runner "describes" its test-executions and reports their outcome...
Kristian, In reading your original mail, I was also confused as to what you wanted to achieve. Could you expand a little please? Thanks. Matthew Farwell. ... ...
Sorry, I was doing just what I sometimes dislike of our own users ;) The real problem I want to solve is associating console output from a running thread to a...
Dear Kristian, My first thought - and I hope not to sound arrogant - would be to - to remove the the output altogether (who reads it anyhow once the test is...
23790
Dawid Weiss
dawid.weiss@...
Jan 4, 2012 8:15 pm
Hi Kristian, We had a similar issue. I was debating for a longer while if it makes sense to run parallel tests within the same VM. In many situations this...
maven-surefire now also supports concurrent forks, and they don't have any of the interaction problems you describe - as you know. Since surefire is an...
Surefire is maven's default test-runner. It serves a bucketload of use-cases, some of which are *far* off from what I'd do in my own tests. If the user decides...
23793
Dawid Weiss
dawid.weiss@...
Jan 5, 2012 11:58 am
... I was thinking about ANT actually, not maven (surefire). I admit we also needed some extra control over suite allocation scheduling and more detailed...
23794
Dawid Weiss
dawid.weiss@...
Jan 5, 2012 11:58 am
Oh, I also didn't mention one more thing -- if you have tests that fork subthreads which in turn write to System.out/err then you will also need a smarter way...
I'm already working on something like that. I'm writing a new test runner called Jumi http://jumi.fi/ which will have native support for running tests in...
23796
Dawid Weiss
dawid.weiss@...
Jan 6, 2012 1:57 pm
You may want to look into RandomizedRunner/JUnit4 task -- it has most of the things you mentioned (synchronized i/o events with reporting, capturing runaway...
All, Sorry for the radio silence that followed this post in last 2011. Starting today, I've joined the Android team at Google, working on the Google Books app ...
That is great, besides the fact that I will need to explain my team members and the procurement department why am I dragging another library in the project,...
Dimitar, Patch processing has been slow on JUnit, as I shared with the list that my paid work and family commitments have been taking up more of my time over...
All, I'm trying to catch up on the Pull Request queue, with some help. Here's a pull request that's essentially ready to go, it just needs someone with git...
Yeah, I can do it. What exactly needs to be done? A squash and push? Thanks. Matthew Farwell. ... [Non-text portions of this message have been removed]...
I am new to JUnit.Entire project has developed using spring and JSPs. Now my job is review code and notice whether it follows coding standards or not.They...
Hi! Please feel fre to take some code for this out of "unofficialjunit" on sourceforge. Regards, Georg [Non-text portions of this message have been removed]...
23806
wensi liu
juky.liu@...
Feb 7, 2012 2:24 am
Hi All, Is there a way to get more detail info after running test cases? like spend how many time for each test case? list all passed test cases other than ...