[
https://issues.apache.org/jira/browse/PLC4X-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christofer Dutz resolved PLC4X-3.
---------------------------------
Resolution: Fixed
I can't believe I can finally close such an old issue ;.)
> Implement a testing framework for protocols
> -------------------------------------------
>
> Key: PLC4X-3
> URL: https://issues.apache.org/jira/browse/PLC4X-3
> Project: Apache PLC4X
> Issue Type: Task
> Components: Testing
> Reporter: Christofer Dutz
> Assignee: Christofer Dutz
> Priority: Major
>
> Netty comes with an `EmbedeedChannel` that allows mocking a Socket connection:
> https://stackoverflow.com/questions/19312306/how-to-unit-test-netty-handler
> Unit Tests should work with EmbeddedChannel, but integration-tests require
> something more sophisticated. I was thinking of some sort of proxy that
> records what goes from and to a real PLC and to use this as replay if no PLC
> is available. Ideally these tests could be saved in WireSharks pcapng format
> in order to make it easier to analyse the content.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)