11-15-2021, 12:06 AM
I'm working on a new update which will resolve this issue. Seems that the installer is not copying the file to the correct location.
I'll keep you posted.
Cheers,
I'll keep you posted.
Cheers,
Intraweb DUnit Testing
|
11-15-2021, 12:06 AM
I'm working on a new update which will resolve this issue. Seems that the installer is not copying the file to the correct location.
I'll keep you posted. Cheers,
11-15-2021, 08:52 AM
Hi Bob,
Please update to this version: https://www.atozed.com/2021/11/intraweb-15-2-44/ I believe all issues have been fixed. I manually tested the installation and file IWTestFramework.res is being correctly installed. Also the wizard is creating a correct project file (and unit test files) as well. Please let me know how it goes. Cheers,
11-19-2021, 10:21 AM
Thanks very much for your support. All issues have been fixed, the generate DUnit Test project compiles and runs without AV. The only thing about the generated code is that you cannot call Free (of the Session) in the Test method, but must delay that until the TearDown method:
type TIWTestCase1 = class(TTestCase) private Session: TIWTestApplication; ... procedure TIWTestCase1.SetUp; begin // Setup Session := NewSession(); end; procedure TIWTestCase1.TearDown; begin // Clean up Session.Free; end; procedure TIWTestCase1.Test; begin with Session.MainForm as TIWForm1 do begin // your testcode here... end; end; |
« Next Oldest | Next Newest »
|