Re: [DISCUSS] unit-test cdi-control

2013-12-02 Thread Romain Manni-Bucau
well I asked cause I used it and found something to replace in junit
for everything (all you speak about)
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2013/12/2 Mark Struberg :
> I use it ;P
>
> Nah, testNG is really cool if you have a bit of a mixture of pure unit tests 
> with a slight touch of integration testing. groups, parallel executions, 
> shuffled executions, etc. _really_ useful stuff!
>
> LieGrue,
> strub
>
>
>
>
> - Original Message -
>> From: Romain Manni-Bucau 
>> To: dev@deltaspike.apache.org
>> Cc:
>> Sent: Monday, 2 December 2013, 19:59
>> Subject: Re: [DISCUSS] unit-test cdi-control
>>
>> Which gain supporting testng?
>>
>> Testng supports junit iirc
>> Le 2 déc. 2013 18:11, "Christian Kaltepoth"
>>  a
>> écrit :
>>
>>
>>>  I really like this. So +1 for adding it. Great work Gerhard. :)
>>>
>>>  And I agree with Mark that we should also support TestNG later. So the
>>>  module name should indicate that it is JUnit specific.
>>>
>>>  Christian
>>>
>>>
>>>  2013/12/2 Gerhard Petracek 
>>>
>>>  > hi @ all,
>>>  >
>>>  > please have a look at [1].
>>>  >
>>>  > it's just a first (and quick) draft based on major use-cases.
>>>  > however, it's working already and the api/spi is minimal -> we
>> can think
>>>  > about adding it to deltaspike.
>>>  > (it's already prepared for additional use-cases, however, for sure
>> we can
>>>  > simplify/change/improve any part of it easily.)
>>>  >
>>>  > regards,
>>>  > gerhard
>>>  >
>>>  > [1]
>>>  >
>>>  http://os890.blogspot.com/2013/12/add-on-cdi-tests-with-deltaspike-05.html
>>>  >
>>>
>>>
>>>
>>>  --
>>>  Christian Kaltepoth
>>>  Blog: http://blog.kaltepoth.de/
>>>  Twitter: http://twitter.com/chkal
>>>  GitHub: https://github.com/chkal
>>>
>>


Re: [DISCUSS] unit-test cdi-control

2013-12-02 Thread Mark Struberg
I use it ;P

Nah, testNG is really cool if you have a bit of a mixture of pure unit tests 
with a slight touch of integration testing. groups, parallel executions, 
shuffled executions, etc. _really_ useful stuff!

LieGrue,
strub




- Original Message -
> From: Romain Manni-Bucau 
> To: dev@deltaspike.apache.org
> Cc: 
> Sent: Monday, 2 December 2013, 19:59
> Subject: Re: [DISCUSS] unit-test cdi-control
> 
> Which gain supporting testng?
> 
> Testng supports junit iirc
> Le 2 déc. 2013 18:11, "Christian Kaltepoth" 
>  a
> écrit :
> 
> 
>>  I really like this. So +1 for adding it. Great work Gerhard. :)
>> 
>>  And I agree with Mark that we should also support TestNG later. So the
>>  module name should indicate that it is JUnit specific.
>> 
>>  Christian
>> 
>> 
>>  2013/12/2 Gerhard Petracek 
>> 
>>  > hi @ all,
>>  >
>>  > please have a look at [1].
>>  >
>>  > it's just a first (and quick) draft based on major use-cases.
>>  > however, it's working already and the api/spi is minimal -> we 
> can think
>>  > about adding it to deltaspike.
>>  > (it's already prepared for additional use-cases, however, for sure 
> we can
>>  > simplify/change/improve any part of it easily.)
>>  >
>>  > regards,
>>  > gerhard
>>  >
>>  > [1]
>>  >
>>  http://os890.blogspot.com/2013/12/add-on-cdi-tests-with-deltaspike-05.html
>>  >
>> 
>> 
>> 
>>  --
>>  Christian Kaltepoth
>>  Blog: http://blog.kaltepoth.de/
>>  Twitter: http://twitter.com/chkal
>>  GitHub: https://github.com/chkal
>> 
>


Re: [DISCUSS] unit-test cdi-control

2013-12-02 Thread Romain Manni-Bucau
Which gain supporting testng?

Testng supports junit iirc
Le 2 déc. 2013 18:11, "Christian Kaltepoth"  a
écrit :

> I really like this. So +1 for adding it. Great work Gerhard. :)
>
> And I agree with Mark that we should also support TestNG later. So the
> module name should indicate that it is JUnit specific.
>
> Christian
>
>
> 2013/12/2 Gerhard Petracek 
>
> > hi @ all,
> >
> > please have a look at [1].
> >
> > it's just a first (and quick) draft based on major use-cases.
> > however, it's working already and the api/spi is minimal -> we can think
> > about adding it to deltaspike.
> > (it's already prepared for additional use-cases, however, for sure we can
> > simplify/change/improve any part of it easily.)
> >
> > regards,
> > gerhard
> >
> > [1]
> >
> http://os890.blogspot.com/2013/12/add-on-cdi-tests-with-deltaspike-05.html
> >
>
>
>
> --
> Christian Kaltepoth
> Blog: http://blog.kaltepoth.de/
> Twitter: http://twitter.com/chkal
> GitHub: https://github.com/chkal
>


[jira] [Commented] (DELTASPIKE-453) Provide @Eager for ApplicationScoped beans

2013-12-02 Thread Thomas Andraschko (JIRA)

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

Thomas Andraschko commented on DELTASPIKE-453:
--

+1 Romain
It may not work for some special cases but it works fine for normal use cases 
and i never had a problem with it.

> Provide @Eager for ApplicationScoped beans
> --
>
> Key: DELTASPIKE-453
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-453
> Project: DeltaSpike
>  Issue Type: New Feature
>  Components: Core
>Reporter: Thomas Andraschko
> Attachments: 453.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)


Re: [DISCUSS] unit-test cdi-control

2013-12-02 Thread Christian Kaltepoth
I really like this. So +1 for adding it. Great work Gerhard. :)

And I agree with Mark that we should also support TestNG later. So the
module name should indicate that it is JUnit specific.

Christian


2013/12/2 Gerhard Petracek 

> hi @ all,
>
> please have a look at [1].
>
> it's just a first (and quick) draft based on major use-cases.
> however, it's working already and the api/spi is minimal -> we can think
> about adding it to deltaspike.
> (it's already prepared for additional use-cases, however, for sure we can
> simplify/change/improve any part of it easily.)
>
> regards,
> gerhard
>
> [1]
> http://os890.blogspot.com/2013/12/add-on-cdi-tests-with-deltaspike-05.html
>



-- 
Christian Kaltepoth
Blog: http://blog.kaltepoth.de/
Twitter: http://twitter.com/chkal
GitHub: https://github.com/chkal


Re: Window Handling - CODI like mode?

2013-12-02 Thread Thomas Andraschko
Hi Gerhard,

thats what i thought.
Unfortunately i can't upgrade, as the most of our customers use JavaEE6
servers.
So i hope that a CODI-Like mode could be added!

Regards,
Thomas


2013/12/2 Gerhard Petracek 

> hi thomas,
>
> if you can upgrade to jsf 2.2, you can use ClientWindowRenderMode.DELEGATED
> (+ configure "url" for javax.faces.CLIENT_WINDOW_MODE).
>
> regards,
> gerhard
>
>
>
> 2013/11/27 Thomas Andraschko 
>
> > Hi,
> >
> > i always get a loading screen with the new DS window handling.
> > Is there a chance to get the same behavior as with CODI?
> >
> > Regards,
> > Thomas
> >
>


Re: Window Handling - CODI like mode?

2013-12-02 Thread Gerhard Petracek
hi thomas,

if you can upgrade to jsf 2.2, you can use ClientWindowRenderMode.DELEGATED
(+ configure "url" for javax.faces.CLIENT_WINDOW_MODE).

regards,
gerhard



2013/11/27 Thomas Andraschko 

> Hi,
>
> i always get a loading screen with the new DS window handling.
> Is there a chance to get the same behavior as with CODI?
>
> Regards,
> Thomas
>


Re: [DISCUSS] unit-test cdi-control

2013-12-02 Thread Romain Manni-Bucau
we have something like it in openejb and it is really nicer than
arquillian for real apps and unit tests since you don't need
deployment or heavy enrichments processes
Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2013/12/2 John D. Ament :
> I'd personally prefer to see this as an Arquillian add on, especially
> since the embedded containers have such little over head.
>
> On Mon, Dec 2, 2013 at 6:32 AM, Mark Struberg  wrote:
>>
>>
>> yup +1
>>
>> TestNG support would also be handy later.
>>
>> LieGrue,
>> strub
>>
>>
>>
>>
>>
>>>
>>> From: Thomas Andraschko 
>>>To: dev@deltaspike.apache.org
>>>Sent: Monday, 2 December 2013, 11:22
>>>Subject: Re: [DISCUSS] unit-test cdi-control
>>>
>>>
>>>+1
>>>simple and nice approach
>>>
>>>
>>>
>>>2013/12/2 Gerhard Petracek 
>>>
 hi @ all,

 please have a look at [1].

 it's just a first (and quick) draft based on major use-cases.
 however, it's working already and the api/spi is minimal -> we can think
 about adding it to deltaspike.
 (it's already prepared for additional use-cases, however, for sure we can
 simplify/change/improve any part of it easily.)

 regards,
 gerhard

 [1]
 http://os890.blogspot.com/2013/12/add-on-cdi-tests-with-deltaspike-05.html

>>>
>>>
>>>


Re: [DISCUSS] unit-test cdi-control

2013-12-02 Thread Mark Struberg
Different purpose.

For arquillian to be useful for such business apps it would be required to 
support multiple 'deployment groups' which would share a single @Deployment for 
many unit test classes.

That would be utter cool, but doesn't exist yet...

LieGrue,
strub




- Original Message -
> From: John D. Ament 
> To: dev@deltaspike.apache.org
> Cc: 
> Sent: Monday, 2 December 2013, 13:08
> Subject: Re: [DISCUSS] unit-test cdi-control
> 
> I'd personally prefer to see this as an Arquillian add on, especially
> since the embedded containers have such little over head.
> 
> 
> On Mon, Dec 2, 2013 at 6:32 AM, Mark Struberg  wrote:
>> 
>> 
>>  yup +1
>> 
>>  TestNG support would also be handy later.
>> 
>>  LieGrue,
>>  strub
>> 
>> 
>> 
>> 
>> 
>>> 
>>>  From: Thomas Andraschko 
>>> To: dev@deltaspike.apache.org
>>> Sent: Monday, 2 December 2013, 11:22
>>> Subject: Re: [DISCUSS] unit-test cdi-control
>>> 
>>> 
>>> +1
>>> simple and nice approach
>>> 
>>> 
>>> 
>>> 2013/12/2 Gerhard Petracek 
>>> 
  hi @ all,
 
  please have a look at [1].
 
  it's just a first (and quick) draft based on major use-cases.
  however, it's working already and the api/spi is minimal -> 
> we can think
  about adding it to deltaspike.
  (it's already prepared for additional use-cases, however, for 
> sure we can
  simplify/change/improve any part of it easily.)
 
  regards,
  gerhard
 
  [1]
 
> http://os890.blogspot.com/2013/12/add-on-cdi-tests-with-deltaspike-05.html
 
>>> 
>>> 
>>> 
> 


Re: [DISCUSS] unit-test cdi-control

2013-12-02 Thread Gerhard Petracek
hi john,

the basic idea of this thin/simple integration is to be independent of
arquillian.

regards,
gerhard



2013/12/2 John D. Ament 

> I'd personally prefer to see this as an Arquillian add on, especially
> since the embedded containers have such little over head.
>
> On Mon, Dec 2, 2013 at 6:32 AM, Mark Struberg  wrote:
> >
> >
> > yup +1
> >
> > TestNG support would also be handy later.
> >
> > LieGrue,
> > strub
> >
> >
> >
> >
> >
> >>
> >> From: Thomas Andraschko 
> >>To: dev@deltaspike.apache.org
> >>Sent: Monday, 2 December 2013, 11:22
> >>Subject: Re: [DISCUSS] unit-test cdi-control
> >>
> >>
> >>+1
> >>simple and nice approach
> >>
> >>
> >>
> >>2013/12/2 Gerhard Petracek 
> >>
> >>> hi @ all,
> >>>
> >>> please have a look at [1].
> >>>
> >>> it's just a first (and quick) draft based on major use-cases.
> >>> however, it's working already and the api/spi is minimal -> we can
> think
> >>> about adding it to deltaspike.
> >>> (it's already prepared for additional use-cases, however, for sure we
> can
> >>> simplify/change/improve any part of it easily.)
> >>>
> >>> regards,
> >>> gerhard
> >>>
> >>> [1]
> >>>
> http://os890.blogspot.com/2013/12/add-on-cdi-tests-with-deltaspike-05.html
> >>>
> >>
> >>
> >>
>


[jira] [Created] (DELTASPIKE-456) wildfly-build-managed profile

2013-12-02 Thread Gerhard Petracek (JIRA)
Gerhard Petracek created DELTASPIKE-456:
---

 Summary: wildfly-build-managed profile
 Key: DELTASPIKE-456
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-456
 Project: DeltaSpike
  Issue Type: Task
  Components: Build
Affects Versions: 0.5
Reporter: Gerhard Petracek
Assignee: Jozef Hartinger
 Fix For: 0.6


no build-managed profile was added with DELTASPIKE-408



--
This message was sent by Atlassian JIRA
(v6.1#6144)


Re: [DISCUSS] unit-test cdi-control

2013-12-02 Thread John D. Ament
I'd personally prefer to see this as an Arquillian add on, especially
since the embedded containers have such little over head.

On Mon, Dec 2, 2013 at 6:32 AM, Mark Struberg  wrote:
>
>
> yup +1
>
> TestNG support would also be handy later.
>
> LieGrue,
> strub
>
>
>
>
>
>>
>> From: Thomas Andraschko 
>>To: dev@deltaspike.apache.org
>>Sent: Monday, 2 December 2013, 11:22
>>Subject: Re: [DISCUSS] unit-test cdi-control
>>
>>
>>+1
>>simple and nice approach
>>
>>
>>
>>2013/12/2 Gerhard Petracek 
>>
>>> hi @ all,
>>>
>>> please have a look at [1].
>>>
>>> it's just a first (and quick) draft based on major use-cases.
>>> however, it's working already and the api/spi is minimal -> we can think
>>> about adding it to deltaspike.
>>> (it's already prepared for additional use-cases, however, for sure we can
>>> simplify/change/improve any part of it easily.)
>>>
>>> regards,
>>> gerhard
>>>
>>> [1]
>>> http://os890.blogspot.com/2013/12/add-on-cdi-tests-with-deltaspike-05.html
>>>
>>
>>
>>


Re: [DISCUSS] unit-test cdi-control

2013-12-02 Thread Mark Struberg


yup +1

TestNG support would also be handy later.

LieGrue,
strub





>
> From: Thomas Andraschko 
>To: dev@deltaspike.apache.org 
>Sent: Monday, 2 December 2013, 11:22
>Subject: Re: [DISCUSS] unit-test cdi-control
> 
>
>+1
>simple and nice approach
>
>
>
>2013/12/2 Gerhard Petracek 
>
>> hi @ all,
>>
>> please have a look at [1].
>>
>> it's just a first (and quick) draft based on major use-cases.
>> however, it's working already and the api/spi is minimal -> we can think
>> about adding it to deltaspike.
>> (it's already prepared for additional use-cases, however, for sure we can
>> simplify/change/improve any part of it easily.)
>>
>> regards,
>> gerhard
>>
>> [1]
>> http://os890.blogspot.com/2013/12/add-on-cdi-tests-with-deltaspike-05.html
>>
>
>
>


[jira] [Resolved] (DELTASPIKE-455) unify literal-packages

2013-12-02 Thread Gerhard Petracek (JIRA)

 [ 
https://issues.apache.org/jira/browse/DELTASPIKE-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gerhard Petracek resolved DELTASPIKE-455.
-

Resolution: Fixed

> unify literal-packages
> --
>
> Key: DELTASPIKE-455
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-455
> Project: DeltaSpike
>  Issue Type: Task
>Affects Versions: 0.5
>Reporter: Gerhard Petracek
>Assignee: Gerhard Petracek
>Priority: Critical
> Fix For: 0.6
>
>
> see e.g.:
> org.apache.deltaspike.core.api.literal
> vs
> org.apache.deltaspike.core.api.config.view.controller.literal



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Created] (DELTASPIKE-455) unify literal-packages

2013-12-02 Thread Gerhard Petracek (JIRA)
Gerhard Petracek created DELTASPIKE-455:
---

 Summary: unify literal-packages
 Key: DELTASPIKE-455
 URL: https://issues.apache.org/jira/browse/DELTASPIKE-455
 Project: DeltaSpike
  Issue Type: Task
Affects Versions: 0.5
Reporter: Gerhard Petracek
Assignee: Gerhard Petracek
Priority: Critical
 Fix For: 0.6


see e.g.:
org.apache.deltaspike.core.api.literal
vs
org.apache.deltaspike.core.api.config.view.controller.literal



--
This message was sent by Atlassian JIRA
(v6.1#6144)


Re: [DISCUSS] unit-test cdi-control

2013-12-02 Thread Thomas Andraschko
+1
simple and nice approach


2013/12/2 Gerhard Petracek 

> hi @ all,
>
> please have a look at [1].
>
> it's just a first (and quick) draft based on major use-cases.
> however, it's working already and the api/spi is minimal -> we can think
> about adding it to deltaspike.
> (it's already prepared for additional use-cases, however, for sure we can
> simplify/change/improve any part of it easily.)
>
> regards,
> gerhard
>
> [1]
> http://os890.blogspot.com/2013/12/add-on-cdi-tests-with-deltaspike-05.html
>


[DISCUSS] unit-test cdi-control

2013-12-02 Thread Gerhard Petracek
hi @ all,

please have a look at [1].

it's just a first (and quick) draft based on major use-cases.
however, it's working already and the api/spi is minimal -> we can think
about adding it to deltaspike.
(it's already prepared for additional use-cases, however, for sure we can
simplify/change/improve any part of it easily.)

regards,
gerhard

[1]
http://os890.blogspot.com/2013/12/add-on-cdi-tests-with-deltaspike-05.html