[Netstack] R:Re: CLI unit tests (and CLI improvement)

2011-08-11 Thread Salvatore Orlando
Inviato da Samsung Mobile Dan Wendlandt ha scritto: Replies in line. Apologies for typos, sending from my mobile. That's a clever idea Salvatore, I like it :) Salv: thanks:-) My only real concern would be that we chose a templating language that will be an easy dependency to fulfill on

Re: [Netstack] CLI unit tests (and CLI improvement)

2011-08-11 Thread Dan Wendlandt
That's a clever idea Salvatore, I like it :) My only real concern would be that we chose a templating language that will be an easy dependency to fulfill on most distros, as I am guessing the CLI to be packaged as part of the "client package", which will have to run on any system that talks to qua

Re: [Netstack] CLI unit tests (and CLI improvement)

2011-08-11 Thread Joseph Heck
Nothing at all against Cheetah, and the templating output definitely makes sense. I might suggest you take a look at Jinja as an alternative, only because it's templating format will (I believe) be more familiar - it's effectively the same (i.e. a mirror of function and format) template mechanis

[Netstack] CLI unit tests (and CLI improvement)

2011-08-11 Thread Salvatore Orlando
Hi, I'm writing the unit tests for CLI. Verifying successful completion of API operations implies checking the output of the CLI, which could be tedious, error-prone, and not easy to maintain. For this reason I'm thinking of introducing Cheetah templates for generating CLI output. This will sim