Hi
Does anybody know how to mock UniSession via .NET? or is there a
interface for UniSession like IUniSession so it could be easily
mockable?
Your Help is very much appreciated
Thanks
Ravi
___
U2-Users mailing list
From: Ravindranath
Does anybody know how to mock UniSession via .NET? or is there a
interface for UniSession like IUniSession so it could be easily
mockable?
If you don't get an answer here that you can use, look into JustMock
from Telerik. I haven't used it against UniSession yet (I
would it be better to construct a higher level wrapper for your business
functions and mock those? the UO libraries are quite low level: its a bit like
mocking ado.net rather than your db calls.
I expose all the business logic through server side subroutines, all using
standardized calling
Thanks for the reply. I am trying to do higher level wrappers to hide
those UniObject stuff but the problem is in order to to get UniDynArray
it has to have UniSession. UniObjects allow me to send UniDynArray to
subroutine. Would you happen to have a sample code where you do
something like that.
Brian Leach
would it be better to construct a higher level wrapper for your
business
functions and mock those? the UO libraries are quite low level: its
a bit
like mocking ado.net rather than your db calls.
From: Ravindranath
Thanks for the reply. I am trying to do higher level wrappers to
G-Man:
Despite the latest craze around unit testing and the entire industry
that it's spawned, I still find applications I use to be as crappy as
they've always been, so I'm not as enamored with unit tests or mocking
as many others.
...maybe even more so! :-)
You'd think developers these
Well consider the situation where the programmer doesn't actually have their
own instance of UniObjects at all, and is only trying to test some external
unit.
-Original Message-
From: Bill Haskett wphask...@advantos.net
To: U2 Mail List U2-users@listserver.u2ug.org
Sent: Mon, Aug
I am not the one with the details but can put you in touch with the one who
does. I can say that no MV experience is required. The database is UniVerse
with OHM software. The company will train. Good beginning salary for
interested candidate.
We could certainly use new blood in our niche.
--