ppalaga opened a new issue #3511:
URL: https://github.com/apache/camel-quarkus/issues/3511


   Based on the demand heart in 
https://github.com/apache/camel-quarkus/issues/1981 and elsewhere, we should 
provide a way for testing in the CamelTestSupport way known from other Camel 
runtimes.
   
   This may include at least the following:
   
   1. Offer our own CamelTestSupport class  overriding createCamelContext() 
override, so that end users do not need to copy it over and over again:
   
   ```
   @QuarkusTest
   public class TransactedTest extends CamelTestSupport {
       @Inject
       CamelContext context;
   
       @Override
       protected CamelContext createCamelContext() throws Exception {
           return this.context;
       }
   }
   ```
    
   2. We should have a couple of tests of this kind to both test that it works 
and for demo purposes. 
   3. We should document this kind of testing (including the warning that it 
would not work in native mode).


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to