Looking for Advice Suggestions on setting up Unit Testing

S

sippyuconn

Hi

I am familiar with unit testing but have to implement in a large solution of
100 projects - my concern is

Adding Unit test will bloat the solution - taking more time to get all code
from SVN and slow compile time for developers
-Is there a way to build solution in debug without building all the unit tests
-Is there a goos way to oragnize the unit test so there are not alot of
projects

Any other helpful suggestions ???

Thanks
 
A

abilwd

Is there a way to build solution in debug without building all the unit

To build the solution without building all the unit test projects, we need
to either unload the projects, or edit the sln file (the solution file) to
disregard the unwanted projects.
Is there a goos way to oragnize the unit test so there are not alot of
projects

Please refer to the 2nd part of the article:
http://www.codeplex.com/TFSGuide
If solution is very large, we generally create several sub solutions and one
master solution. For most developers, they just need to work on related
projects.
 
S

sippyuconn

Hi

Thanks for your response - we are using SNK

If we break the solution into several solutions do we need to build all the
solutions at sametime to keep SNK in sync ???
 
A

abilwd

Hi,

What is SNK? do you mean strong name key? why do we need to synchronize
strong name key?
 
S

sippyuconn

Yes - Strong Name Key

If we don't build all the assemblies together (in sync) we get the follow
type error
So that is why I am asking - if we break the main solution into 3 solutions
do we still need to build all together so we don't the below type error ???


System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. ---> System.IO.FileLoadException: Could not load
file or assembly 'StdGlobal, Version=0.9.3227.22539, Culture=neutral,
PublicKeyToken=f58e8521947216cc' or one of its dependencies. The located
assembly's manifest definition does not match the assembly reference.
(Exception from HRESULT: 0x80131040)
File name: 'StdGlobal, Version=0.9.3227.22539, Culture=neutral,
PublicKeyToken=f58e8521947216cc'
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top