[jira] [Commented] (DELTASPIKE-1366) Add Junit5 testing support

2020-05-19 Thread Romain Manni-Bucau (Jira)


[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17111798#comment-17111798
 ] 

Romain Manni-Bucau commented on DELTASPIKE-1366:


[~Sethi] you can exclude openwebbeans transitive deps and it works with weld, 
just dependencies management stuff (indeed by default it brings owb ;)). I see 
no issue to bring it to DS if it does not depend on any other DS module though.

> Add Junit5 testing support
> --
>
> Key: DELTASPIKE-1366
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-1366
> Project: DeltaSpike
>  Issue Type: Wish
>  Components: TestControl, Tests
>Affects Versions: 1.9.0
>Reporter: John Smith
>Priority: Major
>
> Are there any plans to provide a junit5 extension like the CdiTestRunner in 
> the test-control module for junit4? 
> {{Especially the feature of the DynamicMockManager that allows you to add 
> mocks on per test basis is pretty nice for testing.}}
> {{This would be highly appreciated.  }}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (DELTASPIKE-1366) Add Junit5 testing support

2020-05-19 Thread Syed Shah (Jira)


[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17111587#comment-17111587
 ] 

Syed Shah commented on DELTASPIKE-1366:
---

Thanks for the heads up. I've given it a peek and seems to work mostly; a few 
errors but I can probably deal with them.

I had to copy the annotation and extension into my project to test it though as 
I'm using Weld, not OpenWebBeans; which openwebbeans-junit5 seems to depend on 
despite not using it?

May I ask if there's any plan to just have an extension live in the DeltaSpike 
repository?

> Add Junit5 testing support
> --
>
> Key: DELTASPIKE-1366
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-1366
> Project: DeltaSpike
>  Issue Type: Wish
>  Components: TestControl, Tests
>Affects Versions: 1.9.0
>Reporter: John Smith
>Priority: Major
>
> Are there any plans to provide a junit5 extension like the CdiTestRunner in 
> the test-control module for junit4? 
> {{Especially the feature of the DynamicMockManager that allows you to add 
> mocks on per test basis is pretty nice for testing.}}
> {{This would be highly appreciated.  }}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (DELTASPIKE-1366) Add Junit5 testing support

2020-05-19 Thread Romain Manni-Bucau (Jira)


[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17111449#comment-17111449
 ] 

Romain Manni-Bucau commented on DELTASPIKE-1366:


Hi, if it helps, openwebbeans-junit5 is just a wrapper around CDI 2 SeContainer 
so portable accross CDI implementation (once the implementation dependency 
selected) and is already available since some time 
[http://openwebbeans.apache.org/openwebbeans-junit5.html]. Can fill the gap and 
avoid the legacy CdiTestRunner relies on (thinking about BeanProvider and 
CdiCtrl which were pre-CDI 2).

> Add Junit5 testing support
> --
>
> Key: DELTASPIKE-1366
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-1366
> Project: DeltaSpike
>  Issue Type: Wish
>  Components: TestControl, Tests
>Affects Versions: 1.9.0
>Reporter: John Smith
>Priority: Major
>
> Are there any plans to provide a junit5 extension like the CdiTestRunner in 
> the test-control module for junit4? 
> {{Especially the feature of the DynamicMockManager that allows you to add 
> mocks on per test basis is pretty nice for testing.}}
> {{This would be highly appreciated.  }}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (DELTASPIKE-1366) Add Junit5 testing support

2020-05-19 Thread Syed Shah (Jira)


[ 
https://issues.apache.org/jira/browse/DELTASPIKE-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17111439#comment-17111439
 ] 

Syed Shah commented on DELTASPIKE-1366:
---

Just wanted to say I also have interest in this issue, and high hopes 
DeltaSpike will receive JUnit 5 support sooner rather than later. 

> Add Junit5 testing support
> --
>
> Key: DELTASPIKE-1366
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-1366
> Project: DeltaSpike
>  Issue Type: Wish
>  Components: TestControl, Tests
>Affects Versions: 1.9.0
>Reporter: John Smith
>Priority: Major
>
> Are there any plans to provide a junit5 extension like the CdiTestRunner in 
> the test-control module for junit4? 
> {{Especially the feature of the DynamicMockManager that allows you to add 
> mocks on per test basis is pretty nice for testing.}}
> {{This would be highly appreciated.  }}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)