Skip to content

extreal-dev/Extreal.Integration.Messaging.Socket.IO

Repository files navigation

Extreal.Integration.Messaging.Socket.IO

How to test

  • Enter the following command in the WebScripts~ directory.

    yarn
    yarn dev
  • Import the sample MVS from Package Manager.

  • Enter the following command in the MVS/WebScripts~ directory.

    yarn
    yarn dev

    The JavaScript code will be built and output to /Assets/WebTemplates/Dev.

  • Open Build Settings and change the platform to WebGL.

  • Select Dev from Player Settings > Resolution and Presentation > WebGL Template.

  • Add all scenes in MVS to Scenes In Build.

  • Start a Messaging Server by running the command below in MessagingServer~ directory.

    • docker compose up -d
  • Play

    • Native
      • Open multiple Unity editors using ParrelSync.
      • Run
        • Scene: MVS/App/App
    • WebGL
      • See README to run WebGL application in local environment.

Test cases for manual testing

Functional Test

  • Group selection screen
    • Ability to join a group by specifying a name with host role selected (join group)
    • Ability to list groups with client role selected (list groups)
    • Ability to return to title screen (dispose messaging client)
  • VirtualSpace
    • Clients can join the group (client joins)
    • Clients can leave the group (client leaves)
    • Ability to send text by both SEND1 and SEND2 button (send text chat from different 2 messaging clients)
    • Ability to see received text (receive text chat)
    • Ability to return to group selection screen with client role selected (leave group)

Failure Test

  • Join as a fifth client by starting a third sample application (joining approval rejected )
  • join and then shut down the messaging server (unexpected leave)
  • Join after shutting down the messaging server (connection exception)

About

Messaging using Redis

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Packages

No packages published

Contributors 5