Sure

@Cdi
class MyTest {
  @Inject Mybean bean;

  @Test
  void run() {
    //...
  }
}

You can also select just a few beans in @Cdi to boost the deployment - by
default it is a classpath depl.


Le mar. 16 avr. 2019 à 17:23, Thomas Andraschko <andraschko.tho...@gmail.com>
a écrit :

> Can you also post a usage example?
>
> Am Di., 16. Apr. 2019 um 09:08 Uhr schrieb Romain Manni-Bucau <
> rmannibu...@gmail.com>:
>
> > Hi guys,
> >
> > For a project based on SeContainer I just wrote this JUnit 5 extension:
> >
> > https://gist.github.com/rmannibucau/f7f07969225b880c8009b0c0f2f21299
> >
> > Do you think it is worth contributing it?
> >
> > Romain Manni-Bucau
> > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > <https://rmannibucau.metawerx.net/> | Old Blog
> > <http://rmannibucau.wordpress.com> | Github <
> > https://github.com/rmannibucau> |
> > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book
> > <
> >
> https://www.packtpub.com/application-development/java-ee-8-high-performance
> > >
> >
>

Reply via email to