eth2.0-pm/interop/hobbits/conformance-tests.md

23 lines
709 B
Markdown
Raw Normal View History

Create intiial interop procedure (#48) * Create hobbits-client_interop_proceedure.md * Update hobbits-client_interop_proceedure.md * Update hobbits-client_interop_proceedure.md adding link to hobbits conformance tests * Create hobbits-conformance-tests * Add files via upload * Update hobbits-conformance-tests * Update hobbits-conformance-tests * Create hobbits-interop_procedure.md * Update and rename hobbits-conformance-tests to hobbits-conformance-tests.md * Delete hobbits-client_interop_proceedure.md * Add files via upload * Create hobbits-integration-tests.md * Update hobbits-interop_procedure.md * Update hobbits-integration-tests.md * Delete hit.png * Add files via upload * Delete hit.png * Add files via upload * Update hobbits-integration-tests.md * Update interop/hobbits-integration-tests.md Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com> * Update interop/hobbits-interop_procedure.md Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com> * Update interop/hobbits-interop_procedure.md Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com> * Update interop/hobbits-interop_procedure.md Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com> * Update interop/hobbits-integration-tests.md Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com> * Update interop/hobbits-interop_procedure.md Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com> * Create README.md * changed dir structure per hww comments * Update interop/hobbits/README.md Co-Authored-By: Danny Ryan <dannyjryan@gmail.com> * Update interop/hobbits/README.md Co-Authored-By: Danny Ryan <dannyjryan@gmail.com> * Update interop/hobbits/README.md Co-Authored-By: Danny Ryan <dannyjryan@gmail.com> * Update interop/hobbits/README.md Co-Authored-By: Danny Ryan <dannyjryan@gmail.com> * Update interop/hobbits/README.md Co-Authored-By: Danny Ryan <dannyjryan@gmail.com> * Update interop/hobbits/integration-tests.md Co-Authored-By: Danny Ryan <dannyjryan@gmail.com> * Update README.md * Update integration-tests.md
2019-06-17 20:08:07 +00:00
# Conformance testing procedure
![hct](hct.png)
### Test 1: Ping/Pong
1) conformance app sends a ping with a random payload of bytes
2) sample app receives the ping and returns the payload in the pong
3) conformance app tests the payload sent vs the payload received.
match -> success
mismatch -> fail
### Test 2: Port Test
1) conformance app dials the sample app's tcp port
open -> success
closed -> fail
### Test 3: Send/Rcv Msg
1) conformance app sends a message to sample app
2) sample app receives message and returns payload in a reply message
3) conformance app tests the payload sent vs the payload received.
match -> success
mismatch -> fail