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

Generate test coverage for the CoffeeScript code #2

Merged
merged 1 commit into from
May 27, 2015

Conversation

arximboldi
Copy link
Owner

Before we generated coverage for the JavaScript generated, which is not
that useful. Now we generate coverage for the original Coffee sources.

First, we had to change our testing framework to Mocha + Chai + Sinon.
This is so because coffee-istanbul does not work with jasmine-node.

Also, to avoid generating coverage for the generated code, we had to change
the imports in the example scripts to include directly the Coffee sources.
While this makes them slightly less portable and less useful as an
example, this is probably alright.

Before we generated coverage for the JavaScript generated, which is not
that useful.  Now we generate coverage for the original Coffee sources.

First, we had to change our testing framework to Mocha + Chai + Sinon.
This is so because coffee-istanbul does not work with jasmine-node.

Also, to avoid generating coverage for the generated code, we had to change
the imports in the example scripts to include directly the Coffee sources.
While this makes them slightly less portable and less useful as an
example, this is probably alright.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.59%) to 93.93% when pulling 0061b05 on mocha-testing into a33371e on master.

arximboldi added a commit that referenced this pull request May 27, 2015
Generate test coverage for the CoffeeScript code
@arximboldi arximboldi merged commit d9bf735 into master May 27, 2015
@arximboldi arximboldi deleted the mocha-testing branch May 27, 2015 23:54
@coveralls
Copy link

Coverage Status

Coverage increased (+0.59%) to 93.93% when pulling c445abb on mocha-testing into a33371e on master.

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

Successfully merging this pull request may close these issues.

None yet

2 participants