Unit testing ICE components using doctests

timptimp Member Tim PenheyOrganization: ACCUProject: Conference talk on Ice
I'm wanting to automate some tests on Ice components. I'm using python on both the client and server side.

I want to be able to start the server component, then start a client for that server, and call methods to assert that things are working as expected.

Do you have a standard way to do that with python?

Ideally I'd like to be able to use doctests.

Thanks,
Tim

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    You can check out our test suites to see how we run our tests (the tests are included in the Ice source distributions available on our download page). I don't see any reasons why you wouldn't be able to use doctests too.

    Cheers,
    Benoit.
Sign In or Register to comment.