[ 
https://issues.apache.org/jira/browse/PLC4X-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christofer Dutz updated PLC4X-3:
--------------------------------
    Fix Version/s: 0.7.0

> 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
>             Fix For: 0.7.0
>
>
> 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)

Reply via email to