codesamplex

サンプル

Show that Sinatra's :show_exceptions is true by default in the test environment when left unset.

sha256:aaba0c2689bd898960a6c75534a8a887ee22ee96434c194cfb74490ef72a4ae0

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Show that Sinatra's :show_exceptions is true by default in the test environment when left unset. HOW
パッケージ
sinatra 4.0.1
環境
ruby
作成日
2026-08-16T17:02:11Z

よくある思い込み

When a Sinatra app runs in the test environment, the :show_exceptions setting defaults to false unless explicitly enabled.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート