Simple and complete DOM testing playground that encourage good testing practices.
皆様フロントエンドのテストを書いていらっしゃいますでしょうか? フロントエンドのテストを書くときには API コールする処理を全てモックする必要があります。外部の API をコールする処理をテストに含めると API サーバーが落ちているなどの外部の要因によってテストが失敗してしまう可能性がありますし、テストを実行するたびに実際に API をコールしてしまうとサーバーに負荷がかかってしまうなど外部に対しても悪影響を与えてしまいます。 さて、従来のモックする手段としては Jest のモックを利用して axios や fetch などのモジュールをモック化する手法がよく使われていたかと思います。 最近のテスト手法として API コールをモックする際に Jest ではなく Mock Service Worker (以下 msw )を使用する手法が注目されています。実施にどのように使用されているのか
Test page of HTTP Status code Abstract When testing/developing a software, you may need a Web server that returns particular HTTP status code in HTTP header. This site provides any HTTP status codes for testing. How to use Just access below URL: http://ozuma.sakura.ne.jp/httpstatus/[http_status_code] fill in [http_status_code] with HTTP status code you need. For example, http://ozuma.sakura.ne.jp/
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く