Commit Graph

1839 Commits

Author SHA1 Message Date
Lars Lehtonen
bad4d48f6d
internal/command: deprecate ioutil (#318) 2023-09-07 19:53:12 +03:00
Lars Lehtonen
b814a5f624
internal/depsfile: deprecate io/ioutil (#338) 2023-09-07 19:52:18 +03:00
Lars Lehtonen
e2852ca9fb
internal/copy: deprecate io/ioutil (#336)
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2023-09-07 17:23:38 +02:00
Lars Lehtonen
9d595db5af
internal/communicator: deprecate io/ioutil (#332)
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2023-09-07 16:50:30 +02:00
Marcin Wyszynski
992b5d604a
Marshal plan#relevant_attributes in deterministic order (#327)
Signed-off-by: Marcin Wyszynski <marcin.pixie@gmail.com>
2023-09-07 13:36:16 +02:00
Adrian Mester
408470481e
internal/states: deprecate io/ioutil (#320) 2023-09-07 12:18:43 +03:00
Lars Lehtonen
6334237a46
internal/cloud: deprecate io/ioutil (#316)
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2023-09-07 10:49:14 +02:00
Lars Lehtonen
10e1b10d86
internal/builtin: deprecate io/ioutil (#314)
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2023-09-06 22:21:30 +02:00
Lars Lehtonen
bfbe8ee4df
internal/backend: deprecate io/ioutil (#312)
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2023-09-06 19:41:23 +02:00
Marcin Wyszynski
0941afc75a
Use our fork of the equivalence testing binary (#298)
Signed-off-by: Marcin Wyszynski <marcin.pixie@gmail.com>
2023-09-06 16:35:38 +02:00
Yaron Yarimi
0d69b56cc2
Always unmark value in test commands in favor of sensitive values (#263) 2023-09-06 15:19:38 +03:00
Marcin Wyszynski
12897327b6
Require hostname for cloud/remote backends and login/logout (#291)
Signed-off-by: Marcin Wyszynski <marcin.pixie@gmail.com>
2023-09-06 12:54:39 +02:00
Elbaz
4d9404a59e
Fix opentf test crash on nil output (#267)
Co-authored-by: Elbaz <eran.elbaz@env0.com>
2023-09-06 13:40:12 +03:00
Lars Lehtonen
f9f1ca43f2
internal/states/statemgr: handle ignored errors (#277)
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
Co-authored-by: Kuba Martin <kubam@spacelift.io>
2023-09-05 23:16:22 +02:00
Elbaz
20aa339579 Merge remote-tracking branch 'origin/main' into chore-add-is-files-sorted-test
# Conflicts:
#	internal/command/test_test.go
2023-09-05 15:15:35 +03:00
Elbaz
39172c7bc5
Merge branch 'main' into test-refresh-only-test 2023-09-03 17:29:15 +03:00
Elbaz
c676d74fc6 Add Tests
Signed-off-by: Elbaz <eran.elbaz@env0.com>
2023-09-03 16:54:24 +03:00
RLRabinowitz
b08933aeb1 Normalise lines in ned of test files
Signed-off-by: RLRabinowitz <rlrabinowitz2@gmail.com>
2023-09-03 16:37:05 +03:00
RLRabinowitz
c3ec988d94 Rely on StdOut and StdError in tests, to avoid issues with output order
Signed-off-by: RLRabinowitz <rlrabinowitz2@gmail.com>
2023-09-03 16:37:05 +03:00
RLRabinowitz
650caafafb Test: Refresh-only and refresh:false should fail validation
Signed-off-by: RLRabinowitz <rlrabinowitz2@gmail.com>
2023-09-03 13:20:21 +03:00
RLRabinowitz
08536a74a2 Add test cases for opentf test - refresh-only, and making sure target actually runs a single target
Signed-off-by: RLRabinowitz <rlrabinowitz2@gmail.com>
2023-09-03 13:20:21 +03:00
RLRabinowitz
a4554a0a75 Change text to OPENTF CRASH on crash
Signed-off-by: RLRabinowitz <rlrabinowitz2@gmail.com>
2023-09-03 12:17:35 +03:00
Elbaz
c930676fe7
Merge pull request #219 from opentffoundation/update-github-and-release 2023-08-29 14:56:25 +03:00
Elbaz
b08614ef11
Merge pull request #215 from opentffoundation/another-test-to-make-sure-runtime-checks-are-fine-with-test 2023-08-29 14:55:48 +03:00
Elbaz
034ae97bdf update githbu 2023-08-29 13:00:09 +03:00
Elbaz
abf03204d8 expect_runtime_check_pass_command_plan_expected 2023-08-29 12:20:34 +03:00
Elbaz
4988185c58 fix test 2023-08-29 11:47:11 +03:00
Elbaz
a444b7e6f2 expect_runtime_check_fail_command_plan 2023-08-29 11:17:42 +03:00
Elbaz
94400dfebb expect_runtime_check_pass_with_expect 2023-08-29 11:02:42 +03:00
RLRabinowitz
e23eea6d82
Merge pull request #211 from opentffoundation/remote-terraform-from-tests
Remove `terraform` from test files and directories
2023-08-29 10:45:43 +03:00
Elbaz
a330254be2 another case 2023-08-29 10:19:26 +03:00
RLRabinowitz
23cd2c91c1 Remove terraform from E2E test names 2023-08-28 17:29:07 +03:00
RLRabinowitz
a0af99fe99 Remove terraform test file names in internal/command tests 2023-08-28 17:22:36 +03:00
RLRabinowitz
0afa80282e Remove terraform test file names in internal/cloud tests 2023-08-28 17:16:27 +03:00
RLRabinowitz
035896a665 Remove terraform test file names in internal/backend/remote tests 2023-08-28 17:14:19 +03:00
RLRabinowitz
3dd8fc9943 Remove terraform mention from TF file names 2023-08-28 17:10:28 +03:00
RLRabinowitz
d18709dcd4 Remove terraform name where possible in internal/providercache tests 2023-08-28 16:57:42 +03:00
Elbaz
67294dd643
Merge pull request #207 from opentffoundation/add-broken-tf-test-hcl-files 2023-08-28 16:44:56 +03:00
Elbaz
c38b6cd46b fix expected 2023-08-28 16:23:03 +03:00
Elbaz
cf04e25f79 more cases 2023-08-28 16:21:40 +03:00
Elbaz
02c0c44bdd add data test case 2023-08-28 16:11:22 +03:00
Elbaz
5c9a332ad6 added use cases 2023-08-28 16:02:16 +03:00
RLRabinowitz
1b36b9262a
Merge pull request #200 from opentffoundation/internal-opentf
Change `internal/terraform` to `internal/opentf`
2023-08-28 15:48:46 +03:00
Elbaz
aea45de290 adding test cases 2023-08-28 15:00:33 +03:00
Marcin Wyszynski
b36ff25ea7
No special treatment for Hashi signatures (#185) 2023-08-28 13:41:25 +02:00
RLRabinowitz
90dce4dd3c go fmt, change import order 2023-08-28 14:22:54 +03:00
RLRabinowitz
42e7c5b25c Replace internal/terraform -> internal/opentf 2023-08-28 14:21:34 +03:00
RLRabinowitz
12e8eeaa09 Rename files in internal/terraform 2023-08-28 14:21:33 +03:00
RLRabinowitz
7cabaf7de9
Merge pull request #198 from opentffoundation/internal-legacy-opentf
Rename `internal/legacy/terraform` to `internal/legacy/opentf`
2023-08-28 14:20:59 +03:00
RLRabinowitz
8a6987e3ff
Merge pull request #196 from opentffoundation/internal-builtin-providers-tf
Rename `internal/builtin/providers/terraform` and remove `provider-terraform`
2023-08-28 14:20:44 +03:00