Re: Running mojo unit test in the debugger

2020-05-08 Thread Martin Gainty
efault/ I havent used plexus since sisu and google-guice were released does this answer your question? m. From: Benson Margulies Sent: Friday, May 8, 2020 5:16 PM To: Maven Developers List Cc: volf...@google.com Subject: Running mojo unit test in the debugger

Re: Running mojo unit test in the debugger

2020-05-08 Thread Martin Gainty
From: Benson Margulies Sent: Friday, May 8, 2020 5:16 PM To: Maven Developers List Cc: volf...@google.com Subject: Running mojo unit test in the debugger I am trying to recall how to debug a Junit test that uses AbstractMojoTestCase. Simply asking an IDE

Re: Running mojo unit test in the debugger

2020-05-08 Thread Olivier Lamy
perso I'm using -Dmaven.surefire.debug and attach a debugger I only trust Maven build (not IDE build :) ) On Sat, 9 May 2020 at 07:17, Benson Margulies wrote: > I am trying to recall how to debug a Junit test that uses > AbstractMojoTestCase. Simply asking an IDE to debug the test fails with >

Running mojo unit test in the debugger

2020-05-08 Thread Benson Margulies
I am trying to recall how to debug a Junit test that uses AbstractMojoTestCase. Simply asking an IDE to debug the test fails with plexus container errors. I cannot recall if these can be debugged as ordinary unit tests somehow, or whether we need to set remote debugging options to the surefire

[GitHub] maven-shared pull request #15: [MSHARED-562] unit test AnsiMessageBuffer

2016-07-09 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/maven-shared/pull/15 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] maven-shared pull request #15: [MSHARED-562] unit test AnsiMessageBuffer

2016-07-06 Thread seblm
GitHub user seblm opened a pull request: https://github.com/apache/maven-shared/pull/15 [MSHARED-562] unit test AnsiMessageBuffer In this test we do not use mocks at all. We simply write something with colors into buffer and check ANSI escapes characters are appended. You can

Re: Latest modello breaks maven core unit test

2013-08-19 Thread Simo Tripodi
Hallo Kristian, unfortunately I just came back from vacations, didn't have enough spare time to have a look at the issue - I'll do it ASAP! Thanks for keeping me in the loop, very appreciated! All the best, -Simo On Aug 6, 2013, at 7:16 AM, Kristian Rosenvold kristian.rosenv...@gmail.com

Latest modello breaks maven core unit test

2013-08-05 Thread Kristian Rosenvold
Hervé/Simone: The latest version of modello breaks a unit test in m3 core, DefaultModelValidatorTest#testEmptyModule. I've tracked the problem down to commit 1284d155417209d2e1a063606a2c692f89e32152 in modello, and I was wondering if any of you could take a look at it ? I would like to push

Re: Latest modello breaks maven core unit test

2013-08-05 Thread Barrie Treloar
On 5 August 2013 17:54, Kristian Rosenvold kristian.rosenv...@gmail.com wrote: the next core release; I did some pretty significant performance improvements to maven core that I'd like to have in the next release :) You got links/changelog for those so I can look?

Re: Latest modello breaks maven core unit test

2013-08-05 Thread Robert Scholte
https://github.com/sonatype/modello/commit/1284d155417209d2e1a063606a2c692f89e32152 Op Mon, 05 Aug 2013 12:38:42 +0200 schreef Barrie Treloar baerr...@gmail.com: On 5 August 2013 17:54, Kristian Rosenvold kristian.rosenv...@gmail.com wrote: the next core release; I did some pretty

Re: Latest modello breaks maven core unit test

2013-08-05 Thread Kristian Rosenvold
Yes Robert, that is the URL of the commit that broke the unit test. Did you mean to say something more ? Kristian 2013/8/5 Robert Scholte rfscho...@apache.org: https://github.com/sonatype/modello/commit/1284d155417209d2e1a063606a2c692f89e32152 Op Mon, 05 Aug 2013 12:38:42 +0200 schreef Barrie

Re: Latest modello breaks maven core unit test

2013-08-05 Thread Kristian Rosenvold
no :) I used m3 core as a case for trying out some new interesting strategies for using a profiler, which I'll try to blog about pretty soon. Remember that m3 core is pretty efficient as-is, so the gains are pretty marginal; in the area of a couple of seconds faster on a 1 minute build, give or

Re: Latest modello breaks maven core unit test

2013-08-05 Thread Barrie Treloar
On 5 August 2013 20:55, Kristian Rosenvold kristian.rosenv...@gmail.com wrote: no :) I used m3 core as a case for trying out some new interesting strategies for using a profiler, which I'll try to blog about pretty soon. -

Re: Latest modello breaks maven core unit test

2013-08-05 Thread Barrie Treloar
On 5 August 2013 21:15, Barrie Treloar baerr...@gmail.com wrote: On 5 August 2013 20:55, Kristian Rosenvold kristian.rosenv...@gmail.com wrote: no :) I used m3 core as a case for trying out some new interesting strategies for using a profiler, which I'll try to blog about pretty soon.

Re: Latest modello breaks maven core unit test

2013-08-05 Thread Kristian Rosenvold
FYI; I reverted the entire change to MODELLO-209, since there were significant problems with that change. I'll be releasing 1.8 tonight (or tomorrow night); if Simone fixes MODELLO-209 after I have released I'll go for a quick 1.9 release. Kristian 2013/8/5 Barrie Treloar baerr...@gmail.com:

unit test

2011-10-04 Thread Amiragl
in context: http://maven.40175.n5.nabble.com/unit-test-tp4869331p4869331.html Sent from the Maven Developers mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail

RE: unit test

2011-10-04 Thread Robert Scholte
Hi, http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html Just create any missing folder if you need it. -Robert Date: Tue, 4 Oct 2011 09:23:56 -0700 From: amy...@live.fr To: dev@maven.apache.org Subject: unit test Hi community

RE: unit test

2011-10-04 Thread Amiragl
Thank u for quick response , i've another question i'll use jpa should i create a submodule for this? Thank u in advance -- View this message in context: http://maven.40175.n5.nabble.com/unit-test-tp4869331p4869564.html Sent from the Maven Developers mailing list archive at Nabble.com

RE: unit test

2011-10-04 Thread Robert Scholte
Subject: RE: unit test Thank u for quick response , i've another question i'll use jpa should i create a submodule for this? Thank u in advance -- View this message in context: http://maven.40175.n5.nabble.com/unit-test-tp4869331p4869564.html Sent from the Maven Developers mailing list

Re: Unit Test inheritance in a multi-pom project?

2007-03-24 Thread Jim Bethancourt
the tests, where the tests of the client need classes from the sslServer... -- View this message in context: http://www.nabble.com/Unit-Test-inheritance-in-a-multi-pom-project--tf3442738s177.html#a9644535 Sent from the Maven - Users mailing list archive at Nabble.com

Re: Unit Test inheritance in a multi-pom project?

2007-03-21 Thread Jason van Zyl
On 21 Mar 07, at 3:17 PM 21 Mar 07, Jim Bethancourt wrote: Hi all, I'm working on a multi-pom project and would like to inherit from classes in the test hierarchy across modules in the project, and I'm listing each module as a dependency in the parent pom as well. I've done several

Re: Unit Test inheritance in a multi-pom project?

2007-03-21 Thread Jim Bethancourt
Cool! That looks exactly like what I need. I'll give it a go. ;-) Thanks, Jim On 3/21/07, Jason van Zyl [EMAIL PROTECTED] wrote: On 21 Mar 07, at 3:17 PM 21 Mar 07, Jim Bethancourt wrote: Hi all, I'm working on a multi-pom project and would like to inherit from classes in the test

Unit Test inheritance in a multi-pom project?

2007-03-21 Thread Jim Bethancourt
Hi all, I'm working on a multi-pom project and would like to inherit from classes in the test hierarchy across modules in the project, and I'm listing each module as a dependency in the parent pom as well. I've done several experiments to see if this is possible and have had no success. What

Re: Unit Test inheritance in a multi-pom project?

2007-03-21 Thread Jim Bethancourt
Yup! That did the trick. Thanks Jason! Jim On 3/21/07, Jim Bethancourt [EMAIL PROTECTED] wrote: Cool! That looks exactly like what I need. I'll give it a go. ;-) Thanks, Jim On 3/21/07, Jason van Zyl [EMAIL PROTECTED] wrote: On 21 Mar 07, at 3:17 PM 21 Mar 07, Jim Bethancourt wrote:

How to (manually) resolve dependencies in a unit test?

2006-08-31 Thread Jochen Kuhnle
Hi, I need to resolve dependencies in a unit test to get to either the jar (in a standalone build) or the classes directory (in a reactor build) in order to set up the test environment. How can this be done? Is there a way to get to the Reactor or MavenProject of the build? Regards, Jochen

[jira] Commented: (MNG-2093) clean plugin unit test

2006-02-21 Thread Brett Porter (JIRA)
files don't create them. I guess it needs to have some content... clean plugin unit test -- Key: MNG-2093 URL: http://jira.codehaus.org/browse/MNG-2093 Project: Maven 2 Type: Improvement Components: General Reporter: Jesse

[jira] Commented: (MNG-2093) clean plugin unit test

2006-02-21 Thread Emmanuel Venisse (JIRA)
[ http://jira.codehaus.org/browse/MNG-2093?page=comments#action_59118 ] Emmanuel Venisse commented on MNG-2093: --- junit and plexus-utils must use test scope clean plugin unit test -- Key: MNG-2093 URL: http

[jira] Moved: (MCLEAN-6) clean plugin unit test

2006-02-21 Thread Brett Porter (JIRA)
) Project: Maven 2.x Clean Plugin (was: Maven 2) clean plugin unit test -- Key: MCLEAN-6 URL: http://jira.codehaus.org/browse/MCLEAN-6 Project: Maven 2.x Clean Plugin Type: Improvement Reporter: Jesse McConnell Priority

[jira] Closed: (MCLEAN-6) clean plugin unit test

2006-02-21 Thread Brett Porter (JIRA)
[ http://jira.codehaus.org/browse/MCLEAN-6?page=all ] Brett Porter closed MCLEAN-6: - Assign To: Brett Porter Resolution: Fixed Fix Version: 2.1.1 clean plugin unit test -- Key: MCLEAN-6 URL: http

[jira] Created: (MNG-2093) clean plugin unit test

2006-02-20 Thread Jesse McConnell (JIRA)
clean plugin unit test -- Key: MNG-2093 URL: http://jira.codehaus.org/browse/MNG-2093 Project: Maven 2 Type: Improvement Components: General Reporter: Jesse McConnell Priority: Minor Attachments: clean-plugin-normal-unit-test.patch

[jira] Created: (MPECLIPSE-94) Unit Test resources are not put into the .classpath

2005-06-29 Thread Archimedes Trajano (JIRA)
Unit Test resources are not put into the .classpath --- Key: MPECLIPSE-94 URL: http://jira.codehaus.org/browse/MPECLIPSE-94 Project: maven-eclipse-plugin Type: Bug Versions: 1.9 Reporter: Archimedes Trajano

[jira] Closed: (MPECLIPSE-94) Unit Test resources are not put into the .classpath

2005-06-29 Thread Carlos Sanchez (JIRA)
[ http://jira.codehaus.org/browse/MPECLIPSE-94?page=all ] Carlos Sanchez closed MPECLIPSE-94: --- Resolution: Won't Fix Use maven.eclipse.resources.addtoclasspath = true Unit Test resources are not put into the .classpath

[jira] Reopened: (MPECLIPSE-94) Unit Test resources are not put into the .classpath

2005-06-29 Thread Archimedes Trajano (JIRA)
[ http://jira.codehaus.org/browse/MPECLIPSE-94?page=all ] Archimedes Trajano reopened MPECLIPSE-94: - To be more specific, even if that parameter was set it won't do it. I read the docs first and that setting has no effect on the unit test

[jira] Closed: (MAVEN-515) unit test levels

2005-02-21 Thread jira
is an overview of the issue: - Key: MAVEN-515 Summary: unit test levels Type: Improvement Status: Closed Priority: Minor Resolution: WON'T FIX Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown

[patch] maven-idea-plugin - module libraries includes source and unit test resources

2004-09-28 Thread Matthew McGowan
Hi, The IDEA plugin is really great, but currently doesn't include source resources and unit test resources in the module path. I found this makes running unit tests difficult as you have to run maven first to copy the resources to test-classes. The patch below includes source and unit test

Re: [patch] maven-idea-plugin - module libraries includes source and unit test resources

2004-09-28 Thread Brett Porter
include source resources and unit test resources in the module path. I found this makes running unit tests difficult as you have to run maven first to copy the resources to test-classes. The patch below includes source and unit test resources in the generated module. Regards, Mat McGowan 248a249,286

[jira] Commented: (MAVEN-515) unit test levels

2004-06-08 Thread jira
://jira.codehaus.org/browse/MAVEN-515 Here is an overview of the issue: - Key: MAVEN-515 Summary: unit test levels Type: Improvement Status: Open Priority: Minor Original Estimate: Unknown Time Spent

[jira] Updated: (MAVEN-515) unit test levels

2003-12-02 Thread jira
: - Key: MAVEN-515 Summary: unit test levels Type: Improvement Status: Open Priority: Minor Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven Components

patch : choose jdk to run unit test

2003-11-27 Thread Eric Berenguier
Hello, I've just submitted a small patch to jira that allows to choose which JVM is used to run unit tests : http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-1057 I hope it doesn't have any side effect because it feeds a default value for the jvm attribute in junit ant task. Eric

[jira] Updated: (MAVEN-938) Ant plugin fails when no unit test source

2003-10-16 Thread jira
plugin fails when no unit test source Type: Bug Status: Unassigned Priority: Minor Time Spent: Unknown Remaining: Unknown Project: maven Components: plugin-ant Fix Fors: 1.1 Versions: 1.0-rc2 Assignee: Reporter: dion

[jira] Closed: (MAVEN-938) Ant plugin fails when no unit test source

2003-10-16 Thread jira
is an overview of the issue: - Key: MAVEN-938 Summary: Ant plugin fails when no unit test source Type: Bug Status: Closed Priority: Minor Resolution: FIXED Time Spent: Unknown Remaining: Unknown

[jira] Updated: (MAVEN-515) unit test levels

2003-08-03 Thread jira
/ViewIssue.jspa?key=MAVEN-515 Here is an overview of the issue: - Key: MAVEN-515 Summary: unit test levels Type: Improvement Status: Unassigned Priority: Minor Time Spent: Unknown Remaining: Unknown