Hello All,

I have couple of questions regarding .net remoting unit testing. (I am
using NUnit for unit testing, but that doesn't matter)

Scenario: Machine A has client (Web/Windows), Machine B has Remot
object running in  IIS or standalone.

1. Is that possible to write unit test for server components? I mean,
in our Unit Test project we can give reference to client assemblies
and directly write [Test] methods to call methods on client
assemblies. Is that possible to do with Server assemblies as well.

My goal is, i am sending some info in callcontext from client to
server and would like to test whether server received all details or
not?


2. Is that possible to initialize particular class in server based on
type of client (Web or windows). If web, i would like to initialize
class X on server and if it windows initialize class Y.

Thanks and your help greatly appreciated.

kumar

Reply via email to