- main.go entry point (7 lines) delegates to cmd.Execute() - cmd/root.go stub so go build ./... compiles (Plan 05 replaces) - pkg/providers, pkg/storage, pkg/engine package stubs - Test stubs with t.Skip() for providers, storage, engine packages - testdata/samples: openai_key.txt, anthropic_key.txt, multiple_keys.txt, no_keys.txt - go build ./... and go test ./... -short both exit 0
24 lines
828 B
Go
24 lines
828 B
Go
package providers_test
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
// TestRegistryLoad verifies that provider YAML files are loaded from embed.FS.
|
|
// Stub: will be implemented when registry.go exists (Plan 02).
|
|
func TestRegistryLoad(t *testing.T) {
|
|
t.Skip("stub — implement after registry.go exists")
|
|
}
|
|
|
|
// TestProviderSchemaValidation verifies format_version and last_verified are required.
|
|
// Stub: will be implemented when schema.go validation exists (Plan 02).
|
|
func TestProviderSchemaValidation(t *testing.T) {
|
|
t.Skip("stub — implement after schema.go validation exists")
|
|
}
|
|
|
|
// TestAhoCorasickBuild verifies Aho-Corasick automaton builds from provider keywords.
|
|
// Stub: will be implemented when registry builds automaton (Plan 02).
|
|
func TestAhoCorasickBuild(t *testing.T) {
|
|
t.Skip("stub — implement after registry AC build exists")
|
|
}
|