You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Daniel Hiltgen a24f90604f
int: adjust a few models for integration tests (#11872)
8 months ago
..
testdata int: add performance integration tests (#11173) 9 months ago
README.md Revamp go based integration tests 2 years ago
api_test.go Integration test improvements (#9654) 12 months ago
basic_test.go Integration test improvements (#9654) 12 months ago
concurrency_test.go int: adjust a few models for integration tests (#11872) 8 months ago
context_test.go chore(all): replace instances of interface with any (#10067) 1 year ago
embed_test.go integration: fix embedding tests error handling (#10478) 11 months ago
library_models_test.go Only load supported models on new engine (#11362) 9 months ago
llm_image_test.go integration: add qwen2.5-vl (#10815) 10 months ago
llm_test.go Integration test improvements (#9654) 12 months ago
max_queue_test.go Integration test improvements (#9654) 12 months ago
model_arch_test.go int: add performance integration tests (#11173) 9 months ago
model_perf_test.go int: add performance integration tests (#11173) 9 months ago
quantization_test.go Move quantization to new backend (#10363) 11 months ago
utils_test.go tests: add integration coverage for oss-gpt (#11696) 8 months ago

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