bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] GSoC 2013 project on rewriting Test Suite in Python.


From: magnus v
Subject: Re: [Bug-wget] GSoC 2013 project on rewriting Test Suite in Python.
Date: Sat, 29 Jun 2013 22:12:06 +0100

Hello, sorry to randomly but in.

On Sat, Jun 29, 2013 at 9:59 PM, Darshit Shah <address@hidden> wrote:
>> An option would be to support XML (e.g. Test-xyz.xml) and a simple
>> key/value
>> text file (e.g. Test-xyz.txt). Both, XML and TXT have their pros and cons.
>> So I
>> won't say, one is better than the other... but it gives contributors a
>> choice.
>>
>> Not a bad idea. Though I would be wary of having two different formats in
> which tests are written. Fragmentation isn't always a good choice.
> I would prefer to stick to one option. If there are others who too would
> prefer a TXT config file, I will switch to that.
>

Is there any reason why the test definitions couldn't be written in
plain Python?
The TXT format Tim suggested is prety much valid Python syntax
already. You might need to an import at the top, like "from defaults
import *".

--
Magnus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]