Standard and functional tests 

After you have finished your library, you need to run some tests. 

Standard tests

Compile test

  • Run a compile test with all PLCnext Engineer versions for which the library is released. For this test, all functions and function blocks must be instantiated in a test project.

As a result, there must be no warnings and no errors. 

Extended identifiers

  • Run a compile test with activated and deactivated extended identifiers. For this test, all functions and function blocks must be instantiated in a test project.
    To activate or deactivate extended identifiers go to Extras\Options\Compiler\IEC Compiler Settings

As a result, there must be no warnings and no errors. 

Functional test

  • Run a function test of all specified functions. You must test all the functions listed in the description and documentation. 

    The test must also contain at least the following elements:

    • Invalid input values and the corresponding diagnostic message.
    • Different task cycle times (IDLE, 20 ms, 500 ms).
    • For communication using handshakes, different bus speeds must be tested.

As a result, the function has to be as specified. There must be no warnings and no errors.

 

 

→ Next step: Publishing a Library 

 

Or go back to Overview.

 

 


•  Web browser recommendation: Chrome, Firefox 78 or newer, Edge 88 or newer, or Safari • 
• Published/reviewed: 2022-12-16 • Revision 11 •