473,756 Members | 2,117 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unit testing and performance load testing

Hi,

I've been searching for solutions to two issues that are undoubtedly common
to everybody. The first is how do my team and I adequately perform unit
testing. The second is how can I measure a load on my application?

In the past, we would write our class and then come up with some logic in a
console or win app to test it. I have since found NUnit which seems to be
pretty cool. BTW: if anybody has some XSLTs that provide alternative
formats to their Summary.xlst, could you direct me to them? Anyway, if
NUnit isn't the tool du jour, what else should I be looking at? Is there a
nice Forms tester that is available with it?

One thing that has plagued me is performance testing. For example, how
long does it take to get Business Entity X back from my data layer when 50
people are hitting it. I'm thinking that the NUnit library might be able to
give me some of that since it does return result times, however that is for
one call per test method. Application Test Center works off of a web page
(right?) and our app is going to be a winform app. Do we write throwaway
code in a small web app that will help us to test the load?

Hopefully I have stated my questions well. If this isn't the place to look,
could you please direct me to a place where I could find some of the
answers. Oh -- and please don't reply with, "I'm selling this product and I
think it is really cool." I'm looking for objective opinions based on
practical experience.

Thanks in advance,
cj
Nov 16 '05 #1
2 9744
Hi!

Analogous to nUnit is nPerf:
http://www.codeproject.com/gen/design/nperf.asp

Load Runner is the standard in the industry:
http://www.mercury.com/us/products/p...er/loadrunner/

Practically speaking, nothing beats good ol' fashioned user testing!

ok,
aq

"Curtis Justus" <ja***********@ notarealdomain1 23.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hi,

I've been searching for solutions to two issues that are undoubtedly common to everybody. The first is how do my team and I adequately perform unit
testing. The second is how can I measure a load on my application?

In the past, we would write our class and then come up with some logic in a console or win app to test it. I have since found NUnit which seems to be
pretty cool. BTW: if anybody has some XSLTs that provide alternative
formats to their Summary.xlst, could you direct me to them? Anyway, if
NUnit isn't the tool du jour, what else should I be looking at? Is there a nice Forms tester that is available with it?

One thing that has plagued me is performance testing. For example, how
long does it take to get Business Entity X back from my data layer when 50
people are hitting it. I'm thinking that the NUnit library might be able to give me some of that since it does return result times, however that is for one call per test method. Application Test Center works off of a web page
(right?) and our app is going to be a winform app. Do we write throwaway
code in a small web app that will help us to test the load?

Hopefully I have stated my questions well. If this isn't the place to look, could you please direct me to a place where I could find some of the
answers. Oh -- and please don't reply with, "I'm selling this product and I think it is really cool." I'm looking for objective opinions based on
practical experience.

Thanks in advance,
cj

Nov 16 '05 #2
Ahmed,

Thanks for your help!
cj

"Ahmed Qurashi" <ah**********@g mail.com> wrote in message
news:u1******** ******@TK2MSFTN GP14.phx.gbl...
Hi!

Analogous to nUnit is nPerf:
http://www.codeproject.com/gen/design/nperf.asp

Load Runner is the standard in the industry:
http://www.mercury.com/us/products/p...er/loadrunner/

Practically speaking, nothing beats good ol' fashioned user testing!

ok,
aq

"Curtis Justus" <ja***********@ notarealdomain1 23.com> wrote in message
news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
Hi,

I've been searching for solutions to two issues that are undoubtedly

common
to everybody. The first is how do my team and I adequately perform unit
testing. The second is how can I measure a load on my application?

In the past, we would write our class and then come up with some logic in

a
console or win app to test it. I have since found NUnit which seems to
be
pretty cool. BTW: if anybody has some XSLTs that provide alternative
formats to their Summary.xlst, could you direct me to them? Anyway, if
NUnit isn't the tool du jour, what else should I be looking at? Is there

a
nice Forms tester that is available with it?

One thing that has plagued me is performance testing. For example, how
long does it take to get Business Entity X back from my data layer when
50
people are hitting it. I'm thinking that the NUnit library might be able

to
give me some of that since it does return result times, however that is

for
one call per test method. Application Test Center works off of a web
page
(right?) and our app is going to be a winform app. Do we write throwaway
code in a small web app that will help us to test the load?

Hopefully I have stated my questions well. If this isn't the place to

look,
could you please direct me to a place where I could find some of the
answers. Oh -- and please don't reply with, "I'm selling this product
and

I
think it is really cool." I'm looking for objective opinions based on
practical experience.

Thanks in advance,
cj


Nov 16 '05 #3

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

Similar topics

6
3687
by: Tom Verbeure | last post by:
Hello All, so I'm now convinced that unit testing is really the way to go and I want to add it to an existing project. The first thing that I find out, is that, well, it's hard work. Harder than writing the real functional code. My application manipulates graphs. I first write the skeleton in Python, then convert it to C++ for high performance (some graphs can have millions of nodes.)
1
1317
by: esther | last post by:
I'm working on my monthly column for Software Test & Performance magazine, and I'd like your input. The topic, this time around, is unit testing (using python or anything else). Care to share some of your hard-won knowledge with your peers? In particular, what I'm looking for are experiences and advice about _developing_ the unit tests. (Managing and running them is something else again.) How big is a unit? How granular do you get? Do...
38
3411
by: Christoph Zwerschke | last post by:
In August 2001, there was a thread about the "Art of Unit Testing": http://groups.google.com/group/comp.lang.python/browse_frm/thread/aa2bd17e7f995d05/71a29faf0a0485d5 Paul Moore asked the legitimate question why there is no hook for a "global" fixture code that is run only once for the whole TestCase, as opposed to the normal "setUp" and "tearDown" code that is run for every single test in the TestCase. A "global fixture" would be...
14
2752
by: | last post by:
Hi! I'm looking for unit-testing tools for .NET. Somthing like Java has --> http://www.junit.org regards, gicio
0
1539
by: Chuck | last post by:
Sorry for the advertisement but I think this is something that people could actually use. I am creating a new product called Simple Load Testing and I thought I would see if anyone would be interested in giving it a try in it's beta stage. Keep in mind that it is still in the beta stages so there will be bugs - but so far it seems to be stable in the testing that I have done. There are no licenses or limitations in the beta version so...
72
5269
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.
0
1558
by: Cooper Blake | last post by:
Hello, I'm trying to unit test an asp.net application. We are using the .net 2..0 authentication / loginView, etc. web controls, with a customized MembershipProvider (MP) class to connect to an Oracle database. NUnit is our unit testing framework, and I want to test the creation of a user in the database. NUnit loads the web.config file just fine, and can connect to the database using configuration settings. I can...
6
5687
by: Vyacheslav Maslov | last post by:
Hi all! I have many many many python unit test, which are used for testing some remote web service. The most important issue here is logging of test execution process and result. I strongly need following: 1. start/end timestamp for each test case (most important) 2. immediate report about exceptions (stacktrace) 3. it will be nice to use logging module for output
4
1983
by: =?Utf-8?B?c2lwcHl1Y29ubg==?= | last post by:
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
0
9287
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
10046
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
8723
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7259
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
6542
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
5155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3817
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
2
3369
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.