You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/08/17 13:14:40 UTC

[GitHub] [netbeans] Yaytay opened a new issue, #4513: Running (or Debugging) a single Integration Test via maven broken in Netbeans 14

Yaytay opened a new issue, #4513:
URL: https://github.com/apache/netbeans/issues/4513

   ### Apache NetBeans version
   
   Apache NetBeans 14
   
   ### What happened
   
   In a largeish maven project attempting to execute or debug a single Integration Test ("*IT.java" file) produces the error:
   Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test (default-test) on project query-engine: No tests matching pattern "DummyToSkipUnitTests" were executed! (Set -Dsurefire.failIfNoSpecifiedTests=false to ignore this error.) -> [Help 1]
   
   
   ### How to reproduce
   
   Create a maven project with a single integration test, try to run that integration test alone from the Maven UI by right clicking it and choosing "Test File".
   To save time, this is a repo that contains a suitable IT: https://github.com/Yaytay/postgres-url-test
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 13
   
   ### Operating System
   
   Windows 11
   
   ### JDK
   
   OpenJDK 64-Bit Server VM Zulu18.30+11-CA (build 18.0.1+10, mixed mode, sharing)
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   This commit introduced the DummyToSkipUnitTests: https://github.com/apache/netbeans/blob/0011e80e813f910cd62066042c96e3f137d422d0/java/maven/src/org/netbeans/modules/maven/execute/defaultActionMappings.xml
   
   I'm not sure why, because executing and debugging integration tests worked in netbeans 13.
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] dwabm commented on issue #4513: Running (or Debugging) a single Integration Test via maven broken in Netbeans 14

Posted by "dwabm (via GitHub)" <gi...@apache.org>.
dwabm commented on issue #4513:
URL: https://github.com/apache/netbeans/issues/4513#issuecomment-1457706683

   still the same problem in NB17. Run or Debug command executes different since NB 12:
   sample command 'Test File'
   ![image](https://user-images.githubusercontent.com/12044218/223358269-0de3e526-4b1a-4419-94fc-011a75cff4e4.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #4513: Running (or Debugging) a single Integration Test via maven broken in Netbeans 14

Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #4513:
URL: https://github.com/apache/netbeans/issues/4513#issuecomment-1533207861

   This should be fixed in 18-rc3.  Please test when that is available next week.
   
   In addition @ebarboni we might want to consider whether to add `post-integration-test` into the default goals in NB19?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] ebarboni commented on issue #4513: Running (or Debugging) a single Integration Test via maven broken in Netbeans 14

Posted by "ebarboni (via GitHub)" <gi...@apache.org>.
ebarboni commented on issue #4513:
URL: https://github.com/apache/netbeans/issues/4513#issuecomment-1532970635

   +1 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] ChMThiel commented on issue #4513: Running (or Debugging) a single Integration Test via maven broken in Netbeans 14

Posted by "ChMThiel (via GitHub)" <gi...@apache.org>.
ChMThiel commented on issue #4513:
URL: https://github.com/apache/netbeans/issues/4513#issuecomment-1719238647

   > @ChMThiel please open (or link to) an issue for that, with a small project that reproduces the error. Thanks!
   
   @neilcsmith-net I created https://github.com/apache/netbeans/issues/6448


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net closed issue #4513: Running (or Debugging) a single Integration Test via maven broken in Netbeans 14

Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net closed issue #4513: Running (or Debugging) a single Integration Test via maven broken in Netbeans 14
URL: https://github.com/apache/netbeans/issues/4513


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] ebarboni commented on issue #4513: Running (or Debugging) a single Integration Test via maven broken in Netbeans 14

Posted by GitBox <gi...@apache.org>.
ebarboni commented on issue #4513:
URL: https://github.com/apache/netbeans/issues/4513#issuecomment-1252210179

   If think we need the to add the surefire.failIfNoSpecifiedTests=true ( introduced in 2.12 version ) to the action mapping for integration.
   If you have only failsafe it works but with both surefire and failsafe the issue
   @Yaytay is it possible for you to edit Integration test file actions to have the following properties
   ```
   test=DummyToSkipUnitTests
   failIfNoTests=false
   surefire.failIfNoSpecifiedTests=false
   it.test=${packageClassName}
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] ChMThiel commented on issue #4513: Running (or Debugging) a single Integration Test via maven broken in Netbeans 14

Posted by "ChMThiel (via GitHub)" <gi...@apache.org>.
ChMThiel commented on issue #4513:
URL: https://github.com/apache/netbeans/issues/4513#issuecomment-1719178063

   TestResult-Tab still shows nothing in NetBeans 19...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #4513: Running (or Debugging) a single Integration Test via maven broken in Netbeans 14

Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4513:
URL: https://github.com/apache/netbeans/issues/4513#issuecomment-1252104289

   > I'm not sure why, because executing and debugging integration tests worked in netbeans 13.
   
   No, it didn't, at least not correctly!
   
   Does overriding the action to set `failIfNoSpecifiedTests` to false instead of `failIfNoTests` work?
   
   cc @ebarboni something awry in the fix here?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] breunouddanedeu commented on issue #4513: Running (or Debugging) a single Integration Test via maven broken in Netbeans 14

Posted by GitBox <gi...@apache.org>.
breunouddanedeu commented on issue #4513:
URL: https://github.com/apache/netbeans/issues/4513#issuecomment-1320288980

   Any news on this issue ? Will it be fixed for version 16 ?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] breunouddanedeu commented on issue #4513: Running (or Debugging) a single Integration Test via maven broken in Netbeans 14

Posted by GitBox <gi...@apache.org>.
breunouddanedeu commented on issue #4513:
URL: https://github.com/apache/netbeans/issues/4513#issuecomment-1252077234

   Same issue is present in Netbeans 15.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #4513: Running (or Debugging) a single Integration Test via maven broken in Netbeans 14

Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #4513:
URL: https://github.com/apache/netbeans/issues/4513#issuecomment-1719189453

   @ChMThiel please open (or link to) an issue for that, with a small project that reproduces the error. Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #4513: Running (or Debugging) a single Integration Test via maven broken in Netbeans 14

Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4513:
URL: https://github.com/apache/netbeans/issues/4513#issuecomment-1386859100

   @ebarboni this is the issue I meant in the meeting.  Not sure where we're at with it?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #4513: Running (or Debugging) a single Integration Test via maven broken in Netbeans 14

Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #4513:
URL: https://github.com/apache/netbeans/issues/4513#issuecomment-1531207468

   @dwabm yes, it was _more_ wrong in NB12!
   
   @ebarboni should we add the `surefire.failIfNoSpecifiedTests=false` in for 18-rc3?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] Yaytay commented on issue #4513: Running (or Debugging) a single Integration Test via maven broken in Netbeans 14

Posted by GitBox <gi...@apache.org>.
Yaytay commented on issue #4513:
URL: https://github.com/apache/netbeans/issues/4513#issuecomment-1257158199

   @ebarboni That seems to work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists