Skip to content

Add unit tests for javascript code #71

Description

@hmshwt

Issue:
There are no unit tests for JS code and running the current tests requires the developer to manually check if all notifications are displayed or not.

Proposed Solution:

  • Write unit tests for JS code with ( mocha, chai)
  • Use the library BATS for testing the shell commands generated by growl.
  • We can also borrow ideas from tests in node-notifier library

I would like to open a pull request for this issue. Please suggest another testing framework or any other libraries that you think will be a better alternative than the choices listed above.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions