Writing Tests for real time applicaitons using SignalR

Ming
Ming
订阅者
273
文章
0
粉丝
测试交流评论106字数 150阅读0分30秒阅读模式
摘要I have a question about writing tests for SignalR. I'm developing a chat application right...

I have a question about writing tests for SignalR.
I'm developing a chat application right now using C# and AspNetCore and SignalR.
my frontend is written in flutter
and I just provide APIs to get called and SignalR Hub functions to get invoked and also invoking some functions on front-end side.

is there a recommending way to write tests rather than just mocking in unit tests?文章源自玩技e族-https://www.playezu.com/179293.html

for example is it a good idea to bring up all dependencies with docker and test if my ChatHub is working properly?
I'm asking this because all the time my frontend says that something on server side is not working properly and then I should test my release on stage server by bringing up a console app (using Microsoft.AspNetCore.SignalR.Client)
which acts as the client and test the stage server like that.文章源自玩技e族-https://www.playezu.com/179293.html

if you could help me I would really appreciate it.文章源自玩技e族-https://www.playezu.com/179293.html 文章源自玩技e族-https://www.playezu.com/179293.html

 
匿名

发表评论

匿名网友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
确定

拖动滑块以完成验证