Hello again !

Well, it was quite easy to make a first simple test work again :) !

Before, with Junit 4, overriding the setUp method was enough to add
some startup code and then call the super method : overriding in junit
4 let the @Before as is... It seems that now the @BeforeEach of Junit
5 is required explicitly on overridden methods...

At the same time I must learn Junit 5 by the way !

Thanks.

Regards.

Le lun. 2 janv. 2023 à 14:10, Santiago Acosta
<santiago.aco...@intermodaltelematics.com> a écrit :
>
> You made me worry so I went looking for
> https://github.com/apache/camel/blob/main/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
> - on Branch main
> - for Framework Junit5
> and it does not have a deprecation notice.
> What CamelTestSupport are you currently using?
>
> On Thu, Dec 29, 2022 at 11:52 AM Ephemeris Lappis <
> ephemeris.lap...@gmail.com> wrote:
>
> > Hello.
> >
> > One more surprise with Camel 3.x. The class CamelTestSupport has been
> > deprecated, while CamelBlueprintTestSupport seems to use it with no
> > depreciation.
> >
> > I can't find any valid replacement to test blueprint contexts. Did I
> > miss something ? Should we use deprecated code for tests ?
> >
> > Thanks again !
> >
> > Regards.
> >
>
>
> --
> Best regards,
> *Santiago Acosta Arreaza*
>
> Intermodal Telematics S.L.
> Prisma building, 1st floor, Office 1.5
> Fotógrafo José Norberto Rguez. Díaz st., 2
> San Cristobal de La Laguna, SC de Tenerife
> 38204, Spain
>
>
> +34 922 31 56 05
> www.intermodaltelematics.com

Reply via email to