Hi, I'm trying to implement a test rule that handles unstable tests. It's made up of the test rule itself, plus an Unstable annotation that you can put either...
23922
David Saff
saffatgoogle
Jul 9, 2012 5:53 pm
Hi, all. I'm back from an extended vacation. I'll be working slowly through github issues, but haven't been closely monitoring the list. If there's anything ...
23923
yang8628
Jul 12, 2012 1:00 pm
Hello experts, I am working on a project having several Junit 4.10 test cases driven by Ant, requirement of adding detection of failed tests is brought up....
23924
David Saff
saffatgoogle
Jul 12, 2012 1:35 pm
Yang, Can you get all your tests running in a single JVM by adjusting the "forkmode" parameter to your junit task? ( ...
23925
yang8628
Jul 13, 2012 12:30 pm
David, Good approach. But I am not sure if I turn this as "once", what kind influence would bring? I realize the cost of re-create JVM but each JVM process for...
23926
org.junit@...
Jul 15, 2012 10:15 pm
Hello. I have a set of packages, let's call them "database-core", "database-sqlite", "database-postgres". The database-core package exposes an interface type...
23927
Esko Luontola
egeluontola
Jul 16, 2012 11:13 am
... You can do that by putting the common tests in an abstract test class with abstract factory method(s) for creating the concrete implementations. As an...
23928
org.junit@...
Jul 16, 2012 6:44 pm
On Mon, 16 Jul 2012 14:13:22 +0300 ... Thanks, that's exactly the sort of thing I was looking for (didn't occur to me that JUnit would handle abstract classes...
23929
Kevin Cooney
kevincooney2000
Jul 16, 2012 7:11 pm
Esko's solution is the most common (and likely best) approach. If you have a large number of tests, however, it could be tedious and a bit error prone; you...
23930
David Saff
saffatgoogle
Jul 17, 2012 8:45 pm
Yang, Sorry for the late response. I regularly run all my tests in the same JVM. Depending on your use case, it might be a fine trade-off. It should be easy...
Maybe have the Ant task produce the JUnit report file and parse that to get the count of failed tests? ... [Non-text portions of this message have been...
23932
hkaipe
Jul 21, 2012 11:48 am
... To solve your problem is one of the major purposes of CallbackParams: http://callbackparams.org With CallbackParams you can have enum-classes provide...
23933
Charles Roth
roth@...
Jul 22, 2012 11:40 am
After last summer's "Green Lantern" movie, my inner unit-testing evangelist merged with my inner comics geek, and channelled the Green-Lantern-themed "Junit...
23934
Yang Fei
yang8628
Jul 23, 2012 2:05 am
David, Thanks for your reply. I tired several methods, seem like it is better to solve outside of Junit tests. ... -- Regards. Yang [Non-text portions of this...
23935
bakgat73
Jul 26, 2012 4:06 pm
Hello I want to run JUnit inside a BlackBerry Java 5.0 application. My code needs to be class and source compatible with Java 1.3. What version of JUnit can I...
23936
Esko Luontola
egeluontola
Jul 26, 2012 8:53 pm
JUnit 3.7 and upwards is available in Maven Central: http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22junit%22%20AND%20a%3A%22junit%22 ... -- Esko Luontola ...
23937
bakgat73
Jul 27, 2012 3:12 pm
I want to adapt JUnit for use in the BlackBerry Java Development Environment. The BlackBerry Java JDE 5.0 is source and class compatible with Java 1.3 and is...
23938
Esko Luontola
egeluontola
Jul 27, 2012 10:57 pm
... Even though your production code can't use reflection, it should be possible to use it in tests if you can run the tests on your desktop using the standard...
23939
Anuj
anujkumar1516
Jul 31, 2012 9:48 am
Hi , I see that Junit THeories have been in experimental state for quite a long. Is there any roadmap to move them out of the experimental state? It is really...
23940
David Saff
saffatgoogle
Aug 1, 2012 8:11 pm
Anuj, I don't have an official road map document. I can tell you that maintaining the current functionality of Theories is important to the team. Right now,...
23941
mphilipp1982
Aug 5, 2012 4:13 pm
Hi folks, I am glad to announce that there is a new JUnit snapshot available through GitHub and Maven. It includes/references the recently released Hamcrest...
23942
tibord47
Aug 8, 2012 1:20 am
I tried to override my branch my way using rebase and i completely broke it. Later on the push cmd did not work saying that the branch is up-to-date and...
23943
Neale Upstone
nealeu
Aug 8, 2012 5:15 pm
I'd not tried this recently, so I've just had a go at rebasing a branch in my fork: git clone git@...:nealeoc/junit.git cd junit/ git branch -r git...
23944
David Saff
saffatgoogle
Aug 14, 2012 7:19 pm
Hi, all. There's a 3-year-old request to update the JUnit javadoc so that the junit.framework classes are included (and properly marked as deprecated). Is...
23945
Malte Finsterwalder
maltefinster...
Aug 15, 2012 7:14 am
After reading the issue, I'm not quite sure what the task would be. Mark everything in junit.* as deprecated and be over with it? Adding a reference to the...
23946
David Saff
saffatgoogle
Aug 15, 2012 7:04 pm
Malte, Good question. I think it's answered in the discussion currently going on in the bug. If not, can you ask again there? Thanks, David On Wed, Aug 15,...
23948
Anuj
anujkumar1516
Aug 16, 2012 1:18 pm
Hi, I have been in talks with David Saff regarding how the current implementation of JUnit Theories limits its users to perform Data Driven Testing. Also the...
23949
Anuj
anujkumar1516
Aug 16, 2012 1:19 pm
And I forgot to provide the github link. Here it is : https://github.com/anujgandharv/junit-theories-ext Cheers! Anuj...
23950
Anuj
anujkumar1516
Aug 21, 2012 1:06 pm
Hi, I am looking for some feedback into my work of extending JUnit's capability to perform Data Driven Testing using annotations.You can find the source code...
23951
Anuj
anujkumar1516
Aug 21, 2012 2:14 pm
Looks like the formatting of the above message got out of hands. So here's one more try ondifferent things that can be achieved with the new extension: CASE 1:...