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

MSI: Installation Integration tests #37

Open
codebrain opened this issue Oct 18, 2018 · 0 comments
Open

MSI: Installation Integration tests #37

codebrain opened this issue Oct 18, 2018 · 0 comments
Assignees

Comments

@codebrain
Copy link
Contributor

codebrain commented Oct 18, 2018

Need the following integration tests:


Test 1: Assert correct installation

  1. Install driver
  2. Assert files copied
  3. Assert registry keys are present
  4. Install dependent Elasticsearch version
  5. Configure DSN
  6. Insert document into new index
  7. Assert ODBC connection is successful and data retrieved

Test 2: Assert correct un-installation

  1. [As per Test 1]
  2. Uninstall driver
  3. Assert files removed
  4. Assert registry keys are deleted

Test 3: Assert upgrade is prevented

  1. [As per Test 1]
  2. Attempt upgrade to a later version
  3. Assert upgrade not taken place

Test 4: Assert operating system check

  1. Attempt driver install on unsupported operating system
  2. Assert error message received and not installed

Test 5: Assert C++ dependancy check

  1. Attempt driver install on operating system without C++ runtime installed
  2. Assert error message received and not installed

Test 6: Assert .NET dependancy check

  1. Attempt driver install on operating system without .NET framework installed
  2. Assert error message received and not installed

Using Pester and the supporting PowerShell scripts from the windows-installers project will get us further with less effort. If expedience is a high priority, this may be preferable. The ODBC installer is a much simpler beast than the Elasticsearch installer, making the simpler approach of Pester vs. xUnit/NUnit less of an issue.

Consider Unit tests for editor dialog after moving to an MVVM or MVC architecture.

@codebrain codebrain changed the title MSI: Integration tests MSI: Installation Integration tests Jan 24, 2019
@codebrain codebrain self-assigned this Jan 24, 2019
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

No branches or pull requests

1 participant