Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ require (
github.com/jfrog/build-info-go v1.12.2
github.com/jfrog/gofrog v1.7.6
github.com/jfrog/jfrog-cli-application v1.0.1
github.com/jfrog/jfrog-cli-artifactory v0.7.3-0.20251029090118-9d7154ab0225
github.com/jfrog/jfrog-cli-artifactory v0.7.3-0.20251029093809-3aaa4e93a359
github.com/jfrog/jfrog-cli-core/v2 v2.60.1-0.20251015045218-1a38c9e47097
github.com/jfrog/jfrog-cli-platform-services v1.10.0
github.com/jfrog/jfrog-cli-security v1.21.8
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ github.com/jfrog/jfrog-apps-config v1.0.1 h1:mtv6k7g8A8BVhlHGlSveapqf4mJfonwvXYL
github.com/jfrog/jfrog-apps-config v1.0.1/go.mod h1:8AIIr1oY9JuH5dylz2S6f8Ym2MaadPLR6noCBO4C22w=
github.com/jfrog/jfrog-cli-application v1.0.1 h1:PiiSVKFFs8VLAwjCe2JrIKlX7LmARFt+r8BLTupWIDc=
github.com/jfrog/jfrog-cli-application v1.0.1/go.mod h1:gjV6Q2hhoMe3FF77GFiTyIRLSHokpDrkVj0GvYM+1Y4=
github.com/jfrog/jfrog-cli-artifactory v0.7.3-0.20251029090118-9d7154ab0225 h1:zMbXuVAN40cy1+SD73Ng/Lq0MnIN5a/RU2r4BZw30mM=
github.com/jfrog/jfrog-cli-artifactory v0.7.3-0.20251029090118-9d7154ab0225/go.mod h1:4D19dyt67m1wtAojNhSYR34xpOSzTyucs2iHEJG9tF8=
github.com/jfrog/jfrog-cli-artifactory v0.7.3-0.20251029093809-3aaa4e93a359 h1:r6rrXnFJYbdpy/mFRcSXxj4pcusZlE0552hj3exv2GY=
github.com/jfrog/jfrog-cli-artifactory v0.7.3-0.20251029093809-3aaa4e93a359/go.mod h1:4D19dyt67m1wtAojNhSYR34xpOSzTyucs2iHEJG9tF8=
github.com/jfrog/jfrog-cli-core/v2 v2.60.1-0.20251015045218-1a38c9e47097 h1:+W6BPxJ0nPtlQ6l6nmypW1eEANoVPiN8HDR4kQJA8uI=
github.com/jfrog/jfrog-cli-core/v2 v2.60.1-0.20251015045218-1a38c9e47097/go.mod h1:UOeOwEEmRIi57cRwghN5OBVoqkJieYQQfLpeqw8Yv38=
github.com/jfrog/jfrog-cli-platform-services v1.10.0 h1:O+N/VAF+QjFvq9xkHpmzKLcdl9aJu3IP204Su0L14rw=
Expand Down
18 changes: 13 additions & 5 deletions ide_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -729,12 +729,20 @@ func TestIDECommandsRegistration(t *testing.T) {
// This test verifies that our IDE commands are properly registered in the CLI
// without requiring a running Artifactory server

// Test that IDE setup command is available
// Test that IDE namespace is available
jfrogCli := coreTests.NewJfrogCli(execMain, "jfrog", "")
err := jfrogCli.Exec("ide", "setup", "--help")
err := jfrogCli.Exec("ide", "--help")
assert.NoError(t, err, "IDE namespace should be available")

// Test that setup command is available
err = jfrogCli.Exec("ide", "setup", "--help")
assert.NoError(t, err, "IDE setup command should be available")

// Test that IDE command is available with alias
err = jfrogCli.Exec("ide", "s", "--help")
assert.NoError(t, err, "IDE setup alias 's' should be available")
// Test that VSCode IDE is supported
err = jfrogCli.Exec("ide", "setup", "vscode", "--help")
assert.NoError(t, err, "VSCode IDE setup should be available")

// Test that JetBrains IDE is supported
err = jfrogCli.Exec("ide", "setup", "jetbrains", "--help")
assert.NoError(t, err, "JetBrains IDE setup should be available")
}
Loading