|
1 | 1 | ## Chocolatey Usage Scenarios
|
2 | 2 |
|
3 |
| -### ChocolateyInstallCommand [ 35 Scenario(s), 293 Observation(s) ] |
| 3 | +### ChocolateyInstallCommand [ 42 Scenario(s), 312 Observation(s) ] |
4 | 4 |
|
5 | 5 | #### when force installing a package that depends on an unavailable newer version of an installed dependency forcing dependencies
|
6 | 6 |
|
|
247 | 247 | * should not install a package in the lib directory
|
248 | 248 | * should put a package in the lib bad directory
|
249 | 249 |
|
| 250 | +#### when installing a package that tries to overwrite another shim |
| 251 | + |
| 252 | + * should have a shim |
| 253 | + * should have a shim with target in other package tools folder |
| 254 | + * should have an error message |
| 255 | + * should have shim target |
| 256 | + |
| 257 | +#### when installing a package that tries to overwrite its own shim |
| 258 | + |
| 259 | + * should create a shim |
| 260 | + * should have a shim with target in tools folder |
| 261 | + * should have an error message |
| 262 | + * should have shim targets |
| 263 | + |
250 | 264 | #### when installing a package with a dependent package that also depends on a less constrained but still valid dependency of the same package
|
251 | 265 |
|
252 | 266 | * [PENDING] should contain a message that everything installed successfully
|
|
282 | 296 | * should not install a package in the lib directory
|
283 | 297 | * should not install the dependency in the lib directory
|
284 | 298 |
|
| 299 | +#### when installing a package with dependencies and noshims |
| 300 | + |
| 301 | + * should create a shim for the dependency |
| 302 | + * should have shim targets |
| 303 | + * should not create a shim for the package |
| 304 | + |
| 305 | +#### when installing a package with dependencies and noshimsglobal |
| 306 | + |
| 307 | + * should have shim targets |
| 308 | + * should not create a shim for the dependency |
| 309 | + * should not create a shim for the package |
| 310 | + |
285 | 311 | #### when installing a package with dependencies happy
|
286 | 312 |
|
287 | 313 | * should contain a message that everything installed successfully
|
|
326 | 352 | * [PENDING] should not install the conflicting package in the lib directory
|
327 | 353 | * [PENDING] should not upgrade the exact version dependency
|
328 | 354 |
|
| 355 | +#### when installing a package with install bin file |
| 356 | + |
| 357 | + * should not see the shim as an existing shim and remove it |
| 358 | + |
| 359 | +#### when installing a package with install bin file and noshims |
| 360 | + |
| 361 | + * should have shim target |
| 362 | + * should not create a shim |
| 363 | + |
329 | 364 | #### when installing a package with no sources enabled
|
330 | 365 |
|
331 | 366 | * should have no sources enabled result
|
332 | 367 | * should not install any packages
|
333 | 368 |
|
| 369 | +#### when installing a package with noshims |
| 370 | + |
| 371 | + * should have shim target |
| 372 | + * should not create a shim for the package |
| 373 | + |
334 | 374 | #### when installing a side by side package
|
335 | 375 |
|
336 | 376 | * config should match package result name
|
|
541 | 581 |
|
542 | 582 | * should contain success message
|
543 | 583 |
|
544 |
| -### ChocolateyUninstallCommand [ 13 Scenario(s), 93 Observation(s) ] |
| 584 | +### ChocolateyUninstallCommand [ 14 Scenario(s), 95 Observation(s) ] |
545 | 585 |
|
546 | 586 | #### when force uninstalling a package
|
547 | 587 |
|
|
617 | 657 | * should not remove package from the lib directory
|
618 | 658 | * should still have the package file in the directory
|
619 | 659 |
|
| 660 | +#### when uninstalling a package that forgets to call uninstall bin file |
| 661 | + |
| 662 | + * should have had a shim |
| 663 | + * should have removed the shim |
| 664 | + |
620 | 665 | #### when uninstalling a package with a read and delete share locked file
|
621 | 666 |
|
622 | 667 | * should contain a message that it uninstalled successfully
|
|
675 | 720 |
|
676 | 721 | * should throw an error that it is not allowed
|
677 | 722 |
|
678 |
| -### ChocolateyUpgradeCommand [ 36 Scenario(s), 295 Observation(s) ] |
| 723 | +### ChocolateyUpgradeCommand [ 39 Scenario(s), 301 Observation(s) ] |
679 | 724 |
|
680 | 725 | #### when force upgrading a package
|
681 | 726 |
|
|
920 | 965 | * should have no sources enabled result
|
921 | 966 | * should not have any packages upgraded
|
922 | 967 |
|
| 968 | +#### when upgrading a package with noshims |
| 969 | + |
| 970 | + * should have shim target |
| 971 | + * should not create a shim |
| 972 | + |
923 | 973 | #### when upgrading a package with readonly files
|
924 | 974 |
|
925 | 975 | * should contain a warning message that it upgraded successfully
|
|
933 | 983 | * should upgrade the package
|
934 | 984 | * should upgrade where install location reports
|
935 | 985 |
|
| 986 | +#### when upgrading a package with shims |
| 987 | + |
| 988 | + * should create a shim |
| 989 | + * should not have original shim |
| 990 | + |
| 991 | +#### when upgrading a package with shims that errors |
| 992 | + |
| 993 | + * should have original shim |
| 994 | + * should not create a shim |
| 995 | + |
936 | 996 | #### when upgrading a package with unavailable dependencies
|
937 | 997 |
|
938 | 998 | * should contain a message that it was unable to upgrade anything
|
|
0 commit comments