Open GoogleCodeExporter opened 9 years ago
Is this reported as a bug in Mule Studio?
Not picking up files under src/test/resources on the classpath must be treated
as a bug, right?
Can src/test/resources be added manually to the classpath in Mule Studio as a
workaround?
Original comment by magnus.l...@gmail.com
on 23 Jan 2014 at 12:20
I'll try to clarify why I don't think this is a bug in MuleStudio:
1. src/test/resources (and src/test/java) is part of the classpath in
MuleStudio after generating Studio project files with "mvn studio:studio"- so
running unit/functional tests works as expected
2. When starting the Mule-container with "Run as Mule-app" is seems that the
Studio-Mule-runtime excludes src/test/... from the classpath.
I find this reasonable, when launching the Mule-app you would probably want to
run the application under as-close-conditions-as-possible to when the app is
deployed to a standalone Mule-instance, where src/test/... wouldn't be
available since it's not packaged with the app.
Original comment by hakan.dahl@gmail.com
on 23 Jan 2014 at 4:28
But that should imply that we never ever could get test flows running with the
Mule Studio launcher???
Then I find the whole concept failing...
Bug or not, I find it very important that we raise a feature request to be able
to add on the test-parts to the classpath when required!
Original comment by magnus.l...@gmail.com
on 24 Jan 2014 at 12:46
Original comment by hakan.dahl@gmail.com
on 23 Feb 2014 at 3:25
Original issue reported on code.google.com by
hakan.dahl@gmail.com
on 23 Jan 2014 at 11:41