test-fullautomation / robotframework-testsuitesmanagement

Apache License 2.0
4 stars 2 forks source link

Access to class variables in CConfig() #263

Closed HolQue closed 3 months ago

HolQue commented 7 months ago

The class CConfig() defines variables as class variables (not instance variables).

Some of them are accessed with self instead of the class name, e.g.: self.bConfigLoaded, self.sConfigName, self.sProjectName ...

Is there a certain reason to do it in this way? Usually recommend is to use the class name for class variables: CConfig.bConfigLoaded.

namsonx commented 4 months ago

Hello Holger,

I move the class variables into the constructor method __init__() of CConfig() class via commit e1e0c206e8ca.

Thank you, Son

namsonx commented 3 months ago

Ready for sprint 0.13.0 [09.08.24](jsonpreprocessor / tsm)