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 Dec 4, 2024
1 parent e7156dc commit 50152fc
Show file tree
Hide file tree
Showing 7 changed files with 188 additions and 227 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.9.0")
require.NoError(t, err)
}

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

0 comments on commit 50152fc

Please sign in to comment.