Files
LocalAI/tests/e2e-backends/suite_test.go
Ettore Di Giacinto 9ca03cf9cc feat(backends): add ik-llama-cpp (#9326)
* feat(backends): add ik-llama-cpp

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* chore: add grpc e2e suite, hook to CI, update README

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>

* Apply suggestion from @mudler

Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>

* Apply suggestion from @mudler

Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>

---------

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
2026-04-12 13:51:28 +02:00

25 lines
777 B
Go

// Package e2ebackends exercises a built backend container image end-to-end over
// its gRPC surface.
//
// The suite is intentionally backend-agnostic: it extracts a Docker image,
// launches the bundled run.sh entrypoint, then drives a configurable set of
// gRPC calls against the result. Specs are gated by capability flags so that a
// non-LLM backend (e.g. image generation, TTS, embeddings-only) can opt in to
// only the RPCs it implements.
//
// Configuration is entirely through environment variables — see backend_test.go
// for the full list.
package e2ebackends_test
import (
"testing"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
)
func TestBackendE2E(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "Backend gRPC End-to-End Suite")
}