coder_gus 0 Newbie Poster

Hi,

I am in deep need of some good ideas about how could I test an application server written with twisted, testing it with twisted trial.

The way the application server works is by using a home-made XML protocol. A client logs in by sending an authorization request, it receives back a token that is passed back and forth for the rest of the communication.

Now, I know theoretically how to do unit-testing with trial, but due to lack of documentation, I can't seem to figure out where's the server involved here: does it run, accepting connections from the test? does the test runs a server each time for every test method?

Also, examples would be more than welcome.
Please feel free to ask questions.

Thanks!