Hi.

We test a client server application (so one may call our tests as
integration tests rather than unit tests). Anyway, in the test
environment, the client is the unit test engine (Gallio, in this case)
and the server is our production server with unit test extensions (to
run test specific commands).

I would like to have the full name of the current test (including the
current parameters, just like Gallio defines it) to appear in the
server side log immediately after the particular test starts and
before it ends. I can invoke the relevant command from the [SetUp] and
[TearDown] methods of a fixture, but we have many fixtures and they do
not have a base class - there was no need for it. So, as I see it,
there are two obvious options:
 - Introduce a new base class just to deal with this logging issue and
then make all the [SetUp] and [TearDown] methods override the base
version, which will do the logging.
 - Duplicate the logging code in the [SetUp] and [TearDown] methods of
each fixture.

I dislike both options. Is there a better way?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/mbunituser?hl=en.

Reply via email to