... fail. ... make ... white ... code ... Tracey -- Just want to add a tidbit of clarification to J.B.'s response (I may stating the obvious, but nonetheless)....
Hi Jan, ... I see. That makes sense, although parsing the relevant stuff from a big chunk of output might be somewhat, eh, "challenging" to do with XSL :) ...
Hi, I'm using Eclipse 3.2, Orion application server, J2EE 5.0, Oracle database. I've written a jUnit test but it doesn't run since it doesn't run within the...
Extract as much as possible to classes that can be tested outside of the application server. The majority of the behaviour you are developing can be and should...
... There is no reason why you can't run your tests inside your container, and if you are going to test an application that runs inside a container, it's ...
The reason would be that it is generally a bit more time consuming to package and run your tests in an application server than it is from your IDE. That is why...
... That is a simple and good test, but some times the "state machine" work with containers, in this cases I need know if all entities and properties is...
I don't run Junit *inside* the application server, but I do run it as a J2EE client application to test my ejb's (which are running in the container). The...
Your directories are all screwed up. You need to start with a working simple JUnit / Cobertura example project and then add your files or modify until it suits...
Use Cactus (http://jakarta.apache.org/cactus/writing/howto_testcase.html). It's very easy to package you test and run them on server side. They also have...
I am sorry, but I totaly forgot to state the problem that occurs: When running the build.xml file (actually the entire project), the unit test fails. What is...
I'm working on some materials for people to learn JPA in a JSE environment. I decided I wanted them to write a series of unit tests to test several different...
Just to clarify, on projects like this, I usually have two levels of tests: user tests that verify that the end user sees what she expects (running in the...
Thanks David, That was what I was trying to say /and/ I think decoupling your code from EJB specifics and JNDI lookups and EJB-lifecycle events is a good idea....
Hello every Body: I am new to JUnit but not to java. I am writing a client/server application. I have heared alot about JUnit bu tnever used it extensivly. Now...
http://www.google.co.uk/search?q=junit -- Stephen Smith, MEng (Wales). http://www.stephen-smith.co.uk/...
Stephen Smith
steve@...
Nov 5, 2006 10:52 am
18310
... Cedric, You're right!!! That's a habit I formed when I started using JUnit 4 in Eclipse 3.1 and it did not handle the static imports well. Now that it...
Running Junit 3.8. I have an AllTests class that does not run after adding a new suite. Here is the top level AllTest code: <snip> public static Test suite ()...
Hi I am trying to launch the Junit launcher programmatically. For this I need to specify some IJavaLaunchConfigurationConstants attributes. Currently I am...
Bill, On the face of it, there's nothing that seems obviously wrong, nor can I think of a common mistake that would lead to that behavior. There's a couple...
... Two things: 1. If you a really testing the entity introspector, then I believe you should try to test it directly, instead of testing it with the state ...
Neelesh, Have you tried the methods in JUnitLaunchShortcut? Even if you can't use them directly, working through the source there will be a great starting ...
From the faq the pattern everyone else seems to be using is that their tests are in a seperate java file from their code. I'd like to spinkle test methods...
Hi Joseph, I'm assuming that you want to do this with jUnit 4.0 since 3.x requires you to extend TestCase. Disclaimer: I'm not very experienced with JUnit 4.x...