TcUnit | An unit testing framework for Beckhoff 's TwinCAT | Unit Testing library

 by   tcunit C# Version: 1.2.0.0 License: Non-SPDX

kandi X-RAY | TcUnit Summary

kandi X-RAY | TcUnit Summary

TcUnit is a C# library typically used in Testing, Unit Testing, Nodejs applications. TcUnit has no bugs, it has no vulnerabilities and it has low support. However TcUnit has a Non-SPDX License. You can download it from GitHub.

Welcome to the documentation TcUnit - an xUnit testing framework for Beckhoff's TwinCAT3. What is test driven development and unit testing? Familiarize yourself with the basic concepts and specifics for TcUnit. Want to know how to get started? Read the user guide. Want to see a more advanced programming example? Read the programming example. Want to download a precompiled version of the library? Go to the releases. Want to include TcUnit tests into a CI/CD pipeline? Check out the TcUnit-Runner project. Want to contribute to the project? That's fantastic! But please read the CONTRIBUTING first. Have any questions? Found a bug or want to discuss an idea? Check the F.A.Q. Check the open and closed issues. If your issue does not already exist, create a new. For general ideas/discussions, use the discussions.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              TcUnit has a low active ecosystem.
              It has 165 star(s) with 63 fork(s). There are 33 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 17 open issues and 122 have been closed. On average issues are closed in 97 days. There are 5 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of TcUnit is 1.2.0.0

            kandi-Quality Quality

              TcUnit has 0 bugs and 0 code smells.

            kandi-Security Security

              TcUnit has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              TcUnit code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              TcUnit has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              TcUnit releases are available to install and integrate.
              TcUnit saves you 2 person hours of effort in developing the same functionality from scratch.
              It has 8 lines of code, 0 functions and 33 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of TcUnit
            Get all kandi verified functions for this library.

            TcUnit Key Features

            No Key Features are available at this moment for TcUnit.

            TcUnit Examples and Code Snippets

            No Code Snippets are available at this moment for TcUnit.

            Community Discussions

            QUESTION

            Twincat Xml file read and write stopped working
            Asked 2021-Feb-19 at 10:44

            I made a custom function block which uses FB_XmlSrvRead and FB_XmlSrvWrite from the Tc2_TcXmlDataSrv library, to read and write an xml file. The functionality of the custom function blocks are tested with the TcUnit library. After moving the unit tests to a new project, only the tests which used the either a xml read or write failed, but other unit tests in the new project still worked.

            The xml function blocks reported the following error:

            Error code Name Description 1808 ADSERR_DEVICE_SYMBOLNOTFOUND Symbol not found.

            I tried to write different symbols, but each time it failed. I'm quite sure the symbols exist.

            ...

            ANSWER

            Answered 2021-Feb-19 at 10:44

            It turned out that I had added {attribute 'hide'} above the program which I used to execute the unit tests. Somehow this caused only the unit tests which needed to read or write an xml file to fail. Other unit tests were not affected.

            Source https://stackoverflow.com/questions/66276073

            QUESTION

            Linking Functional Block (FB) from development project to Testing Project -TwinCAT 3 - Beckhoff
            Asked 2020-Apr-18 at 10:44

            I have created a testing project to run unit tests using TCunit framework and wanted to link files from development project worked by another colleague.
            But there is only Add option when i right click on POU folder in solution explorer of TwinCAT.
            When i did so, a copy of a file is made in testing project POU folder. Now I have two copies of same file i.e. in POU folder in testing project and POU folder in development project.
            The problem i want is avoid is , if there are changes in the development project files i need to update POU folder in the testing project also manually.
            Is there any solution to avoid the duplication?

            ...

            ANSWER

            Answered 2020-Feb-10 at 13:43

            You could create a library from your development project and reference it in yout Unit Testing project.

            By right-clicking on the development project you can select "Save as Library". Once the library is generated you can install the library using the library manager and install the file.

            Finally in your unit test project you can add this library by right clicking on the References and choosing the library you just installed.

            Unfortunately this still requries to manually update your libray when there are changes but is a somewhat cleaner solution.

            Source https://stackoverflow.com/questions/60071536

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install TcUnit

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries