deepstreamNet
deepstreamNet copied to clipboard
Implement Specflow Tests
see Specflow branch for skeleton
Hi @schulz3000 , did you give a thought on if you want the server to be a mock or create real server like they did in the JavaScript client? I don’t fully agree that its best to use specflow here but I guess you want to use it just because they use it in the JavaScript client.
Hi @kojanabzah, you are right, I added this topic because we discussed it in the dotNet Client issue at the deepstream.io repo. Because I never worked before with Specflow I'm also not really sure if it will fit the needs here.
As I can see the serverside should be mocked. To implement a real test server in dotNet will be like porting the deepstream.io node server. In my eyes this is way to much.
If you want to create other kinds of test for the client you are welcome to do so.
I can say from experience sprecflow is a great approach and really speeds up writing tests and forces some structure on your test code. I have even seen it where business analysts/testers end up maintaining teh specflows once a developer has created the plumbing. With deepstream client specifically it is a smart way to apply a standard set of tests across various platforms.