On Mon, Apr 14, 2008 at 03:59:02PM +0200, T. Decherf wrote: > Frederik Deweerdt a écrit : >> I've got a few questions/remarks: >> >> - IMHO, this should be part of the dtest distribution >> - Would'nt YAML[1] be more flexible than XML? e.g. : > We headed to XML because the language is well known and well structured. > But YAML is a good choice also, we could use it as well. >> server_ip: [1.1.1.1] >> client_ip: [2.2.2.2, 3.3.3.3, 4.4.4.4] > Yes, interesting. >> >> tests: # Anything not being 'tests' is >> # passed to the tested object as-is ... >> - /home/test/test1: >> server_ip: [5.5.5.5] # ... unless it is overloaded >> - /home/test/test2: >> - /home/test/test3: >> this would lessen the tests's burden of parameter parsing. We could in >> particular avoid: >> <parameter name="client_ip1" value="2.2.2.2"/> >> <parameter name="client_ip2" value="2.2.2.2"/> > Overloading would probably be convenient but wouldn't it be clearer > to keep it simple. What kind of need would you have in doing this? > this kind of thing: dns_request: [www.yahoo.com] tests: - /home/test/test_1_dns_request: - /home/test/test_2_dns_request: - /home/test/test_3_dns_request: - /home/test/test_4_dns_request: # We know that this one has to fail - /home/test/test_1_dns_request: server_ip: [www.this-is-a-non-existant-domain.com]
Regards, Frederik _______________________________________________ Tsp-devel mailing list Tsp-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tsp-devel