Skip to main content

Screencast : Unit Testing With PHPUnit



hello guys, here we are. we will learn about testing like unit test or test driven development, but in this case we will learn about unit test using phpunit. we know that phpunit is the framework test that very popular for web development instead of the other testing framework like laravel dust. or something else.

in this case, i want to share with you all about screencast that much benefit for you that courious about to learn testing. before that, is you know how the test work? is it we clicked all website or something? NO!!. test work using console and its work when we code our test to achieve something. like when we assert to login or register we code that assert must be achieve true or something else response to be "success" or "200".

what is benefit if we use unit test in our project? 
1. it much easier to test 
2. it decrease error before our project up to production
3. it make our project more maintainable.
4. it make us more profesional :D

what is disanvantages of using unit test?
1. more code to write
2. more hour to end up your project
3. more hard to code

so, i think if you choose to be more profesional developer, you should choose using unit test from now.  goodluck!

in this morning i got ten screencast free about unit test from youtube. i think it whorted for you. its teach us step by step and very easy to learn. here we go, look at the list video in the bellow.

















congrats guys.. hope you enjoy this tutorial and that screencast above. thankyou verymuch ^_^

Popular posts from this blog

Membuat Kalkulator BMI Swift dan UIKIT #IOSDEV

halo semuanya, kali ini saya mau membagikan project kecil kecilan saya yang terinspirasi dari apps di appstore, kali ini saya mau membuat kalkulator BMI menggunakan swift dan UIKIT, kalkulator BMI adalah kalkulator untuk mengukur apakah berat badan kita termasuk kedalam kurus, normal, gemuk atau obesitas, dengan memanfaatkan UIKIT saya akan menyajikan kalkulator dengan tampilan lebih interaktif. berikut tampilan kalkulatornya. kalkulator ini memiliki beberapa komponen yaitu : 1. slider 2. label 3. segmented control slider kita gunakan untuk mengatur angka yang ingin di inputkan oleh user, kita batasi sesuai dengan berat dan tinggi manusia pada umumnya. label kita gunakan untuk menampilkan hasil dari input user dan memberikan judul dari komponen tertentu. segmented control digunakan untuk memberikan efek dark dan light mode seperti aplikasi telegram dan twitter. oke lanjut saja ke langkah2nya. 1. buat project xcode dengan nama BMICalculator 2. lalu siapkan se...

Membuat Game Sederhana Dengan JavaScript

Assalamualaikum Wr Wb Javascript adalah Bahasa pemrograman yang di pakai di web, javascript kebanyakan di gunakan untuk kebutuhan membuat animasi, tapi tidak semata-mata javascript hanya bisa di pakai untuk membuat animasi, untuk kebutuhan operasi web pun sering di gunakan. Javascript bersifat Client Side, maksudnya adalah javascript berjalan di PC pengguna atau pengakses web, dan scriptnya pun bisa di lihat oleh user, berbeda dengan PHP yang scriptnya tidak bisa di lihat oleh user. Selain di buat animasi, Javascript juga bisa di pakai untuk membuat aplikasi web, salah satunya adalah GAME, pada kesempatan kali ini saya akan memberikan tutorial bagaimana membuat GAME sederhana dengan Javascript, memanfaatkan event-event dalam javascript. berikut screenshoot dari game sederhana : Alur Game : 1. Klik button Start. 2. gambar monster akan bergerak cepat. 3. klik sebanyak mungkin gambar monsternya. 4. Apabila skor lebih dari 20, maka anda akan menang. untuk s...

Automatic API Documentation Swagger in Golang #GolangDev

pixabay.com In this article, I'll explain how to generate an API blueprint instantly using SwagGo in Golang. API blueprint is a document that contains a bunch of API endpoints, its slickly same as documentation but less description, it's allow another programmer to read and see all the available endpoint and try it out with sandbox feature. Swagger is one of the most used API blueprints right now, it's available in free but limited usage. if you wanna use the free credit, you need to understand YAML notation, you can read the example notation in swagger official documentation. but again, it's really hard and takes an expensive time to arranges all the notation to achieve a good API blueprint. fortunately, there are tools in Golang that allow us to generate the YAML notation and automatically generate the blueprint page with only using markup notation, and it's FREE unlimited for self-host, insane right? SwagGo tools are available here , the documentation is very cl...