tcunit / TcUnit

An unit testing framework for Beckhoff's TwinCAT 3
Other
271 stars 74 forks source link

Duplicate messages presented in error list #125

Closed OGKamu closed 3 years ago

OGKamu commented 3 years ago

Found something which is a minor annoyance but also due to the way that I am handling my project structure.

When running the top-level TcUnit.RUN, any additional loaded projects at the solution level will result in duplicated messages.

image

The way I generated this response set was:

  1. Clone down 'SimpleTcUnitExampleProject'
  2. Add additional project to solution ( Solution > Add > New Project)
    • Doesn't seem to care which type, I've tried with a PLC or Twincat Project
  3. Run TcUnit Project.

I can probably adjust my structure to resolve this, but its just a bit odd. Especially given that filtering the error list to the current project hides the output from TcUnit.

sagatowski commented 3 years ago

This issue is a duplicate of https://github.com/tcunit/TcUnit/issues/92. Unfortunately this is a design issue with TwinCAT (you get the same behaviour with standard ADSLOGSTR-messages) and not TcUnit, so there is nothing that can be done with this.