Archived

This forum has been archived. Please start a new discussion on GitHub.

Unit testing ICE components using doctests

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

  • benoit
    benoit Rennes, France
    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.