Azure SignalR Service E2E Tests
Перейти к файлу
Chenyang Liu b566e508a2 Update folder structure and update tests 2018-09-07 14:39:38 +08:00
client Add timeout configuration 2018-09-07 14:38:21 +08:00
server Add test case for HttpContext (#4) 2018-08-31 10:56:24 +08:00
.dockerignore Add docker builder 2018-08-23 12:53:31 +08:00
.gitattributes Add docker builder 2018-08-23 12:53:31 +08:00
.gitignore Update folder structure and update tests 2018-08-22 17:51:25 +08:00
Dockerfile Update folder structure and update tests 2018-09-07 14:39:38 +08:00
LICENSE Initial commit 2018-08-01 02:15:35 -07:00
README.md Update readme 2018-08-27 10:08:26 +08:00
RuntimeBase.Dockerfile Add test.sh to test a single version of Service SDK (#1) 2018-08-30 16:25:52 +08:00
build-image.sh Add test.sh to test a single version of Service SDK (#1) 2018-08-30 16:25:52 +08:00
run.sh Add docker builder 2018-08-23 12:53:31 +08:00
test.sh Add test.sh to test a single version of Service SDK (#1) 2018-08-30 16:25:52 +08:00

README.md

Azure SignalR Test

The project to provide automation E2E test on SignalR sdk and service runtime.

How to build and run

First check the SDK version needed. Each SDKVerison will build a separate docker image and the tag is the sdk version.

# build-image.sh
declare -a SDKVersion=("1.0.0-preview1-10009" "1.0.0-preview1-10011")
./build-image.sh

Then you can run the test with Azure SignalR Service

docker run -e Azure__SignalR__ConnectionString="<your connection string>"  signalr-test:<sdk version>

Test Coverage

  • Connect / Echo / Broadcast / AllExcept
  • Group join / leave
  • Send Group / Groups / Group Except / OthersInGroup
  • Send User / Users
  • JWT Auth
  • Generic hub / 128 character length hub name support

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.