tcunit / TcUnit

An unit testing framework for Beckhoff's TwinCAT 3
Other
258 stars 72 forks source link

Feature Request: Use TcUnit without extending TcUnit.Fb_TestSuite #198

Closed RGrabichler closed 1 year ago

RGrabichler commented 1 year ago

image

I use the TcOpen Framework. Therefore i have the TcoContect, where my MainStation, a TcoObject runs. The FB i want to test derives from a TcoComponent. I created a Library for this RfidHead-Compoonent and now i want to test it. In TcUnit i have to create a FB which extends the TcUint.Fb_TestSuite, but i cannot inherit from two different Classes. So how can i solve this. image This would be the TestSuite with the TestMethods.

Thanks for Advices

sagatowski commented 1 year ago

This is not a feature request. This would break the current API for TcUnit. Regarding the other question, I will transfer this to discussions.