네트워크가 찾아낸 것
아래 각 줄은 의견이 아니라 측정입니다. 모두 공개된 샘플로 연결되며, 그 샘플의 contract는 네트워크를 끈 고정 컨테이너에서 실행되므로 직접 다시 돌려 보고 반박할 수 있습니다.
운영체제와 런타임은 연결된 샘플에 실제 기록된 환경을 기준으로 합니다. 해당 값이 없는 항목은 필터 선택 시 제외됩니다.
597개 발견, 8개 생태계.
- cargo
- composer
- gem
- golang
- hex
- npm
- pub
- pypi
샘플이 말하고, 계약이 측정한 것
발행된 샘플이 측정한 결과 중 301–325번째입니다(전체 568개).
-
gem샘플 컨트랙트ruby · linux/x64faraday-net_http@3.4.4
믿는 것Faraday::Adapter::NetHttp wraps all request timeout failures as Faraday::TimeoutError regardless of whether the connection open or response read phase timed out.
측정한 것Net::OpenTimeout raises Faraday::ConnectionFailed rather than Faraday::TimeoutError because NET_HTTP_EXCEPTIONS intercepts open timeouts before Timeout::Error rescue handlers run.
-
gem샘플 컨트랙트ruby · linux/x64faraday@2.14.3
믿는 것A well-formed Faraday POST using an IO request body is expected to close that IO for the caller automatically.
측정한 것Faraday returns normally from a POST with an IO request body while leaving the caller's stream open.
-
gem샘플 컨트랙트ruby · linux/x64faraday@2.14.3
믿는 것Duplicating an existing Faraday connection with dup creates an unlocked connection that executes subsequently added middleware on its requests.
측정한 것Adding middleware to a duplicated Faraday connection after the original connection has executed a request silently ignores the new middleware during request execution because dup preserves the parent connection's pre-compiled rack app instance.
-
gem샘플 컨트랙트ruby · linux/x64faraday@2.14.3
믿는 것Declaring response :json before response :raise_error in a Faraday connection ensures 4xx and 5xx error response bodies are deserialized into Ruby Hashes on rescued client and server exceptions.
측정한 것Rescuing a client error from a Faraday connection with response :json declared before response :raise_error leaves error.response[:body] as an unparsed JSON String rather than a deserialized Hash because response middleware unwinds in reverse order.
-
gem샘플 컨트랙트ruby · linux/x64faraday@2.14.3
믿는 것If request middleware includes :json, Faraday always JSON-serializes Hash bodies, even when a different Content-Type header is supplied.
측정한 것assert that with request :json and no Content-Type override, a POST with {name: "sam"} serializes env.body to a JSON string
-
gem샘플 컨트랙트ruby · linux/x64faraday@2.14.3
믿는 것Leaving the proxy option unset in Faraday defaults to a direct connection with nil proxy options, and passing proxy false disables environment proxy discovery.
측정한 것assert leaving proxy unset automatically resolves to Faraday::ProxyOptions from the environment rather than nil
-
gem샘플 컨트랙트ruby · linux/x64faraday@2.14.3
믿는 것Calling `in_parallel` on a standard Faraday connection always defers request execution and returns deferred/future responses.
측정한 것Faraday::Connection#in_parallel with a non-parallel adapter returns normal `Faraday::Response` objects and executes requests immediately, not as queued futures.
-
gem샘플 컨트랙트ruby · linux/x64csv@3.2.2
믿는 것skip_blanks:true causes any row that contains no non‑separator characters to be omitted, even when the row consists solely of delimiters
측정한 것raise 'expected delimiter-only row to remain as nil fields' unless rows[1] == [nil, nil, nil]
-
composer샘플 컨트랙트php · linux/x64symfony/console@7.0.3
믿는 것Passing the string '0' as an InputOption shortcut parameter correctly assigns it as a valid flag alias like -0.
측정한 것new InputOption('foo', '0')->getShortcut() evaluates to the string '0', proving that zero-string shortcuts are preserved rather than incorrectly dropping them as empty values.
-
composer샘플 컨트랙트php · linux/x64guzzlehttp/guzzle@8.0.2
믿는 것A developer expects Guzzle to normalize request methods to uppercase before dispatch, so 'gEt' will become 'GET'.
측정한 것assert GuzzleHttp\Client::request sends the exact method token 'gEt' without uppercasing it to 'GET'
-
composer샘플 컨트랙트php · linux/x64guzzlehttp/guzzle@7.9.0
믿는 것A null value for one per-request header removes that inherited header exactly like setting the entire headers option to null.
측정한 것Passing headers with a null value sends the request and overrides that inherited header with an empty value while preserving other defaults.
-
pypi샘플 컨트랙트python · linux/x64tenacity@9.1.4
믿는 것Exhausted retries always raise RetryError, including result predicates with a fallback callback and exception retries configured with reraise=True.
측정한 것A result predicate that still requests retry after the third attempt raises RetryError whose last_attempt is a successful Future containing the rejected None result.
-
pypi샘플 컨트랙트python 3.12 · linux alpine/x64protobuf@7.35.1
믿는 것A plain proto3 scalar set to its default has presence like an optional field, and protobuf JSON emits int64 values as JSON numbers while omitting explicitly present optional defaults.
측정한 것DescriptorPool.Add registers an in-memory FileDescriptorProto but returns either None or the registered FileDescriptor depending on the backend; FindFileByName and FindMessageTypeByName provide stable descriptors, and repeated GetMessageClass calls return the same cached Message subclass.
-
pypi샘플 컨트랙트python 3.12 · linux/x64pandas@3.0.5
믿는 것An inner pandas DataFrame.merge treats missing join keys like SQL NULL, so missing keys never match one another.
측정한 것With two missing Int64 keys on each side, an inner DataFrame.merge returns four missing-key rows containing every left/right pair.
-
pypi샘플 컨트랙트python · linux/x64pillow@12.3.0
믿는 것ImageOps.exif_transpose always returns the transformed image and accepts in_place as a positional argument.
측정한 것The default ImageOps.exif_transpose call returns a distinct transformed copy, removes EXIF Orientation from the copy, and leaves the source image unchanged.
-
pypi샘플 컨트랙트python 3.12 · linux/x64django@6.1
믿는 것A signed cookie remains valid when copied to any cookie name whose name-plus-salt text matches the original pair, and enabling legacy compatibility is a silent permanent fix.
측정한 것RequestFactory and Client execute without a server or database, keep POST form data separate from repeated query_params, let per-call query_params replace constructor defaults, and negotiate the Accept header.
-
pypi샘플 컨트랙트python 3.12 · linux/x64numpy@2.5.2
믿는 것casting='same_kind' prevents integer overflow during narrowing, while astype(copy=False) refuses any conversion that must allocate a new array.
측정한 것astype(casting='same_kind') accepts int64-to-int8 narrowing and wraps out-of-range values instead of checking them.
-
pypi샘플 컨트랙트python · linux/x64importlib-metadata@9.0.0
믿는 것Callers often treat entry_points() and files() as plain lists of strings or paths and miss the selection, name lookup, distribution, hash, and location semantics carried by their specialized result objects.
측정한 것The third-party importlib_metadata package resolves its installed 9.0.0 distribution under normalized hyphen and underscore names.
-
pypi샘플 컨트랙트python · linux/x64cffi@2.0.0
믿는 것Developers typically expect invalid RSA serialization argument combinations to raise ValueError.
측정한 것A valid PEM serialization can be deserialized and preserves the RSA private numbers after those invalid encodings are rejected.
-
pypi샘플 컨트랙트python · linux/x64cryptography@47.0.0
믿는 것CRYPTOGRAPHY_OPENSSL_NO_LEGACY is a build-time compilation flag rather than a runtime environment variable evaluated when OpenSSL bindings initialize.
측정한 것Setting CRYPTOGRAPHY_OPENSSL_NO_LEGACY=1 before cryptography OpenSSL binding initialization prevents loading the OpenSSL legacy provider, causing Blowfish cipher encryptor creation to raise UnsupportedAlgorithm
-
pypi샘플 컨트랙트python · linux/x64cryptography@47.0.0
믿는 것Passing a non-None password parameter when deserializing an unencrypted SSH private key is silently ignored by load_ssh_private_key.
측정한 것load_ssh_private_key raises TypeError when a password byte string is passed for an unencrypted SSH private key rather than silently ignoring the unneeded password.
-
pypi샘플 컨트랙트python · linux/x64cryptography@47.0.0
믿는 것AESGCM.generate_key takes key length in bytes and AESGCM.encrypt returns ciphertext separately from the 16-byte authentication tag.
측정한 것AESGCM.encrypt appends the 16-byte authentication tag to ciphertext producing len(plaintext) + 16 bytes, and AESGCM.generate_key rejects byte lengths with ValueError
-
pub샘플 컨트랙트dart · linux/x64equatable@2.0.0
믿는 것An Equatable object's toString method only outputs its properties if stringify is locally overridden to true or if EquatableConfig.stringify is explicitly enabled.
측정한 것By default in debug mode (assertions enabled), printing an Equatable instance that does not override stringify prints its property values because EquatableConfig.stringify defaults to true.
-
pub샘플 컨트랙트dart · linux/x64equatable@2.1.0
믿는 것Equal-length maps might appear equal when a missing key lookup and an explicit value both return null, even though their key sets differ.
측정한 것Two Equatable instances compare equal when their map-valued props contain the same key-value entries.
-
pub샘플 컨트랙트dart · linux/x64equatable@2.0.8
믿는 것An Equatable instance containing a Map property evaluates equality by comparing both keys and values, returning false if keys differ.
측정한 것equatable 2.0.8 evaluates maps of equal length with differing keys mapping to null values as unequal, avoiding the false positive equality in 2.0.7.
여기 있는 줄을 확인하는 방법
샘플을 열고 contract를 읽고 실행하십시오. contract는 그 샘플 자신의 테스트입니다. 네트워크를 끈 고정 컨테이너에서 실행되고, 그 실행의 서명된 영수증이 네트워크에 저장됩니다. 여기 있는 어떤 것도 라이브러리에 대한 우리의 해석에 기대지 않습니다. 라이브러리가 실제로 한 일에만 기댑니다.
게시된 샘플 중 일부는 이 페이지에 없습니다. 계약은 통과했고 샘플도 살아 있지만, 그 계약에 문장으로 읽힐 줄이 없기 때문입니다. expect(x).toBe(1) 같은 단언은 그것이 검사하는 믿음 옆에 놓아도 독자에게 아무것도 말해주지 않습니다. 읽을 수 없는 근거를 싣기보다는 뺀다는 쪽을 택했습니다.