comunit-users Mailing List for COMUnit (Page 6)
Brought to you by:
exortech,
kimgrasman
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
(1) |
Mar
(2) |
Apr
(3) |
May
(2) |
Jun
(3) |
Jul
|
Aug
(13) |
Sep
(4) |
Oct
|
Nov
(2) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(4) |
Dec
|
| 2004 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
(4) |
May
|
Jun
|
Jul
(6) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2005 |
Jan
|
Feb
(1) |
Mar
(2) |
Apr
|
May
|
Jun
(1) |
Jul
(2) |
Aug
(1) |
Sep
(6) |
Oct
(1) |
Nov
|
Dec
(1) |
| 2006 |
Jan
|
Feb
(1) |
Mar
(4) |
Apr
|
May
(2) |
Jun
(4) |
Jul
(1) |
Aug
(4) |
Sep
(3) |
Oct
|
Nov
(1) |
Dec
(7) |
| 2007 |
Jan
(6) |
Feb
(9) |
Mar
(10) |
Apr
(11) |
May
(11) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Dick M. <dmo...@in...> - 2002-06-28 17:10:05
|
1. How do I reply on the thread? I don't see any mechanism for so = doing. 2. All machines have Visual Studio 6, SP5 installed, including VB. All = are Win 2k SP2. All were built from the same set of MSDN disks. = ComUnit only installs on one of them. Dick. |
|
From: <kim...@la...> - 2002-06-28 15:10:16
|
Hi Dick, Is VB installed on the respective machines? In what path? I don't know how Owen attempts to resolve the install path, but he may = have screwed it up ;) // kim > -----Original Message----- > From: Dick Monahan [mailto:dmo...@in...] > Sent: den 28 juni 2002 17:01 > To: com...@li... > Subject: [Comunit-users] "Path not found" on install? >=20 >=20 > I have installed ComUnit successfully on my personal Win2kmachine. >=20 > I brought it to the office, and on 3 machines, when I click=20 > the Install button, I get "Run-time error '76': Path not found." >=20 > If I uncheck the 3 templates in the install box, it succeeds. >=20 > What is wrong? >=20 > Dick. >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Caffeinated soap. No kidding. > http://thinkgeek.com/sf > _______________________________________________ > Comunit-users mailing list > Com...@li... > https://lists.sourceforge.net/lists/listinfo/comunit-users >=20 |
|
From: Dick M. <dmo...@in...> - 2002-06-28 15:04:13
|
I have installed ComUnit successfully on my personal Win2kmachine. I brought it to the office, and on 3 machines, when I click the Install = button, I get "Run-time error '76': Path not found." If I uncheck the 3 templates in the install box, it succeeds. What is wrong? Dick. |
|
From: R. O. R. <ow...@ex...> - 2002-05-07 18:05:18
|
The upcoming version of COMUnit (COMUnit 1.2) has support for command-line execution. Of course, as the test runner is implemented in VB, it is not a true command-line interface; but it will accept command-line parameters and will suppress the UI from popping up. To operate with command-line interaction, COMUnit 1.2 provides support for logging test runs. Anyone interested in beta-testing, please let me know and I will send you a copy. Unfortunately, the progress to date has been slow... I'm happy to include new developers. cheers, owen. -----Original Message----- From: com...@li... [mailto:com...@li...]On Behalf Of Chris Kunicki Sent: May 6, 2002 9:12 AM To: com...@li... Subject: [Comunit-users] UnitRunner from command-line Has anyone implemented a command-line interface? I basically would like to run my test and have them dumped to a file or console. Chris |
|
From: Chris K. <ch...@ku...> - 2002-05-06 16:14:20
|
Has anyone implemented a command-line interface? I basically would like to run my test and have them dumped to a file or console. Chris |
|
From: <Jam...@ox...> - 2002-04-18 10:16:52
|
Hi,
I'm still fairly new to this, but:
1) In this situation, I think that you should be testing for the desired
effects of the procedure. e.g. If the procedure is
AddThingToDatabase(thing), you should call it with a particular 'thing', and
then test that it got added to the database correctly. Tests should be made
with various (pathological?) cases of 'thing' so that you know that the
error handling is OK, as well.
2) Can you put an error handler in the Test case so that the test passes if
the correct error comes to the error handler, but fails if no error or the
wrong error is thrown.
e.g.
Public Sub TestDatabaseManagerErrors(oTestResult As TestResult)
Dim dic as New Dictionary
OnError Go To handler:
Dim DB as New DatabaseManager
' Expect Error
DB.Init dic
oTestResult.AddFailure "DatabaseManager.Init with empty dictionary did
not throw an Error"
Exit Sub
handler:
oTestResult.AssertEqualsLong dbErrInvalidDictionary, Err.Number, _
"DatabaseManager.Init with empty dictionary threw an
incorrect Error"
End Sub
Oh! I just read your email properly, and you say you can't test for the
error there. Obviously this would kill my suggestion, but why is this? As
long as you are expecting a particular error, you can test for it, can't
you? If you aren't expecting it, then don't have the error handler. There's
always the possibility of having multiple error handlers, one installed for
each section of the procedure, almost like a 'proper' try/catch system :-).
If anyone wants to correct me on any of this, please do. I've really only
just started using this COMUnit stuff, but I like to at least try and help.
James Chaldecott
Software Engineer
Oxford Instruments Analytical
-----Original Message-----
From: Mercadence [mailto:raj...@me...]
Sent: 18 April 2002 07:16
To: com...@li...
Subject: [Comunit-users] Test Cases using COMUnit
Hi Guys,
I have following questions:
1. How to write COMUnit test cases for procedures without return values ?
Since the test
case's assert method is based on return values.
Currently I am considering such test case to be successful if no error is
raised in the
procedure.
2.In some cases, custom errors are raised inside the procedure so that the
error is escalated to the client application.
For example,if the Dictionary object that is passed to DatabaseManager
Object doesn't contain all the keys required to open a connection, error is
raised rather than trying to open the DB connection with insuffecient
parameters.
In a test case to test whether the correct error is raised in the procedure,
(situations like above) test case reports it as an error though we are
expecting an error there.
We should not handle those errors in the test case since other errors with
same error number will go unnoticed.How to handle this situation ?
You help will be highly appreciated.
Thanks,
Rajesh.
_______________________________________________
Comunit-users mailing list
Com...@li...
https://lists.sourceforge.net/lists/listinfo/comunit-users
+++ Virus-scanned by Messagelabs for Oxford Instruments +++
### OXFORD INSTRUMENTS http://www.oxford-instruments.com/ ###
Unless stated above to be non-confidential, this E-mail and any
attachments are private and confidential and are for the addressee
only and may not be used, copied or disclosed save to the addressee.
If you have received this E-mail in error please notify us upon receipt
and delete it from your records. Internet communications are not secure
and Oxford Instruments is not responsible for their abuse by third
parties nor for any alteration or corruption in transmission.
|
|
From: Mercadence <raj...@me...> - 2002-04-17 17:41:54
|
Hi Guys, I have following questions: 1. How to write COMUnit test cases for procedures without return values ? Since the test case's assert method is based on return values. Currently I am considering such test case to be successful if no error is raised in the procedure. 2.In some cases, custom errors are raised inside the procedure so that the error is escalated to the client application. For example,if the Dictionary object that is passed to DatabaseManager Object doesn't contain all the keys required to open a connection, error is raised rather than trying to open the DB connection with insuffecient parameters. In a test case to test whether the correct error is raised in the procedure, (situations like above) test case reports it as an error though we are expecting an error there. We should not handle those errors in the test case since other errors with same error number will go unnoticed.How to handle this situation ? You help will be highly appreciated. Thanks, Rajesh. |
|
From: <Jam...@ox...> - 2002-04-09 17:12:00
|
You could have a look at: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jabber-net/jabber.net/tes= t/ These are the unit tests for Jabber.Net (a Jabber server for the .NET platform). The source is in C#, and the unit tests are using NUnit = rather than COMUnit as a framework, but you should be able to see the = similarities (both are derived from JUnit). They've certainly been writing quite a = lot of tests. I've only just started using this sort of thing, but it looks useful. James Chaldecott =20 -----Original Message----- From: gar...@an... Subject: newbie: never used unit testing framework need examples Hi, Has anyone got any example projects with example test cases/suites created. I've never used any unit testing framework before and want to see how to do it properly i.e. from a good example. =20 cheers =20 Gar =20 =20 =20 Gar Mac Cr=EDosta =20 =20 Software Developer =20 =20 Anglo Irish Bank (IFSC) =20 ph: +353 1 6162347 ext: 2347 =20 email: gar...@an... =20 ### OXFORD INSTRUMENTS http://www.oxford-instruments.com/ ###=20 Unless stated above to be non-confidential, this E-mail and any=20 attachments are private and confidential and are for the addressee=20 only and may not be used, copied or disclosed save to the addressee. If you have received this E-mail in error please notify us upon receipt = and delete it from your records. Internet communications are not secure = and Oxford Instruments is not responsible for their abuse by third=20 parties nor for any alteration or corruption in transmission.=20 |
|
From: R. O. R. <ow...@ex...> - 2002-03-06 21:27:47
|
Hi Marc, the error that you are receiving is probably due to the installation of COMUnit templates. the installation attempts to copy the template files into the VB templates folder which is read from the registry (HKEY_CURRENT_USER\Software\Microsoft\Visual Basic\6.0\TemplatesDirectory). if you are missing this registry key (maybe the french version of windows uses a different registry structure), then the installation may fail. this is not a big deal as you don't really require the templates -- they just make it faster and easier to set up a new test project. you can always manually copy the template files (located in the templates folder) into the directory containing your VB templates, or you can download the COMUnit installation from here: http://sourceforge.net/project/showfiles.php?group_id=26984 and debug it at your leisure. if you come up with a good fix, please let me know and i will try and integrate it. one of these days i will actually get around to building a proper installshield installation. hope this helps, cheers, owen. > -----Original Message----- > From: com...@li... > [mailto:com...@li...]On Behalf Of COLLIN > Marc > Sent: March 6, 2002 6:56 AM > To: 'com...@li...' > Subject: [Comunit-users] Installation Problem > > > Hello, > I've just download COMUnit from SourceForge. I would like to install It > But It Fails !!!! > > As it seems to me to be THE product I need I would like to know what the > Install program does? > > Error N° 76 : 'Chemin d'accès introuvable' (Sorry I'm French) Translation > "Incorrect Path" > > Thanks > > > --------------------------------------------- > Marc Collin > > CRIL TECHNOLOGY > Espace Nobel - Rue Antoine Becquerel - CS 80804 > 35708 RENNES cedex 7 > Tél : 02.23.21.11.11 - Fax : 02.23.21.11.00 > http://www.criltechnology.com > --------------------------------------------- > > > _______________________________________________ > Comunit-users mailing list > Com...@li... > https://lists.sourceforge.net/lists/listinfo/comunit-users > |
|
From: COLLIN M. <mar...@cr...> - 2002-03-06 15:00:21
|
Hello, I've just download COMUnit from SourceForge. I would like to install It = But It Fails !!!! As it seems to me to be THE product I need I would like to know what = the Install program does? Error N=B0 76 : 'Chemin d'acc=E8s introuvable' (Sorry I'm French) = Translation "Incorrect Path" Thanks --------------------------------------------- Marc Collin CRIL TECHNOLOGY Espace Nobel - Rue Antoine Becquerel - CS 80804 35708 RENNES cedex 7 T=E9l : 02.23.21.11.11 - Fax : 02.23.21.11.00 http://www.criltechnology.com --------------------------------------------- |
|
From: Gar M. C. <Gar...@AN...> - 2002-02-28 13:12:03
|
Hi, Has anyone got any example projects with example test cases/suites created. I've never used any unit testing framework before and want to see how to do it properly i.e. from a good example. cheers Gar =20 Gar Mac Cr=EDosta<?xml:namespace prefix =3D o ns =3D "urn:schemas-microsoft-com:office:office" /> Software Developer Anglo Irish Bank (IFSC) ph: +353 1 6162347 ext: 2347 email: gar...@an... =20 ********************************************************************** Private, Confidential and Privileged. This e-mail and any files and=20 attachments transmitted with it are confidential and/or privileged. They are intended solely for the use of the intended recipient. The=20 content of this e-mail and any file or attachment transmitted with it may have been changed or altered without the consent of the author. If you are not the intended recipient, please note that any review,=20 dissemination, disclosure, alteration, printing, circulation or=20 transmission of this e-mail and/or any file or attachment transmitted with it, is prohibited and may be unlawful. If you have received this=20 e-mail or any file or attachment transmitted with it in error please notify Anglo Irish Bank Corporation Plc, Stephen Court, 18/21 St=20 Stephen`s Green, Dublin 2, Ireland, telephone no: +353-1-6162000. ********************************************************************** |