Hello all, I have a strong programming background in Perl, but Java --even at this late date-- is new to me. In comparison to Perl, I have found it difficult...
Hi, How can I know when a beforeclass is starting? Today with the listener I can know when test start but I need to also know when @BeforeClass method and...
idan72
ishai@...
Oct 6, 2008 9:11 am
20940
Hello Sharath. I don't see any point to have a constructor with argument for test case. Could you please share why would this kind of constructor is needed ? ...
Could you elaborate a bit? A therory should behave the same for all datapoints - assumptions. Do you expect all cases to throw an exception or only some of...
I saw that the mail was unfortunately line-broken. The first assumeTrue should say /assumeThat/ and the second assumeTrue belongs to the comment. Sorry about...
... I used new version of Junit(JUnit 4.5) but I can't use @Theory and @ Test together Or @Theory with "expected=AnyException.class". Also I don't want use...
... Tanks, but how can I add parameter to this Theory? I can't add any input parameter to this theory. If I add a parameter to this theory, then it throws the...
Hello, I'm interested in exploring the use of JUnit's theories. What is the status and future plans for this experimental feature? I noticed the Java src code...
Good day. I am new to JUnit annotations. I have a need to execute a set of classic account registration tests: register a user by [email, password], verify...
The short and sweet answer Mark is that, while someone else here may post a way to do it, we generally strive mightily to make our tests entirely independent...
Thank you. I'll consider this, which is similarly to how I proceeded after my original post. Mark ... [Non-text portions of this message have been removed]...
The theory classes should be in junit-4.5.jar. Are you using the version from the website? Theories will continue to be supported. As a matter of fact,...
John, It sounds like you've had some really frustrating weeks. I've known many people who have gotten ramped up with Eclipse and JUnit without a lot of pain,...
Hmm. This sounds like a bug in JUnit. Can you post the exact code as a bug report? In the meantime, you may have to workaround with try {} catch {}....
Context: I am writing code that monitors the frequency, timing, and results of tests, and the code needs must run from eclipse, intellij, etc, relatively...
Hill, There's nothing super easy. You can also add a listener from the RunNotifier passed to run(). We're looking at some similar issues. Ideally, would you...
Hi David, Would there be a way to use a custom TestResult to make this work? We're ideally looking for a solution that also works with 3.8.x. best jk ...
In my ideal world I'd like to install a listener on any/all tests being run. Anything that makes that happen would be a good thing. A fairly simple fix would...
Hill, This is similar to work we are doing to support more time-efficient testing. We don't have a general, pluggable solution. One of the problems is that ...
Karl, I'm sorry no one ever responded to this. Did you find an answer? It looks like you're using Guice. Could that be a problem? Thanks, David Saff...
Hi I have a problem with "Expected In @Theory". But unfortunately no one understands my problem or maybe I can't descript it. Any way, I want use @Theory with...
Good evening! I'm searching a system for administrating my JUnit tests on a server. I am developing a Framework on my local machine and commit it to a ...
... Yes, but I downloaded it again and found the theory classes this time. ... David, thanks for the info. Can you point me to some examples of how to use...