Re: Tests
Urs Holzer <[email protected]>
| Newsgroups | gmane.comp.web.polipo.user |
|---|---|
| Message-ID | <[email protected]> |
Fabian Keil wrote: > Urs Holzer <[email protected]> wrote: >> Advantages over Curl's test suite: >> - The data sent by Polipo to the server and to the client are both >> tracked. > > Adding this to curl's test suite seems trivial compared to > writing an entirely new test suite. > >> - The behaviour of the client and the server can be controlled >> tightly, for example sending a request in steps instead of all at >> once is possible. > > Same here. > >> - Polipo's configuration can be customized for each test case. > > I believe that's already possible (but haven't actually tested it). > >> Disadvantage: >> - There are no test cases. Adapting Curl's test cases should be >> possible but is not trivial. > > I agree with David that this is a rather significant limitation. You are right. Wait, does this mean you just invalidated all advantages? Damn ;-) > If you are going to work on a new test suite, in my opinion it would > make sense to concentrate on tests that aren't already covered by > curl's test suite anyway and can't be easily added. Indeed, I will mainly use my own test suit to test the caching related features I am going to implement. I prefer it because I fully understand what it does and because I quickly can implement a required feature. But of course, you and David are right, we should consentrate on Curl's test suite. I am looking forward to see your work. > As your test format seems to be rather similar to curl's test format > already, it would probably also make sense to aim for complete > compatibility so curl's tests work with your framework unmodified. Good point. I first considered writing a converter. Greetings Urs ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov