nicolaferraro opened a new issue #600: Testing Camel K integrations
URL: https://github.com/apache/camel-k/issues/600
 
 
   An attendee at a recent conf asked for a way to test Camel K integrations.
   
   Tests that should be done on a Camel K integration are not unit tests, they 
should involve external systems as well. Maybe they will run on a special 
environment where external services are mocked, but we should define a way to 
declare testing together with the integration.
   
   I'm thinking to the following scenario:
   - user writes the integration file
   - user writes the test file (same name with `-test` is recognized by default)
   - user runs `kamel test integration.groovy`
   - integration is deployed together with test code
   - test is executed, results are collected and appended at the end of the 
stream
   
   Questions are:
   - can it work?
   - is camel able to externalize test code completely from integration code?
   - which test framework?
   - test code is not a DSL script... do we need some integration with IDE?
   
   @davsclaus, @oscerd, @lburgazzoli, @astefanutti, @valdar, @jamesnetherton 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to