matcatc / Test_Parser

parses and displays the output from test logs
http://matcatc.github.com/Test_Parser
GNU General Public License v3.0
1 stars 0 forks source link

GUI colors #44

Closed matcatc closed 14 years ago

matcatc commented 14 years ago

Consider using a more dynamic / less hard-coded way of using colors in GUI.

We could use a dictionary. Not sure what the key would be. Maybe item type (suite, test, message, error, etc.) Maybe item "level" or status, where level indicates things like importance and failure/success. Would want to have some sort of default color for if the key isn't in the dictionary.

This will be particularly useful if we change TestResults to use something more generic, like CompositePattern (34)

matcatc commented 14 years ago

If we end up putting colors in abstract factory, we're going to want to keep a set of "default" presets.

matcatc commented 14 years ago

With the new Composite setup, the item type (infotype) makes the most sense as the key. When the key isn't present (and an exception is raised,) should we just use white?

matcatc commented 14 years ago

added dynamic/generic coloring

closed by a69ce123303c77839b33c56208a90c8934fb9eb1