deepstreamNet icon indicating copy to clipboard operation
deepstreamNet copied to clipboard

Implement Specflow Tests

Open schulz3000 opened this issue 8 years ago • 3 comments

see Specflow branch for skeleton

schulz3000 avatar Mar 18 '16 20:03 schulz3000

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.

kojanabzah avatar Apr 11 '16 07:04 kojanabzah

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.

schulz3000 avatar Apr 11 '16 19:04 schulz3000

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.

grendo avatar Mar 23 '17 19:03 grendo