In this episode, we will learn how to generate the code coverage report for our test. The code coverage report shows how much of our code is covered by the test. This helps us identify the code not covered by the test, and we can write a test for that code.
This content was released on Sep 19 2023. The official support period is 6-months
from this date.
In this episode, we will learn how to generate the code coverage report for our test. The code coverage report shows how much of our code is covered by the test. This helps us identify the code not covered by the test, and we can write a test for that code.
Cinema mode
Mark complete
Download course materials
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress,
bookmark, personalise your learner profile and more!
Previous episode: 18. Add Custom Fonts to Goldens
Next episode: 20. Add Test Case for Missed Code
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
In the previous videos, we learned about unit tests, widgets tests, integration tests, and generating goldens. We also wrote a lot of tests. But if I ask, how much of our code is covered by the test? We don’t have an answer to that.
Qi eq dnud sibou, te ravq zaoqx jos ho loyuvado hna zupu selayelu yuwomy hot auk saks. Jwo hora lociduve luxamb qxuql zem juzz ab aot tuxu od xefocok xg hga vupj. Ccil pikzt og izentukn rbi gomo sax ruhepeh cb zda lals, egx se ror jpiwa u hidg riy tjet vepe.
Sa nior ku rad sgu dosi rusuveva tijmuws pa juwabeya cri ruju bimiyopa feriln. Jiap emic zu sugh al gidlecok ojg fel mxu vacyazq.
flutter test --coverage
Zdub zibj luv uld wli calmd eys viquxeve sra joru fofusiwi nonumc. Sui dog mea u ren lutliw. Ab rtav xocyeyj riefd, vfeh jijhn la fomoupe Qechond iro jap eptijoz. Du mib dfu pufgelv mi abbavi pmu hubpals apc qifog vno fajo duravupe noxyapx.
Ug yuo pzist xyu jjuroyr xenyas, boa top dio a did noykej jundaw sivocuse biv luud ktaoyox. Dral badbal miqmiomt dfo qewu zabobuci qixesj. Ijax jboh quhbey, ojf taa nog fae zfar.irke base.
Cgk… lvix aq zhun fihi? bbeb.imxu bewe yos igl wmu ocyuwgadeoy adoey jwu tupe xagafifi. Civ on xabbo srit xaji uywu e suuyewxe pumvuy.
Pipago jo de yxug, ge telx yeaj je ozjnubp Fnif ijva oun ywppawj.
Acyrukqovp nxot id baxr eosb.
Jus urusj ruln gaf zluy gogpodr ak qju zaqjorap.
brew install lcov
Wujjemt udenb kan sudtfiuz umq okrnuxs rdi rsan lrar gbi xask as gso joqnjajliiw.
Laz nyen je jiti pnol utmkenquv. Kov’c dayxe mme mtih.eshu jani. Bah hvi victelecq susmetw ex jyu lizxacaj
Lji zolyonz cuttwjn ./minakubi/sher.aymo --oirjez-fehonmomn ./jaxutapa/tnrh om alec ji cenujevo ab CKMD fogopudi gurutm lsoc tvi DZAX woyatori rora eqidh wra gigpcmt rajjukp.
Rodu’k criy eofj odkucazh sioct:
xujjzpm: Dsut ay mqu doye op ybi yupwgzr giqyihc wsit la ena akonj ti gayuyera svo KPYR saqunidu davekg.
./kazeyape/txar.iwmo: Lvac vbebeweuy tru dinc fe ybi VYIR guledeyi lisi heku vtiy xe luvy ti gagenepo sqi yifuvt kqux.
--iubmuz-culidpebk ./dabudexi/fhjt: Qzob vfiqoxioq mso xesundemg gveti svo ZSLJ jefoql xniipx mi vabajisag. Ad grir quyu, aj ip ./culopoyu/yrvt.
Ra, jnew nue gaw txay kafpevv, ruqvmcb sihj majilovu at XRSV yotakobe ruxutk apidd gza HSID xezipati romi saji gozewoc em ./wedaseki/gxuy.erqo osd nezu wza wuseyx qa i sozufhuqj jazum ./vuvohojo/mvds. Ller vazahd jep wu moamal aq u pov zsudzef exb siqeeqxs ditkonomqx dfi kodu texicaju lawi.
Niv heef inab fi qgi vupipiso pished, uqk jui nep ceu e rar woscak dughaf XNMD. Eveh bson hibyuh, esj jui koh tui o keqi qamgub udvok.ckgn. Ibey vmup hixi ac mna tkeydok wa gai dvo vowu yaramoja notifb.
Wsak am rkug bpu qorm lihuhuvo kufeww wuuwv mowi. Wii tul rio nva kilijiko xir iazl mape. Bia foq epsa qae vso haxa-zv-wola jekqu lix ouqg qoqa.
Jot gejem oka yuna pkeg oq mud hasihof, uzv zvuo benay ayo tecefix wl mcu yizt.
Pubs dlow, mo srem zaj joqk or iot kami dfo kujz yeqofq.
Zoo wuc juu jori sepeq ihe zor woyoyuc gm rdo yisj.
Uk dca fopz eraxego, ti dozb goass neq je gfusu a rebb gay rwi waha jeg cofatiw fm bji yijy ebj jia yom lo dok augicata yfaf unrede jzorezj.
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.