Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

junit · JUnit, the Java unit testing framework written by Kent Beck and Erich Gamma.

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 31224
  • Category: Java
  • Founded: Nov 6, 2000
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 23767 - 23796 of 24390   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
23767 foo_bar_baz_qux Send Email Dec 11, 2011
2:30 pm
I was going to start a new thread, but I'll plug in here, to keep the discussion in one place. I have had the same problem, different solution and the patch is...
23768 jfuerth Send Email Dec 14, 2011
11:11 pm
Hi everyone, I've created a custom Runner meant to help with performance and scalability testing. It lets you create tests like this: ...
23769 Georg
le_garcon_en... Send Email
Dec 15, 2011
10:45 am
Hi! Just my 2 cents: - an ant-script could still be used in maven (it has plugins for that purpose). It may need a bit of tinkering - I'm not very good in...
23770 Matthew Farwell
mjfarwell Send Email
Dec 15, 2011
3:12 pm
Salut, The best way would be to create your own RunListener (btw TestListener is JUnit3, RunListener is Junit4). Then, you can plug this into standard tools....
23771 Dawid Weiss
dawid.weiss@... Send Email
Dec 15, 2011
3:13 pm
I should probably also note for completeness that Google Caliper is specifically designed for micro-benchmarking (with or without parameterization): ...
23772 Dawid Weiss
dawid.weiss@... Send Email
Dec 15, 2011
3:13 pm
You may want to check out JUnitBenchmarks -- it does what I think you want to achieve: http://labs.carrotsearch.com/junit-benchmarks.html Dawid ... [Non-text...
23773 Jonathan Fuerth
jfuerth Send Email
Dec 15, 2011
4:54 pm
Thanks for the pointer, Dawid. I have to admit I didn't find JUnitBenchmarks in my searches. I went looking for something back in September and again earier...
23774 Jonathan Fuerth
jfuerth Send Email
Dec 15, 2011
4:55 pm
Thanks Matthew. I will try writing out the reports from a RunListener. If they can be registered by both the Ant and Maven plugins, that's pretty good. Eclipse...
23775 Marc Philipp
mphilipp1982 Send Email
Dec 15, 2011
8:01 pm
... I think this method is intended to be used by other Eclipse plugins, I don't think there's an UI for that. You could wrap your custom listener in an...
23776 Jonathan Fuerth
jfuerth Send Email
Dec 15, 2011
11:38 pm
... Yes, I think I'd probably cheat and register the listener directly from within the runner. If every JUnit launcher needs its own custom configuration or...
23777 sschroev Send Email Dec 18, 2011
1:22 pm
Hi Jonathan, Out of curiosity: have you considered implementing your framework extension as a TestRule instead of a Runner? Cheers, Stephan...
23778 Noel Yap
yap_noel Send Email
Dec 20, 2011
2:45 am
When there are no tests matching the Include/Exclude filters, Categories throws an InitializationError. Can this behavior be changed? IMO, if nothing matches...
23779 atul
atul_ingale001 Send Email
Dec 27, 2011
3:50 pm
Hi, I have a test class implemented in JUnit framework. Can i use Mockito framework to improve the code coverage...
23780 Stefan Birkner
stefan.birkner Send Email
Dec 27, 2011
8:56 pm
You can use JUnit and Mockito together....
23781 bill.shannon@...
bs00011 Send Email
Dec 27, 2011
8:57 pm
[This is a recording.] I'm on vacation Dec 21 - Jan 2. I'll be reading mail occasionally. Happy Holidays! Bill...
23782 atul
atul_ingale001 Send Email
Dec 28, 2011
4:02 pm
hi friends, My application is in wicket and we use lots of wicket interfaces in our application and i am not able to cover the code in test as i am not able to...
23783 atul
atul_ingale001 Send Email
Dec 28, 2011
4:02 pm
See, if we mock the object using junit how can i mock it again using Mockito in same class? i thought of using the @Before and @After but couldent succeed. do...
23784 David Saff
dsaff Send Email
Dec 28, 2011
6:45 pm
Atul, Have you tried any of the popular mocking frameworks like jMock, EasyMock or Mockito? What happens? David ... [Non-text portions of this message have...
23785 kristian@...
krosenvold Send Email
Jan 3, 2012
7:38 am
Hi, I maintain the junit provider for maven-surefire, and I'm looking into transitioning from a Junitcore+RunListener based approach to an approach based on...
23786 hkaipe Send Email Jan 3, 2012
10:01 pm
Hi Kristian Do you really want a transition from RunListener? To an outside observer - a JUnit Runner "describes&quot; its test-executions and reports their outcome...
23787 Matthew Farwell
mjfarwell Send Email
Jan 3, 2012
10:50 pm
Kristian, In reading your original mail, I was also confused as to what you wanted to achieve. Could you expand a little please? Thanks. Matthew Farwell. ... ...
23788 kristian@...
krosenvold Send Email
Jan 4, 2012
6:51 am
Sorry, I was doing just what I sometimes dislike of our own users ;) The real problem I want to solve is associating console output from a running thread to a...
23789 Georg
le_garcon_en... Send Email
Jan 4, 2012
7:52 pm
Dear Kristian, My first thought - and I hope not to sound arrogant - would be to - to remove the the output altogether (who reads it anyhow once the test is...
23790 Dawid Weiss
dawid.weiss@... Send Email
Jan 4, 2012
8:15 pm
Hi Kristian, We had a similar issue. I was debating for a longer while if it makes sense to run parallel tests within the same VM. In many situations this...
23791 kristian@...
krosenvold Send Email
Jan 5, 2012
11:36 am
maven-surefire now also supports concurrent forks, and they don't have any of the interaction problems you describe - as you know. Since surefire is an...
23792 kristian@...
krosenvold Send Email
Jan 5, 2012
11:42 am
Surefire is maven's default test-runner. It serves a bucketload of use-cases, some of which are *far* off from what I'd do in my own tests. If the user decides...
23793 Dawid Weiss
dawid.weiss@... Send Email
Jan 5, 2012
11:58 am
... I was thinking about ANT actually, not maven (surefire). I admit we also needed some extra control over suite allocation scheduling and more detailed...
23794 Dawid Weiss
dawid.weiss@... Send Email
Jan 5, 2012
11:58 am
Oh, I also didn't mention one more thing -- if you have tests that fork subthreads which in turn write to System.out/err then you will also need a smarter way...
23795 Esko Luontola
egeluontola Send Email
Jan 6, 2012
12:29 pm
I'm already working on something like that. I'm writing a new test runner called Jumi http://jumi.fi/ which will have native support for running tests in...
23796 Dawid Weiss
dawid.weiss@... Send Email
Jan 6, 2012
1:57 pm
You may want to look into RandomizedRunner/JUnit4 task -- it has most of the things you mentioned (synchronized i/o events with reporting, capturing runaway...
Messages 23767 - 23796 of 24390   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help