473,396 Members | 2,059 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Looking for Advice Suggestions on setting up Unit Testing

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
Oct 30 '08 #1
4 1959
>Is there a way to build solution in debug without building all the unit
>tests
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.

"sippyuconn" <si********@newsgroup.nospamwrote in message
news:16**********************************@microsof t.com...
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
Oct 31 '08 #2
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 ???

"abilwd" wrote:
Is there a way to build solution in debug without building all the unit
tests

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.

"sippyuconn" <si********@newsgroup.nospamwrote in message
news:16**********************************@microsof t.com...
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

Nov 5 '08 #3
Hi,

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


"sippyuconn" <si********@newsgroup.nospamwrote in message
news:FF**********************************@microsof t.com...
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 ???

"abilwd" wrote:
>Is there a way to build solution in debug without building all the unit
tests

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.

"sippyuconn" <si********@newsgroup.nospamwrote in message
news:16**********************************@microso ft.com...
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

Nov 5 '08 #4
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'

"abilwd" wrote:
Hi,

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


"sippyuconn" <si********@newsgroup.nospamwrote in message
news:FF**********************************@microsof t.com...
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 ???

"abilwd" wrote:
Is there a way to build solution in debug without building all the unit
tests

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.

"sippyuconn" <si********@newsgroup.nospamwrote in message
news:16**********************************@microsof t.com...
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


Nov 5 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: | last post by:
Hi! I'm looking for unit-testing tools for .NET. Somthing like Java has --> http://www.junit.org regards, gicio
2
by: Sky Sigal | last post by:
Hello: I'm currently messing around, and need as much feedback/help as I can get, trying to find the most economical/graceful way to build usercontrols that rely on styling to look any good... ...
4
by: Peter Rilling | last post by:
Does VS.NET 2005 Professional support integrated unit testing, or is that only with the team system?
1
by: MD | last post by:
Hello I work in a .NET environment and I am about to create a development strategy. As part of this I am looking at implementing a testing tool to fit in with an iterative approach and NUnit...
72
by: Jacob | last post by:
I have compiled a set og unit testing recommendations based on my own experience on the concept. Feedback and suggestions for improvements are appreciated: ...
4
by: Dat AU DUONG | last post by:
Hi, I am new to Unit testing, could you tell me where I could find information (hopefully step by step) and what is the benefit of unit testing. I am a sole developer in a company, therefore I...
232
by: robert maas, see http://tinyurl.com/uh3t | last post by:
I'm working on examples of programming in several languages, all (except PHP) running under CGI so that I can show both the source files and the actually running of the examples online. The first...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.