Skip to content

Commit

Permalink
(specs) update scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Apr 10, 2016
1 parent a377b0e commit bf97195
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions Scenarios.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Chocolatey Usage Scenarios

### ChocolateyInstallCommand [ 35 Scenario(s), 289 Observation(s) ]
### ChocolateyInstallCommand [ 35 Scenario(s), 291 Observation(s) ]

#### when force installing a package that depends on an unavailable newer version of an installed dependency forcing dependencies

Expand Down Expand Up @@ -140,6 +140,7 @@
* should have a graphical shim that is set for gui access
* should have a successful package result
* should have a version of one dot zero dot zero
* should have executed chocolateyInstall script
* should install the expected version of the package
* should install the package in the lib directory
* should install where install location reports
Expand Down Expand Up @@ -366,6 +367,7 @@

* should contain a message that it would have run a powershell script
* should contain a message that it would have used Nuget to install a package
* should not contain a message that it would have run powershell modification script
* should not install a package in the lib directory

#### when noop installing a package that does not exist
Expand Down Expand Up @@ -499,7 +501,7 @@

* should contain success message

### ChocolateyUninstallCommand [ 13 Scenario(s), 90 Observation(s) ]
### ChocolateyUninstallCommand [ 13 Scenario(s), 93 Observation(s) ]

#### when force uninstalling a package

Expand Down Expand Up @@ -530,6 +532,7 @@
#### when noop uninstalling a package

* should contain a message that it would have run a powershell script
* should contain a message that it would have run powershell modification script
* should contain a message that it would have uninstalled a package
* should not uninstall a package from the lib directory

Expand All @@ -546,6 +549,8 @@
* should delete any files created during the install
* should delete the rollback
* should have a successful package result
* should have executed chocolateyBeforeModify script
* should have executed chocolateyUninstall script
* should not have inconclusive package result
* should not have warning package result
* should remove the package from the lib directory
Expand Down Expand Up @@ -630,7 +635,7 @@

* should throw an error that it is not allowed

### ChocolateyUpgradeCommand [ 29 Scenario(s), 221 Observation(s) ]
### ChocolateyUpgradeCommand [ 29 Scenario(s), 226 Observation(s) ]

#### when force upgrading a package

Expand Down Expand Up @@ -929,7 +934,12 @@
* should contain newer version in directory
* should delete the rollback
* should have a successful package result
* should have executed chocolateyBeforeModify before chocolateyInstall
* should have executed chocolateyBeforeModify script for original package
* should have executed chocolateyInstall script for new package
* should match the upgrade version of one dot one dot zero
* should not have executed chocolateyBeforeModify script for new package
* should not have executed chocolateyUninstall script for original package
* should not have inconclusive package result
* should not have warning package result
* should upgrade a package in the lib directory
Expand Down

0 comments on commit bf97195

Please sign in to comment.