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...
23789
Georg
le_garcon_en...
Jan 4, 2012 7:52 pm
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...
23791
kristian@...
krosenvold
Jan 5, 2012 11:36 am
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...
23792
kristian@...
krosenvold
Jan 5, 2012 11:42 am
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...
23795
Esko Luontola
egeluontola
Jan 6, 2012 12:29 pm
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...
23797
p.lipinski
Jan 10, 2012 2:17 am
Actually this thread wasn't related to the standard JUnit Parameterized runner, which is a failure. It was related to JUnitParams runner...
23798
David Saff
dsaff
Jan 17, 2012 4:30 pm
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 ...
23799
foo_bar_baz_qux
Jan 24, 2012 1:57 am
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,...
23800
David Saff
dsaff
Jan 29, 2012 3:48 am
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...
23801
David Saff
dsaff
Jan 31, 2012 7:49 pm
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...
23802
Matthew Farwell
mjfarwell
Jan 31, 2012 8:35 pm
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]...
23803
Marc Philipp
mphilipp1982
Jan 31, 2012 8:35 pm
Hi David, I rebased @leet3lite39;s master branch onto @KentBeck's and resolved two conflicts. Here's a new pull request: ...
23804
M.Srinivas
srinivasmall...
Jan 31, 2012 8:35 pm
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...
23805
Georg Thimm
le_garcon_en...
Feb 1, 2012 1:32 pm
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 ...
23807
Wayne
wdtj
Feb 15, 2012 10:48 pm
Forgive me if this is a FAQ, but I have tried digging through the documentation and the answer was not apparent. I am writing some test cases. As part of the...
23808
Dawid Weiss
dawid.weiss@...
Feb 15, 2012 11:05 pm
You should write a @Rule that will intercept the Description associated with the current test case and store it somewhere (or use it directly). Check out the...
23809
David Saff
dsaff
Feb 16, 2012 2:32 am
See also https://github.com/KentBeck/junit/blob/master/src/main/java/org/junit/rules/TestName.java...
23810
coretek89
Feb 16, 2012 12:35 pm
Hello, I wan't to ask for a solution to stop and/or destroy a JUnitCore. Like pleaseStop() on the RunNotifier. I already tried ExecutorsService with no...
23811
nirh20
Feb 22, 2012 2:38 pm
Hi all I would like to know how to set an order in Junit, Details: the Junit tests are executing from quickbuild. Thanks...
23812
Matthew Farwell
mjfarwell
Feb 22, 2012 3:54 pm
Hi, If you're asking about the ordering of tests, it's discouraged in JUnit. For more information, see this stackoverflow Answer: ...
23813
nirh20
Feb 23, 2012 1:03 pm
Thank you very much! I will look on it...
23814
mjfarwell
Feb 25, 2012 12:29 pm
Hi, I've submitted a pull request for this https://github.com/KentBeck/junit/pull/386. @SortMethodsWith(MethodSorters.NAME_ASC) public class MyTest { } There...
23815
anu smina
anu_rose45
Feb 26, 2012 12:29 pm
I dont know how to install and run junit. I tried different methods given in the web. Nothing works. So please help me to run the program 1. Java is...
23816
Malte Finsterwalder
maltefinster...
Feb 27, 2012 3:01 pm
JUnit is a jar file, which needs to be added to your classpath. So you can install it anywhere. The easiest way to run junit is actually in an IDE (Eclipse,...
23817
mihir jhala
mihirjhala
Feb 27, 2012 11:55 pm
Hello, Â Better way to work with Juint is to have IDE like eclipse.It allready has Juint in-built in it.So you can download eclipse and when you go to ...