Hello Simon,
the problem is how EA handles VS projects/solution and build/run/test scripts.
They are bound to a package.
This is nonsens.
A package is a namespace node. And there is NO 1:1 relationship between a namespace node and a project/solution, because the namespace can embrace numbers of projects. Same for build/run/test.
EA is misusing the package for a logical managing unit.
This is wrong.
What would be correct?
I can give you a proposal.
Correct would be to attach the VS integration to a component.
Correct would be to attach run/build/test scripts to components.
A component results in a target, which can have a VS solution/project and build/run/test scripts.
Here we have a 1:1 relation ship.
And it would even be an ease to define a vs project in EA.
Just drag and drop the classes onto a component and EA could generate a VS project/solution for it with the side effect, that the namespaces of the logical package structure wouldn't be shivered.
Implemented in this way one could even reverse engineer/forward engineer exactyl the classes belonging to this component, which often makes more sense than reverse engineering a namepsace node (but of course we need that too!).
Normally you work on 1 may 2,3 projects (components).
And what you want do generate/reverse engineer are the classes exatcly for these project/components.
That makes sense. Because other classes in the same namespace are (can be) involved with other projects.
So why should i want to generate/reverse engineer them?
Which sense makes it having a test script at a package level?
None!
Because you are not testing a namespace node!
You are testing a component!
You are building a component!
You are executing a component!
And you manage dlls and exes (components) in VS as projects.
This is the big error in EA, but I fear that they stay on their current philosphy attaching these things to a package.
This is definitly not a good thing to do it.
EA is corrupting our namespace stucture with it, because
nobody would have an overview which class is where in the package tree.
That's the reason we can not use the VS integration.
It's useless if you have to manage more that 5 to 10 targets.
We have more than 200!
Additionally we have to create unnecessary packages
only to support the EAs logic, that build/run/test scripts are bound to a package.
Please sparxians.
Rethink about this concept.
Have a look at rational rose.
Package structure -> logical structure
(no testing, no build script, no projects)
component structure -> physical structure
testing, running, building, projects
That's the way what makes sense and that does not corrupt the model with artificial/unnecessary things.
Michael