Test files: 8. Test functions: 28. Described by their authors (docstring or @DisplayName): 0. Where there is no description, the line shows the test name in words and says so.
Latest result: ragleap-vectorstores-java-tests passed 18 passed, 10 skipped, 0 failed CI job
OpenSearchBackendTest.java — 5 tests
Small unit tests that run everywhere (CI included); the Python comparison is in OpenSearchParityTest.
quoteMatchesWhatOpensearchPyProducedForTheSameInput
Quote Matches What Opensearch Py Produced For The Same Input (no description in the source; shown from the name)isoFormatDropsZeroMicroseconds
Iso Format Drops Zero Microseconds (no description in the source; shown from the name)parseUrlDefaultsAndIgnoresTheScheme
Parse Url Defaults And Ignores The Scheme (no description in the source; shown from the name)pyIntFollowsPythonRules
Py Int Follows Python Rules (no description in the source; shown from the name)emptyUrlIsRejected
Empty Url Is Rejected (no description in the source; shown from the name)
OpenSearchLiveTest.java — 1 tests
Live check against a real OpenSearch (k-NN plugin, security disabled).
liveRoundTrip
Live Round Trip (no description in the source; shown from the name)
OpenSearchParityTest.java — 3 tests
Replays the scripted scenarios of the real Python OpenSearchBackend (real opensearch-py 3.2.0 client, fake HTTP server) against the Java backend and a JDK fake server: the recorded requests and the results must be identical.
requestsAndResultsMatchPython
Requests And Results Match Python (no description in the source; shown from the name)constructorErrorsMatchPython
Constructor Errors Match Python (no description in the source; shown from the name)parseUrlMatchesPython
Parse Url Matches Python (no description in the source; shown from the name)
RedisBackendTest.java — 8 tests
Unit tests that run everywhere (CI included); the Python comparison is in RedisParityTest.
escapeTagMatchesWhatPythonSentForTheSameInput
Escape Tag Matches What Python Sent For The Same Input (no description in the source; shown from the name)vectorsAreLittleEndianFloat32
Vectors Are Little Endian Float32 (no description in the source; shown from the name)pyStrFollowsPython
Py Str Follows Python (no description in the source; shown from the name)pyFloatFollowsPython
Py Float Follows Python (no description in the source; shown from the name)pyMinAndMaxFollowPythonIncludingNaN
Py Min And Max Follow Python Including Na N (no description in the source; shown from the name)respRequestIsAnArrayOfBulkStrings
Resp Request Is An Array Of Bulk Strings (no description in the source; shown from the name)clientSendsAuthAndSelectBeforeTheFirstCommand
Client Sends Auth And Select Before The First Command (no description in the source; shown from the name)urlIsRequiredAndSchemeChecked
Url Is Required And Scheme Checked (no description in the source; shown from the name)
RedisLiveTest.java — 1 tests
Live check against a real Redis Stack (RediSearch).
liveRoundTrip
Live Round Trip (no description in the source; shown from the name)
RedisParityTest.java — 2 tests
Replays the scripted scenarios of the real Python RedisBackend (real redis-py client forced to RESP2, real SQLite registry, fake RESP server) against the Java backend and its own fake RESP server: the commands (arguments as hex) and the results must be identical.
commandsAndResultsMatchPython
Commands And Results Match Python (no description in the source; shown from the name)constructorErrorsMatchPython
Constructor Errors Match Python (no description in the source; shown from the name)
UpstashBackendTest.java — 5 tests
Unit tests that run everywhere (CI included); the Python comparison is in UpstashParityTest.
filterMatchesWhatPythonBuilt
Filter Matches What Python Built (no description in the source; shown from the name)namespacePathEncodingKeepsSlashesAndValidEscapes
Namespace Path Encoding Keeps Slashes And Valid Escapes (no description in the source; shown from the name)naiveIsoFormatDropsZeroMicroseconds
Naive Iso Format Drops Zero Microseconds (no description in the source; shown from the name)urlAndTokenAreRequired
Url And Token Are Required (no description in the source; shown from the name)initSchemaSendsBearerTokenAndChecksDimension
Init Schema Sends Bearer Token And Checks Dimension (no description in the source; shown from the name)
UpstashParityTest.java — 3 tests
Replays the scripted scenarios of the real Python UpstashBackend (real upstash-vector 0.8.0 SDK, real SQLite registry, fake HTTP server) against the Java backend and a JDK fake server: requests and results must be identical.
requestsAndResultsMatchPython
Requests And Results Match Python (no description in the source; shown from the name)trailingSlashUrlSendsDoubleSlashPathsLikeTheSdk
Trailing Slash Url Sends Double Slash Paths Like The Sdk (no description in the source; shown from the name)constructorErrorsMatchPython
Constructor Errors Match Python (no description in the source; shown from the name)