rdmenezes / synecdoche

Automatically exported from code.google.com/p/synecdoche
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Write unit tests for cc_config.xml parsing #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As a first step in the discussed configuration file modifications, I
wanted to try using the new XML parser to parse the *current* format, with
no behavior changes. But first I'd like to write unit tests for the
current CONFIG::parse code, to make sure I don't break anything later.

To write unit tests for the current code, I'd probably need to refactor it
a bit to be testable. There is at least one instance where it's modifying
global data (proxy configuration).

Original issue reported on code.google.com by nicolas....@gmail.com on 20 Jan 2010 at 6:32