@tomi I saw group but not sure how to implement it. I did read that it the docs.
In my mind when I create a new test via artisan that it seems like I should be able to point to that specific test, instead what happens is when I run artisan dusk, it runs all the tests. Just trying to. understand.
@gcwilliams I see what your saying to create multi methods and point to them, but I would rather point to different test cases,
All Dusk is doing is passing the options after the dusk command to phpunit. You can run any phpunit command option, including --groupor --filter. Filter can filter via the individual test name or you can filter by the entire test class name. Example:
class CreatePostTest extends TestCase
{
/** @test */
public function guests_may_not_create_posts()
{
}
}
You can filter by guests_may_not_create_posts or CreatePostTest