|
As of October 27th, please open all new issues in the Red Hat Customer Portal . |
|
[
Permlink
| « Hide
]
Lars Heinemann added a comment - 10/Oct/11 12:53 PM
Claus, if we would add such a bypass for the unit test, would you ever fix the broken tests in future? I am not sure if we should add such features as those unit tests should ensure that the application does what it was designed for. Bypassing unit tests is a risk and if used on production systems it is really dangerous.
I'm with Claus on this.
Maven allows tests to be avoided. There are times when you want to do that. e.g. you know there's an issue, but you want to investigate something; so you wanna run something in IDE and try something out. Also tests can often take a long time (Camel for example takes about an hour!). Sometimes you just wanna run a context and play with it - without the speed/time/failing test impact. Note maven allows you to build without testing (I do this alot myself when I just wanna build something so I can use it - rather than building it with the tests). So it makes total sense to allow you to run a camel-context.xml locally without running the tests as an option. Remember running a camel context locally isn't a replacement for the build system or CI system - its just a way to run a camel XML and try it out. |
||||||||||||||||||||||||||||||||||||||||||