PHP Unit Test Explorer With Laravel Sail

Image
What is PHP Unit Test Explorer Before we discuss in deep, i want to explain the standard definition. PHP Unit Test Explorer is one of extensions in visual studio code. You can search in extension menu and install it.  After installed, you can find it on sidebar. It has test tube icon. Laravel Sail Laravel sail is one of laravel tools for easy and consistent development. Under the hood, it uses docker and docker compose. One advantage using sail is we don't need to setup bunch of php and web server configuration. It was already handled by sail. We just need to run docker compose command or via sail command. You can learn more detail about how sail works in Laravel documentation here . What if we want to implement TDD in Laravel? As developer, we need to make sure our code run well. So, we need to test it by implementing TDD. Luckily, Laravel support TDD by default. You can run artisan command to generate test file. In the newest version, Laravel supports phpunit and pest configurati

Peta Situs

    Comments

    Popular posts from this blog

    Mengapa Saya Memutuskan Menjadi Seorang Freelancer?

    PHP Unit Test Explorer With Laravel Sail

    Completely a Mess or Achievement ? Evaluasi 2 Tahun di Jakarta