Skip to content

Conversation

@evanweible-wf
Copy link
Contributor

Issue

#9 New Task: Code Coverage

Also took care of #20 since it turned out to be necessary to get coverage working (coverage was running on hard coded port, and one of the tests runs coverage which would run on that same hard coded port).

Changes

Source:

  • Add an API, CLI, and config for a coverage task.
  • Add config.coverage to dev.dart file generated by init task
  • Add relevant info to README.

Tests:

  • Added fixtures for 3 different projects (browser tests, vm tests, no coverage package)
  • Added integration tests for these 3 scenarios

Areas of Regression

  • n/a

Testing

  • ddev test --integration passes

Code Review

@trentgrover-wf
@maxwellpeterson-wf
@dustinlessard-wf
@jayudey-wf

@jayudey-wf jayudey-wf changed the title New Task: Code Coverage CP-839 New Task: Code Coverage Aug 18, 2015
@evanweible-wf evanweible-wf force-pushed the coverage branch 3 times, most recently from 4f06bcc to 11f62c0 Compare August 18, 2015 18:09
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we go ahead and make coverage output directory configurable?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah that's a good idea

@trentgrover-wf
Copy link
Contributor

+1 once merge conflicts are fixed

@evanweible-wf
Copy link
Contributor Author

@trentgrover-wf @maxwellpeterson-wf @dustinlessard-wf rebased on latest master.

@trentgrover-wf
Copy link
Contributor

+1

1 similar comment
@maxwellpeterson-wf
Copy link
Member

+1

@maxwellpeterson-wf
Copy link
Member

@jayudey-wf ready for merge

@jayudey-wf
Copy link
Contributor

QA Resource Approval: +10

  • Testing instruction
  • Dev +1's
  • Dev/QA +10 with detail of what was tested
    • tests pass
  • Unit test created/updated
  • All unit tests pass

Merging into master.

jayudey-wf added a commit that referenced this pull request Aug 18, 2015
CP-839 New Task: Code Coverage
@jayudey-wf jayudey-wf merged commit dd3a6ba into master Aug 18, 2015
@trentgrover-wf trentgrover-wf deleted the coverage branch August 19, 2015 21:45
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.

5 participants