473,769 Members | 7,408 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1984
>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********@new sgroup.nospamwr ote in message
news:16******** *************** ***********@mic rosoft.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********@new sgroup.nospamwr ote in message
news:16******** *************** ***********@mic rosoft.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********@new sgroup.nospamwr ote in message
news:FF******** *************** ***********@mic rosoft.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********@new sgroup.nospamwr ote in message
news:16******* *************** ************@mi crosoft.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.Reflecti on.TargetInvoca tionException: Exception has been thrown by
the target of an invocation. ---System.IO.FileL oadException: Could not load
file or assembly 'StdGlobal, Version=0.9.322 7.22539, Culture=neutral ,
PublicKeyToken= f58e8521947216c c' 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.322 7.22539, Culture=neutral ,
PublicKeyToken= f58e8521947216c c'

"abilwd" wrote:
Hi,

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


"sippyuconn " <si********@new sgroup.nospamwr ote in message
news:FF******** *************** ***********@mic rosoft.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********@new sgroup.nospamwr ote in message
news:16******** *************** ***********@mic rosoft.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
2753
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
1415
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... It's the last part that has got me all frazzled (the 'rely on...to look good')... Let me explain -- and please bear with me as it's a bit longer than my usual questions:
4
2165
by: Peter Rilling | last post by:
Does VS.NET 2005 Professional support integrated unit testing, or is that only with the team system?
1
1803
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 seems to be the logical choice. Although it works well with very simple classes, it seems to struggle when you are confronted with anything substantial - eg an application that accesses/updates an RDBMS. For instance :-
72
5276
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: http://geosoft.no/development/unittesting.html Thanks.
4
18969
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 don't get expose to much of this technology. Thanks in advance. Regards Dat.
232
13342
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 set of examples, after decoding the HTML FORM contents, merely verifies the text within a field to make sure it is a valid representation of an integer, without any junk thrown in, i.e. it must satisfy the regular expression: ^ *?+ *$ If the...
0
9589
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10214
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10048
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9865
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7410
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6674
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3963
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.