mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-20 05:27:12 +03:00
31 lines
713 B
Go
31 lines
713 B
Go
package e2e
|
|
|
|
import (
|
|
"context"
|
|
|
|
. "github.com/onsi/ginkgo"
|
|
. "github.com/onsi/gomega"
|
|
"github.com/ossf/scorecard/checker"
|
|
"github.com/ossf/scorecard/checks"
|
|
)
|
|
|
|
var _ = Describe("E2E TEST:Fuzzing", func() {
|
|
Context("E2E TEST:Validating use of fuzzing tools", func() {
|
|
It("Should return use of fuzzing tools", func() {
|
|
l := log{}
|
|
checker := checker.Checker{
|
|
Ctx: context.Background(),
|
|
Client: ghClient,
|
|
HttpClient: client,
|
|
Owner: "tensorflow",
|
|
Repo: "tensorflow",
|
|
GraphClient: graphClient,
|
|
Logf: l.Logf,
|
|
}
|
|
result := checks.Fuzzing(checker)
|
|
Expect(result.Error).Should(BeNil())
|
|
Expect(result.Pass).Should(BeTrue())
|
|
})
|
|
})
|
|
})
|