opentofu/internal/providercache
Martin Atkins 24d32e9ca2 providercache: More exhaustive testing of the main installer
We previously had some tests for some happy paths and a few specific
failures into an empty directory with no existing locks, but we didn't
have tests for the installer respecting existing lock file entries.

This is a start on a more exhaustive set of tests for the installer,
aiming to visit as many of the possible codepaths as we can reasonably
test using this mocking strategy. (Some other codepaths require different
underlying source implementations, etc, so we'll have to visit those in
other tests separately.)
2020-10-28 07:46:45 -07:00
..
testdata providercache: More exhaustive testing of the main installer 2020-10-28 07:46:45 -07:00
cached_provider_test.go getproviders: Add a real type Hash for package hashes 2020-09-24 14:01:54 -07:00
cached_provider.go command/init: Read, respect, and update provider dependency locks 2020-10-09 09:26:23 -07:00
dir_modify_test.go command/init: Read, respect, and update provider dependency locks 2020-10-09 09:26:23 -07:00
dir_modify.go command/init: Read, respect, and update provider dependency locks 2020-10-09 09:26:23 -07:00
dir_test.go providercache: Lazily detect executable file 2020-07-07 15:18:27 -04:00
dir.go command/init: Read, respect, and update provider dependency locks 2020-10-09 09:26:23 -07:00
doc.go providercache: A package to encapsulate management of provider cache dirs 2020-03-25 11:29:48 -07:00
installer_events_test.go providercache: More exhaustive testing of the main installer 2020-10-28 07:46:45 -07:00
installer_events.go command/init: Mention using the lock file for provider selection 2020-10-09 09:26:23 -07:00
installer_test.go providercache: More exhaustive testing of the main installer 2020-10-28 07:46:45 -07:00
installer.go providercache: More exhaustive testing of the main installer 2020-10-28 07:46:45 -07:00
package_install.go command/init: Read, respect, and update provider dependency locks 2020-10-09 09:26:23 -07:00