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

Cannot simulate some scenarios in unit tests #11

Open
pangiole opened this issue Aug 20, 2016 · 0 comments
Open

Cannot simulate some scenarios in unit tests #11

pangiole opened this issue Aug 20, 2016 · 0 comments
Labels

Comments

@pangiole
Copy link
Owner

pangiole commented Aug 20, 2016

router.ConnectionHandlerSpec

Test1

  • The default router.ConnectionHandler should complete publish/subscribe in optimal scenario BUT I haven't yet found a way to verify EVENT messages are correctly sent/received upon PUBLISH

Test2

  • The default router.ConnectionHandler should handle sessions in optimal scenario BUT I haven't yet found a way to programmatically make the router send GOODBYE

client.TranportSpec

Test3

  • The client.TransportSpec should fail open session when it turns out to have been disconnected from router side BUT I haven't yet found a way to programmatically disconnect from router side.

client.SessionSpec

Test4

  • A client session should close and reply GOODBYE upon receiving GOODBYE from router BUT I haven't yet found a way to programmatically make the router send GOODBYE
@pangiole pangiole changed the title Cannot simulate some scenarios in tests Cannot simulate some scenarios in unit tests Sep 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant