#1 2013-06-21 09:01:01

DH
Member
Registered: 2013-06-20
Posts: 2

How do i use the mocking features of mormot in a dunit testproject

Hi all,

first of all i want to say that in my opinion you did a great job with the mormot framework. I am using Delphi 2009 and i was really excited about the features of the mormot fw. It does really lift delphi to a new level and is a great addition. Enough praise for now smile

I read the manual and did a bit of googling and stackoverflowing, but i could not find an answer to the questions i have. So:

- Where are the types TInterfaceMock, TInterfaceStub? In which of the units that ship with mormot.7z can i find them?
- If they are not in the mormot.7z, where are they?
- If they are part of an older release, where can i get these files? I tried my best reading faqs on the main website, but they seem not up to date and did not lead to success.

Cheers,

Dominik

Offline

#2 2013-06-21 14:08:06

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,270
Website

Re: How do i use the mocking features of mormot in a dunit testproject

Use the latest "unstable" version from http://synopse.info/fossil/wiki?name=Get+the+source
The ReadMe.txt is where to begin reading.
And associated 1.18 SAD pdf file.

You will find all the mocking/stubing classes in mORMot.pas.

The supplied 1.17 revision is quite old now.
We may official switch to 1.18 as "stable", those days.
It may be less confusing for new members like you.

Offline

#3 2013-06-24 10:59:57

DH
Member
Registered: 2013-06-20
Posts: 2

Re: How do i use the mocking features of mormot in a dunit testproject

Thank you very much!

Offline

Board footer

Powered by FluxBB