Feature Request: Use TcUnit without extending TcUnit.Fb_TestSuite #199
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
This is not a feature request. This would break the current API for TcUnit. Regarding the other question, I will transfer this to discussions. |
Beta Was this translation helpful? Give feedback.
-
Hi, here is a possible solution/workaround. You will need to inherit from
TcoCore.TcoContextNfCompatibility is a class that allows to use TcOpen components in a non TcOpen framewok application. You will also need to implement members of Where in all getters you will need to return values from the instance of
If you want to perform cyclic calls on you components you will need to place the call like this:
|
Beta Was this translation helpful? Give feedback.
-
Thanks @PTKu! You're (as always) the best. |
Beta Was this translation helpful? Give feedback.
Hi,
here is a possible solution/workaround.
You will need to inherit from
TcUnit.Fb_TestSuite
block and implementTcoCore.ITcoContext
interfaceTcoCore.TcoContextNfCompatibility is a class that allows to use TcOpen components in a non TcOpen framewok application.
You will also need to implement members of
TcoCore.ITcoContext
.Where in all getters you will need to return values from the instance of
_nfContext