Skip to content

Commit

Permalink
Move some tests to integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ofalvai committed Nov 30, 2024
1 parent 29bfc47 commit 4ccf0b5
Show file tree
Hide file tree
Showing 6 changed files with 118 additions and 168 deletions.
26 changes: 26 additions & 0 deletions _tests/integration/plugins_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package integration

import (
"testing"

"github.com/bitrise-io/bitrise/plugins"
"github.com/stretchr/testify/require"
)



const examplePluginGitURL = "https://github.com/bitrise-io/bitrise-plugins-example.git"

func TestDownloadPluginBin(t *testing.T) {
t.Log("example plugin bin - specific version")
{
_, _, err := plugins.InstallPlugin(examplePluginGitURL, "0.10.4")
require.NoError(t, err)
}

t.Log("example plugin bin - latest version")
{
_, _, err := plugins.InstallPlugin(examplePluginGitURL, "")
require.NoError(t, err)
}
}
Loading

0 comments on commit 4ccf0b5

Please sign in to comment.