CANopenNode / CANopenEditor

CANopen Object Dictionary Editor
GNU General Public License v3.0
115 stars 57 forks source link

unittests: exporters of string #90

Closed nimrof closed 3 months ago

nimrof commented 3 months ago

More unittests of the exporters, focusing on string in variable and record The 4v code its little cumbersome, but i dont know any better way to it without exposing internal stuff.

CANopenNode commented 3 months ago

v4 exporter is mine, it was my first c# programming. For the next time I may need some hints ;)

nimrof commented 3 months ago

v4 exporter is mine, it was my first c# programming. For the next time I may need some hints ;)

Nothing that wrong with the code 😉, but the IExporter does not expose much and that make sense. It would just be so much easier to test something that returned less data, but i do not think there is a way when we do black-box testing