8000 [Task] Add unit test cases for VoiceService · Issue #164 · react-chatbotify/react-chatbotify · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Task] Add unit test cases for VoiceService #164

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

Open
tjtanjin opened this issue Oct 8, 2024 · 6 comments · May be fixed by #279
Open

[Task] Add unit test cases for VoiceService #164

tjtanjin opened this issue Oct 8, 2024 · 6 comments · May be fixed by #279
Assignees
Labels

Comments

@tjtanjin
Copy link
Member
tjtanjin commented Oct 8, 2024

Task Description:
Currently, we run unit tests using jest which can be found here.

However, the test cases are not yet comprehensive enough and work can be done to cover more grounds. Specifically for this issue, we hope to add test cases for the VoiceService.

Deliverable(s):
New unit test cases that cover the testing of the VoiceService.

Additional Context:

  • The VoiceService can be found here
  • An example for AudioService can be found here which may serve as a good source for reference
@anjumnnit
Copy link
Contributor

Assign this too please @tjtanjin .

@tjtanjin
Copy link
Member Author

Assign this too please @tjtanjin .

Go for it!

@anjumnnit anjumnnit removed their assignment Oct 15, 2024
@anjumnnit
Copy link
Contributor

you can Assign it to other's who can finish it early.

@MadhurSaluja
Copy link
Contributor

@tjtanjin can I work on it?

@tjtanjin
Copy link
Member Author

@tjtanjin can I work on it?

Go for it!

This was referenced Nov 28, 2024
@olisaagbafor
Copy link

For this task, I will:

  • Locate the VoiceService file in the codebase.
  • Review the service’s methods and identify logic that needs testing.
  • Check for existing test coverage and spot gaps.
  • Use the AudioService test file as a reference for structure and patterns.
  • Write new Jest unit test cases for uncovered VoiceService methods.
  • Mock dependencies and external calls as needed.
  • Ensure tests cover edge cases, expected behavior, and error handling.
  • Run tests to confirm coverage and reliability.
  • Keep test code clean, descriptive, and maintainable.
  • Submit updated test file with clear commit message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
0