Daniel Hiltgen aeb1fb5192 Add test case for context exhaustion пре 1 година
..
README.md 949b6c01e0 Revamp go based integration tests пре 1 година
basic_test.go 4fec5816d6 Integration test improvements пре 1 година
context_test.go aeb1fb5192 Add test case for context exhaustion пре 1 година
llm_image_test.go 1b272d5bcd change `github.com/jmorganca/ollama` to `github.com/ollama/ollama` (#3347) пре 1 година
llm_test.go cd135317d2 Fix macOS builds on older SDKs (#3467) пре 1 година
utils_test.go 4fec5816d6 Integration test improvements пре 1 година

README.md

Integration Tests

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.

  1. By default, they will start the server on a random port, run the tests, and then shutdown the server.
  2. If OLLAMA_TEST_EXISTING is set to a non-empty string, the tests will run against an existing running server, which can be remote