Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Adding additional unit tests and new integration tests #47

Merged
merged 2 commits into from
Sep 9, 2016

Conversation

jeffyoung
Copy link
Contributor

This PR increases the number of unit tests and gets more coverage on the GitContext object (which is responsible for determining whether a remote repository URL is Team Services, Team Foundation Server, or other).

The PR also introduces new integration tests that test the services used by the extension against actual data. The CI build definition contains build variables that instruct the tests where to connect and what values the tests should compare against. These tests will run on both a CI and scheduled basis.

I also added the ability to generate JUnit test results files that can be uploaded to the server (and shown in the build summary). I also added code coverage to the build definition so those results (and reports) will also display in the build summary.

I updated the CI build definition before this PR and ran it against my feature branch to ensure the new tests would run and all reporting would work as expected. The unit tests all run as expected on the cmd line via gulp as well as from within VS Code. If the env vars are set in the dev environment properly, the integration tests will run as well (and also from within VS Code).

@davidstaheli
Copy link
Contributor

Looks good. Thanks, Jeff!

@jeffyoung jeffyoung merged commit 0203102 into master Sep 9, 2016
@jeffyoung jeffyoung deleted the jeyou/additional-tests branch September 9, 2016 15:58
@ophiuchusenumbereditor
Copy link

Thank you for your help!

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

Successfully merging this pull request may close these issues.

None yet

4 participants