<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sakamata</author_name>
  <author_url>https://blog.hatena.ne.jp/sakamata/</author_url>
  <blog_title>作りたいものがありすぎる</blog_title>
  <blog_url>https://sakamata.hateblo.jp/</blog_url>
  <categories>
    <anon>Laravel</anon>
    <anon>PHP</anon>
    <anon>MySQL</anon>
    <anon>SQL</anon>
    <anon>Test</anon>
    <anon>TIPS</anon>
  </categories>
  <description>Laravelでブラウザテストをしていますが、testの際のシナリオとして、以下の様な検証をするケースがありました。 DBに値を入れない状態でtest開始 いくつかのtestを行う。 あるtableにレコードを入れた状態で同様のtestを行い表示の確認 tableが0件の状態とレコードがある状態で表示が変わるので、その検証。という事です。 ところが、テストの各項目の都度、 setUp() メソッドに書かれた refresh:migrate, db:seed とかいちいちやっていると時間がかかるので、以前の記事にある様に、初回だけ やって、後は現状のDBを使ったまま破綻しないDB操作の手順を考え…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsakamata.hateblo.jp%2Fentry%2F2019%2F02%2F14%2F152305&quot; title=&quot;Laravelのブラウザtest duskとDBtestを混在させる場合に  use RefreshDatabase;を使ってハマった話 - 作りたいものがありすぎる&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-02-14 15:23:05</published>
  <title>Laravelのブラウザtest duskとDBtestを混在させる場合に  use RefreshDatabase;を使ってハマった話</title>
  <type>rich</type>
  <url>https://sakamata.hateblo.jp/entry/2019/02/14/152305</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
