Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easy approach to test FBs with delayed output #180

Open
Navid-Mashayekh opened this issue Feb 7, 2022 · 0 comments
Open

Easy approach to test FBs with delayed output #180

Navid-Mashayekh opened this issue Feb 7, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Navid-Mashayekh
Copy link

As you know in PLC world it is very common that we have function blocks which react to some inputs after some delay.
To be able to test these FBs usually we need to use another TON in the test suite, pass the reference of it to the test method and pend the assertions and finish to this timer. Most PLC programs are full of TONs and TOFs and doing this procedure for every test
is quite time consuming!
In this update ( PR: #179 ) a function called "AWAIT_ASSERTIONS( AwaitTime : TIME ) is added to be used before writing assertions in test methods.

@sagatowski sagatowski changed the title easy approach to test FBs with delayed output Easy approach to test FBs with delayed output Apr 18, 2022
@sagatowski sagatowski added the enhancement New feature or request label Nov 26, 2023
@sagatowski sagatowski added this to the Release 1.4.0.0 milestone Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants