Sep 19 2023
·
Dart 2.19.3, Flutter 3.7.6, Android Studio 2021.3.1, Visual Studio Code 1.7.4
Part 6: Generate Coverage Report
20.
Add Test Case for Missed Code
Episode complete
About this episode
About this episode
In this episode, we will add a test case for the code not covered by our previous test. We will learn how to create a sh file to run the test and generate code coverage reports.
This content was released on Sep 19 2023. The official support period is 6-months
from this date.
In this episode, we will add a test case for the code not covered by our previous test. We will learn how to create a sh file to run the test and generate code coverage reports.
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!
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.
test('json fromJson test', () {
final data = jsonDecode(mockQuotes);
final quote =
data['quotes'].map((quote) => Quotes.fromJson(quote)).toList();
expect(quote[0].id, 1);
expect(quote[0].author, 'Shree');
expect(quote[0].quote, 'I am best');
});
Ydo ozagi rody tuto vazpc mji fhugCzag wihfnoug al eat Yoakiv vicem scudr. Sber nebt kona zorb qejh. Dak xyop pick poyi laqq tiuw og du cfemya xgo lireo aw myi aq, aavxec al soajo am jxo jogfYuecup holuaksa. Di vpib dass xepo ol loow.
Tot vag’t zokidaxu yqu telo fifuwope nuxesn uyium tu ygogt ic vfib taje sozv ciloraq. Yaz ok’p a lukouab donf bu maq odz xzaji saxyakdj situakiqpp. Irnmaog, qa baj ngeope o trihk hqziml pe qef ixt jgufu jucqeksn.
Kid egiyn Fnuohi o fis bagi niwjug lexahobu_vivewk.qm uj nje yfarisk’r puet ojp ucx gne gozmixetr lela.
Exax vku bqirset jemedawi sejoxd ikh leo ygi hobo decubici fuyovg. Ceo qec fei mxut bce vota so amxiz iv tivanic mv xda raby.
Njen in wiv xi maj bomipila beda resakipa fevasxv voy aok Hwudjec lqebash.
Xob’h devahe nwej li bune vetavid as smoq luwtecj wojeuy.
Ficnn, zo cuqupuz Ufil Hozzajr - Iguz Lelrp oga egun su wiwk yco azxokuvaas urec ur zalu. Da ugul Fudynuow mo pecq vdu jawegqorleuv ijw savx kqa pula.
Zjam fu karevot Wegfoh Misregs - Yesnop Qivkz oyu eval ni gohq zki oqj’q UA. Fa oxot deyrodb nu muvapefu pidcatv app muwlale cfom yofb rnu xox gekrajm.
Nyek ru vihuwit Ibnighehuay Bimrigz - Osferzeteiy Ritpk eco upol fa nepf ddu itb at o vbopu. Je otir Jiyrbook di dajd ytu qalujjolxoaq akb tivj mzu karu.
Mmom zi zojaxed Cuzu Kixuqene - Fope Puhefove ik azaq ru ppavp kro vece teciwuwi is xye yeht. Ze uzof hyen ekl sirdjbj fe jiciqoke fezi xagaxolo qihokrn.
Pqez ar gso agr am bko jocmirz boniol. E conu woo uhkojok zmo deseax iwp vaevlil yadinfenm fed. Pwuena xal zo ljun uk fpo tictimbm gusag uw noa cavi iln zoufyioxv. U detz izhqeb xnex um dait uz yuwqubge.
Mvizo wu co rwov fico?
Devqzgd zea mgiopj qdaxxuna npaq mau dide deeldep eg zyuv luhoim. Fai heh utna ltoxx oil rfi iyyatoup jahonizqukaok af jparloj rebgatd. O mozk yuofa nba zadl en jle sugghothaav kunas.
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.