Hi, all. Just so you know, I'll be on parental leave, and much more out of touch than usual, for the first half of summer 2012. Over the last few months, I've...
If this is NOT the right forum for this post, please advise me, and my apologies in advance. Trusting that this is the right place... There is the Eight Queens...
Hello, Â You need to write a method to place the queens where they can't attack each other.Write a method using following algorithm which will return a list. ...
Normally, the typical way to solve a problem like this would be to write some code to see if the constraints of the problem are met. In this case, go through...
What have you tried so far? You'll need to make your question more specific to what your current focussed problem is. With the information you've provided this...
Are there any open-source libraries out there for launching junit tests and reporting back the results (such as might be done by an IDE, similar to Eclipse's...
23914
Dawid Weiss
dawid.weiss@...
Jun 29, 2012 7:13 am
Sure. Try an ant task called <junit4> from randomizedtesting package here: http://labs.carrotsearch.com/randomizedtesting.html The task is a nearly drop-in...
... I'm working on a new test runner (backward compatible with JUnit tests) which is such a stand-alone library with zero external dependencies: ...
23917
Dawid Weiss
dawid.weiss@...
Jun 29, 2012 8:56 am
... Interesting. This was part of the reason for that junit4 task I mentioned -- I needed a coordinated, full set of events from forked jvms (including ...
... My goals for developing Jumi are wider than that and I don't think that it would be possible to reuse anything JUnit-specific. Some of the main reason for...
23920
Dawid Weiss
dawid.weiss@...
Jun 30, 2012 6:57 am
Ok, clear. ... This has nothing to do with test frameworks -- you can see any of these orderings on the console too and it is allowed by PrintStream contracts ...
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...
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 ...
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....
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...
... 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...
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...
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...
... 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...
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...
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...