Skip to content

Improve output of Coffeescript tests #233

Open
@hobovsky

Description

@hobovsky

Setup of Coffeescript suffers from a couple of problems:

  • Passed assertions spam green
  • Assertion messages emitted when assertEquals passes are awkward: Test Passed: Value == 1.
  • Docs mention it uses Codewars Tests Framework but it's not clear how. Coffeescript docs do not link to it (Javascript docs do tho). Reference of the Codewars Testing Framework appears to be missing some funcitonalities and/or details (tolerance of assertApproxEquals, range of randomNumber and randomToken).
  • It's not clear whether chai can be used. It's not listed as a supported library, but it can be used with require('chai'). But when used, feedback of passed assertions is incorrect:

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions