Issues after adding unit test program to active software configuration

Hello,
when i try to implement new tests everything works fine, till i add the test into the software configuration.
I get a lot of errors after that and i dont have any clue why that is.
Regards
Victor

Hi,

Unsure about the “works fine” part: until you add something to the software configuration, it’s not compiled and thus “works fine” even if you write an essay instead of code.

Your errors /could/ be the result of a *.var file being placed before a *.typ file, since the var file is then looked at before the types are declared - and all the other errors are then a result of that.
It’s hard to tell only from the errors, maybe you can shrink the thing to a minimal example (remove all tasks you don’t need, reduce the test code to maybe a few lines only) and provide it? (zipped)

Best regards

1 Like

Hi @victor-swekis,

still waiting patiently for a reply - has the previous post maybe helped? Or is this still an issue and can you provide more details?

Best regards
Michael

Thanks for keeping up with the issue.
I have sent my file to the B&R Support team in Hannover and they are currently helping me to solve the issue.

Thank you very much for your help!