Closed Nomeasmo closed 11 years ago
Sorry expected to have coverage in acceptance tests.
Coverage is checked only for unit tests, which is fine.
Hi
Coverage checks are also for acceptance tests. What isn't working?
If I comment out "describe("Template.leaderboard [click input.inc] event", .." in the leadership example, the coverage fails although the acceptance test calls this function. On the other hand if the acceptance test for "it("increment the player points by five", ..." is commented out, coverage does not comply.
Tried using Node 10.0.5 and current .18
Thank you, I'll investigate and report back
If starting grunt --debug I do have the following error:
Running "bgShell:instrumentCode" (bgShell) task
[D] Task source: /Users/xxx/test/rtd/node_modules/grunt-bg-shell/tasks/bg-shell.coffee
=> Errors prevented startup:
While building the application:
error: no such package: 'istanbul-middleware-port'
error: no such package: 'meteor-fixture'
=> Your application has errors. Waiting for file change.
=> Modified -- restarting.
. Processed [4] files in 0 secs
This is has been fixed as here: https://github.com/xolvio/rtd/issues/82
I added a reset button to the leadership test and it passes the acceptance test but the coverage report shows an error.