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

Integration tests for CLI and Build task #790

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jimmylewis
Copy link
Contributor

Each new integration test project has steps to set up using the package from the current build. This will allow more consistent testing in addition to the Visual Studio integration tests.

Currently each project just has some basic tests to get started. We can add more scenarios later, this PR is to introduce the core infrastructure with some basic starters.

The CLI integration test project takes the nupkg built by the CLI project and installs it to a specific path.  It then executes the commands in the test using that path.  This isolates the environment from whatever is globally installed.

The first tests added cover some basic sample scenarios:
* `libman install`
* `libman restore` with some fileMapping configurations
Like the CLI integration test project, this project consumes the nupkg from the .Build package.  It installs the package in a test project, and then can perform test scenarios.

For now a single test is included.
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.

1 participant