Just incidentally, why? Your unit tests should be so fast that you don't care. Or are you using junit to write larger-scale tests? S. ... Steve Freeman ...
We dont have real test cases , most of them would fail written by several developers in offshore dont want to mess with them , in any case one fails it wont...
miro
miroconnect@...
Sep 2, 2008 7:24 am
20830
Hi all! I'm a bit of a newb to the whole TDD thing, but I understand that unit tests are supposed to be blazingly fast and not access the hard drive, network, ...
This has nothing to do with speed, it's just convenient to be able to run just the one test method you are currently developing or debugging. For example, the...
Hi Jan, I won't claim to be the official position of the JUnit community, but I will offer my thoughts. It is okay to use JUnit for other kinds of testing,...
Here is my test case package com.uprr.app.csr.manager; import com.uprr.app.csr.dao.hibernate.impl.BaseDAOTestCase; public class StorageRequestManagerTest...
miro
miroconnect@...
Sep 2, 2008 11:29 pm
20835
Hi, In my maven pom.xml I want to register a JUnit 4.X listener to maven- surefire-plugin to notify that my all jUnit 4.X testcases completed their executions....
Hi, The first problem may be your java envirenment not config correctly,please check again or google "java -classpath". The code recorded with Selenium IDE...
Hi! Often, a few thoughts are worth much more than an official positions. That's a good point about keeping the two tests in different folders. I suppose I'll...
my method might return a value or might not. So I am wondering what should be final line in my test case like assert? here is my code public void...
miro
miroconnect@...
Sep 3, 2008 11:32 am
20839
Your test cases should not accept parameters. Use public void testgetStatus() instead of public void testgetStatus( Long storageRequestId) Regards, Jan  ...
... I assume that your saying that you're testing a method that may return 'null' or may return a list. If you're not sure which will come back when you run...
"Jan Kroeze" wrote: "Is there a better framework, or is it common practice to use JUnit for these tests as well?" Based on my experience, best practice is to...
Jan, You can use JUnit for longer-running tests, but there are some assumptions JUnit embodies that will cause some problems. JUnit assumes tests are ...
I imagined I would get quite a few responses with this viewpoint. This is what I'm currently doing and it seems to work well. Were these expierences relatively...
Hi! I think this summarises quite neatly what a couple of people have said, namely that switching to a dedicated framework from JUnit is only neccessary if...
Hello I write a unit test where must be Exception. Also I need to run this unit test for few status and don't want create again my unit test for each status ,...
I am looking for some pointers on the best JUnit extensions and/or patterns to follow in developing concurrency tests. Basically, for key classes I want to...
Hi Jan, I agree, and as you touch on the idea of acceptance tests, you come close to the one point I'd add. Besides running time and number of failures, the...
Interesting idea. It sounds like something that would be very hard to do from a unit testing perspective. One tool I've used is multithreadedtc. It doesn't...
Per Jacobsson
perjacobsson@...
Sep 4, 2008 11:27 pm
20849
... It is very useful to put some concurrency pressure on your code. This doesn't guarantee that it's threadsafe but it gives you a reasonable idea. FYI, here...
TestUtil v. 2.4 has been released and includes support (thank you Björn Ekryd) for Enums. http://gtcgroup.com/util/index.html TestUtil is a Java open source...
Hi all, Does anyone run performance testing along with integration tests via junit? What tools are you using? Nina Niskanen -- I reject your reality and...
Have you looked at jmeter? I heard someone mention it on the project I'm currently working on. 2008/9/8 Nina Niskanen <nina.niskanen@...> ... -- Jan...
Hi! Very good point about acceptance testing and system boundaries. I hadn't thought of this and people often forget to mention it. Of course, this has a great...
JMeter is cool for some things like testing performance under load of messaging APIs (like, say, HTML or SOAP). But if you're talking about performance of a...
All, David and I are working on ways to shorten the validation phase of the inner programming loop (feature -> test -> code -> validate). One of the ideas is ...
Per feedback, the description has been enhanced: For practitioners of Test-Driven Development, TestUtil recursively interrogates the code base and reflectively...
Hi, Are there any changes between 4.4 and 4.5 in regards to Mock objects? I am updating at work and I am seeing some tests that use mock objects pass in 4.4...