Repository navigation
Feature Request: Use TcUnit without extending TcUnit.Fb_TestSuite #199
Answered
by
PTKu
RGrabichler
asked this question in
Q&A
Answered by
PTKu
Dec 5, 2022
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. |
2 replies
|
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: |
2 replies
Answer selected by
sagatowski
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




Hi,
here is a possible solution/workaround.
You will need to inherit from
TcUnit.Fb_TestSuiteblock and implementTcoCore.ITcoContextinterfaceTcoCore.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