Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Add basic tests #1

Open
4 of 12 tasks
christopher-kleine opened this issue Sep 12, 2023 · 0 comments
Open
4 of 12 tasks

test: Add basic tests #1

christopher-kleine opened this issue Sep 12, 2023 · 0 comments
Assignees
Labels
test Add or improve test

Comments

@christopher-kleine
Copy link
Owner

christopher-kleine commented Sep 12, 2023

Currently the library is manually tested by me in a project I'm working on.
The examples can also serve as tests.

But it's important to have automatic tests to check for errors continuously.
Those are lacking right now and should be added too.

  • Event.String()
  • Event.Write()
  • Event.JSONData()
  • Hub.Publish()
  • Hub.FilteredPublish()
  • Hub.ConnectionCount()
  • Hub.Sessions()
  • Hub.OnConnect
  • Hub.OnDisconnect
  • Session.Send()
  • Session.Set()
  • Session.Get()
@christopher-kleine christopher-kleine self-assigned this Sep 12, 2023
@christopher-kleine christopher-kleine added the test Add or improve test label Sep 12, 2023
christopher-kleine added a commit that referenced this issue Sep 12, 2023
christopher-kleine added a commit that referenced this issue Sep 12, 2023
christopher-kleine added a commit that referenced this issue Sep 12, 2023
christopher-kleine added a commit that referenced this issue Sep 12, 2023
Part of #1

It's a little crude for now. It also needs more than one receiver.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Add or improve test
Projects
None yet
Development

No branches or pull requests

1 participant