|
1
|
General Category / Fitnesse Discussion / Exception cannot find fixture class AddFixture in loaded BPLs
|
on: December 10, 2007, 05:02:10 AM
|
|
Started by Perspicacity | Last post by Perspicacity
|
I'm working through the example given and I cannot get it to work. I have followed the instructions accurately. This is when I get in the log file:
***** BEGIN RUN **** Set up client localhost:8080 Connecting client Requested document: GET /?responder=socketCatcher&ticket=1 HTTP/1.1 Received status: 0 Reading 575 bytes for document Recieved document Processing document Found assembly "c:\fitnesse\delphi\addfixture1.bpl" Found assembly "c:\fitnesse\delphi\examplefixture1.bpl" Found assembly "c:\fitnesse\delphi\fitlib.bpl" Writing table response (699 bytes) Writing counts r(0) w(0) i(0) e(1) Reading 0 bytes for document No data to read ***** END RUN ****
This is the page I've put into the wiki:
!path c:/fitnesse/delphi/*.bpl !define COMMAND_PATTERN {c:/fitnesse/delphi/DelphiFIT.exe -v %p}
!|AddFixture| | firstValue | secondValue | resultant() | | 1 | 2 | 3 | | 2 | 2 | 5 | | 3000 | 2 | 3002 | | 200 | 2 | 203 | | 10 | 2 | 12 |
When I click on test it gives me:
Exception cannot find fixture class AddFixture in loaded BPLs
Any ideas? I'm using Delphi/BDS 2006
|
|
|
2
|
General Category / Fitnesse Discussion / Re: Fitnesse for Delphi 2006 / Delphi 2007
|
on: September 05, 2007, 07:24:44 AM
|
|
Started by CharlesF | Last post by ChuckCT
|
Charles:
I would be happy to send you the source code for the Delphi Fit Server/Fit Library that we are using. However, I would rather not post it on the message boards (since I don't want to have the version that I'm using conflicting w/the version posted by the site author). Could you send me an email and I'll reply to you w/the source code?
|
|
|
5
|
General Category / Fitnesse Discussion / Re: Delphi - dUnit and Fitnesse testing - adding a Common Interface
|
on: September 02, 2007, 01:39:25 AM
|
|
Started by CharlesF | Last post by CharlesF
|
Hi
I have a few different Ideas on how to make this work
===============================================================
IDEA 1 - Socket based
The fitnesse fixture gets liked to dunit by a socket
FITNESSE 1. Fitnesse runs and calls the fixture 2. The fixture then sends a request to dunit via the sockect
DUNIT 3. Dunit receives the request 4. Dunit finds the test 5. Dunit runs the test 6. Dunit sends the result back to Fitnesse
FITNESSE 7. Fitnesse receives the response 8. Fitnesse displays the result
====================================================================================
IDEA 2 – File based – the quick and dirty approach
This a three phase approach Phase 1 ====== Run Fitnesse 1. Fixture writes all requests to a file 2. Fitnesse will fail all of the tests as the results are not known at this stage Phase 2 ====== Run dUnit 3. dUint runs its tests based data in the file 4. dUint writes it’s results back into the file Phase 3 ====== Run Fitnesse 5. as the tests run the fixture finds the appropriate result in the file and returns it to Fitnesse
====================================================================================
Both of these ideas have problems - But idea 2 is easy to implement
Charles
|
|
|
9
|
General Category / Unit Testing / Re: Problems with Dunit and a Romote Data Module in Delphi 2006
|
on: August 28, 2007, 02:42:09 PM
|
|
Started by CharlesF | Last post by CharlesF
|
I now have a solution to DUnit testing of a RDM
==> The main problem is BDS2006 does not create a Type Libary for then RDM in the test project
If the initialization part of the code is gets removed - one can convert the RDM into a data module and then do tests on it.
i.e.
{$IFNDEF TESTMODE} initialization TComponentFactory.Create(ComServer, TBetProcessRDM, Class_BetProcessRDM, ciMultiInstance, tmApartment); {$ENDIF}
Charles
|
|
Return to the board index.
|