I tried extending JUnit for my own needs with several Annotations. Because i have an own Ignore Annotation which i want to use on method and class level i...
22837
David Saff
dsaff
Aug 2, 2010 1:22 pm
Have you tried @RunWith and a custom runner? David Saff...
22838
binarymonk01
Aug 2, 2010 1:35 pm
Hey all, I'm having a hard time searching for the right terms to describe what I am looking for, so posting a question here -- Environment: Java 5/6, mixed...
22839
David Saff
dsaff
Aug 2, 2010 1:52 pm
Would a continuous integration server get part-way to what you want? Everyone can check their changes into a development branch, which gets merged into the...
22840
Malte Finsterwalder
maltefinster...
Aug 2, 2010 2:07 pm
I think David Staff's idea with an integrations server is probably the best way to go. Other than that, I don't see the problem. Why not just run JUnit as a ...
22841
binarymonk01
Aug 2, 2010 4:12 pm
Thank you for your feedback. The current system uses a Maven2 buildsystem. The current deficiency (not in junit, but tooling) is not from a developer running...
22842
David Saff
dsaff
Aug 2, 2010 4:23 pm
You could set up a manual hudson build, and encourage the non-developers to push the "build" button when ready. You could even make it a parameterized build,...
22843
Malte Finsterwalder
maltefinster...
Aug 2, 2010 6:07 pm
... Why don't you hack together a simple GUI that calls the build internally? Do you need detailed error output? Or just a red/green light? A detailed output...
22844
Joakim Ohlrogge
j0hlrogge
Aug 4, 2010 8:44 pm
Hi Simon, you asked for ideas on where new features could be suitable. I think theories would emphasize the global applicability of some rules like: symmetry...
22845
yme0987654321
Aug 5, 2010 8:05 pm
We have almost the exact setup (but a smaller team so less division of concern). We use TeamCity to run the tests, which does a great job of informing...
22846
ajay
ajaytorgal
Aug 6, 2010 10:10 am
I am writing a Junit test for a class which has this.getClass().getClassLoader().getResource("/") and returns null public ModelAndView...
22847
David Saff
dsaff
Aug 6, 2010 2:49 pm
What happens when you run your current test? David Saff...
22848
peter c
pcooke2002
Aug 6, 2010 2:54 pm
Why is everyone one working in the same schema? As a developer I have almost always had a db instance on my system. With whatever test data I am running in my...
22849
ajay
ajaytorgal
Aug 8, 2010 7:33 am
David, Thanks for quick reply. While running application, path returned by 'urlGen39; class is /WEB-INF/../../.. directory structure. And further processing is...
22850
David Saff
dsaff
Aug 8, 2010 10:25 am
My suggestion is: 1) split the method into three: String findPath() { return this.getClass().getClassLoader().getResource(SLASH); } ? furtherProcessing(String...
22851
ajay
ajaytorgal
Aug 8, 2010 12:03 pm
Thanks again. The provided class is working perfectly from its existence and task is to write test case without changing the source code. The provided solution...
22852
Simon Chappell
spchappell
Aug 8, 2010 10:46 pm
That sounds great. I have been aware of the new features but for various good reasons have been unable to try them out. (You can think of me as stuck back at...
22853
David Saff
dsaff
Aug 9, 2010 1:04 pm
... First, something you probably don't want to hear. You've been asked to take code that hard-codes an assumption that it's being run inside a web container,...
22854
lifshits10
Aug 10, 2010 9:08 pm
Hi, I am new with junit. I am trying, for a week, to solve a problem of junit and jsystem working simultaneously. I work with jsystem 5.5.4. The version of...
22855
lifshits10
Aug 10, 2010 9:08 pm
Hi, I want to fix a bug in junit 4.4. I download the jar from https://sourceforge.net/projects/junit/files/junit/. The src jar and the regular jar(with .class)...
22856
David Saff
dsaff
Aug 10, 2010 9:12 pm
Lee, I'm not sure what the issue is. For less ancient versions, you can check out the code from github. Does it have to be based on 4.4? Thanks, David Saff...
22857
David Saff
dsaff
Aug 10, 2010 9:14 pm
Lee, I don't think upgrading will help. Have you contacted the JSystem team to see why they require a no-arg constructor, while JUnit does not? Thanks, David...
22858
Cédric Beust
cbeust
Aug 10, 2010 9:33 pm
.classpath and .project are Eclipse specific files, I'm guessing the JUnit distribution doesn't include them by default (which I think is a good thing, or if...
22859
David Saff
dsaff
Aug 10, 2010 9:48 pm
Likewise, I think modern Eclipses will slurp the project settings from the build.xml, which _should_ be included. David Saff...
22860
lifshits10
Aug 11, 2010 10:56 am
Hi, Thank you for your answer. I try to ask in jsystem forum - but nobody answer to me yet.... Are in latest version of junit we can use more than one...
22861
lifshits10
Aug 11, 2010 10:59 am
Hi, Thanks for the reply. Lee...
22862
David Saff
dsaff
Aug 11, 2010 1:13 pm
Lee, In the current implementation of parameterized test, there's no meaning for a test object that is constructed without constructor parameters. So you...
22863
foo_bar_baz_qux
Aug 13, 2010 8:05 am
I'd like to get some feedback about a patch I 've submitted <http://gist.github.com/518274> that allows to customize display names to contain more...
22864
DarrinS
darrinps
Aug 13, 2010 9:43 pm
I'd like to be able to have a single jar file, that contains JUnit and other jar files my project needs, and be able to run my Junit tests from the cmd line. ...
22865
jens_schauder
Aug 16, 2010 4:58 am
I have used JUnits @Rule a couple of times now in real projects and I think it really rocks. But few seem to know about this feature and even less seem to...