Laravel 5.2: Unable to locate factory with name [default]
<p>I want to seed database 
when I use this </p>

<pre><code> public function run()
{
    $users = factory(app\User::class, 3)-&gt;create();
}
</code></pre>

<p>Add three user in database but when I use this  </p>

<pre><code> public function run()
{
    $Comment= factory(app\Comment::class, 3)-&gt;create();
}
</code></pre>

<p>Show me error</p>

<blockquote>
  <p>[InvalidArgumentException]<br>
  Unable to locate factory with name [default] [app\Comment].</p>
</blockquote>