Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Hi, I am developing some Unit Test and if I use the property "LanguageModelAttribute = qualified-access-only" inside my test library then the test will fail.
It seems that the Unit test can not work with the namespace/prefix, is this behaviour correct?
Thanks in advance
Mark
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Mark_V3 hat geschrieben:
Hi, I am developing some Unit Test and if I use the property "LanguageModelAttribute = qualified-access-only" inside my test library then the test will fail.
It seems that the Unit test can not work with the namespace/prefix, is this behaviour correct?
Yes, that is the current behaviour. The problem was reported a few weeks ago. See TM-258. The fix will be available with the next release. Unit then you have to remove the property from the Project Information if you want to use unit tests from a library.
You also have to add the library to the list "Libraries to test" in the IEC Unit Test element of your test script.
BR
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I am developing some Unit Test and if I use the property "LanguageModelAttribute = qualified-access-only" inside my test library then the test will fail.
It seems that the Unit test can not work with the namespace/prefix, is this behaviour correct?
Thanks in advance
Mark
Hi.
Yes, that is the current behaviour. The problem was reported a few weeks ago. See TM-258. The fix will be available with the next release. Unit then you have to remove the property from the Project Information if you want to use unit tests from a library.
You also have to add the library to the list "Libraries to test" in the IEC Unit Test element of your test script.
BR
Martin