|
1 year ago | |
---|---|---|
.. | ||
README.md | 949b6c01e0 Revamp go based integration tests | 1 year ago |
basic_test.go | 4fec5816d6 Integration test improvements | 1 year ago |
context_test.go | aeb1fb5192 Add test case for context exhaustion | 1 year ago |
llm_image_test.go | 1b272d5bcd change `github.com/jmorganca/ollama` to `github.com/ollama/ollama` (#3347) | 1 year ago |
llm_test.go | cd135317d2 Fix macOS builds on older SDKs (#3467) | 1 year ago |
utils_test.go | 4fec5816d6 Integration test improvements | 1 year ago |
This directory contains integration tests to exercise Ollama end-to-end to verify behavior
By default, these tests are disabled so go test ./...
will exercise only unit tests. To run integration tests you must pass the integration tag. go test -tags=integration ./...
The integration tests have 2 modes of operating.
OLLAMA_TEST_EXISTING
is set to a non-empty string, the tests will run against an existing running server, which can be remote