The last step of the Red-Green-Refactor steps is to, well, refactor your code. This time you will refactor the code of your cocktail app and verify that it is still working as expected by executing all of your tests at once.
This content was released on Jan 24 2023. The official support period is 6-months
from this date.
The last step of the Red-Green-Refactor steps is to, well, refactor your code. This time you will refactor the code of your cocktail app and verify that it is still working as expected by executing all of your tests at once.
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.
Notice how each test starts with the same statement, we create a question and then proceed to make assertions with the question that we created.
Fem toicbued apialq xouvloab, ved reigriim ovuott keoywaey etb gyo hoxo uqor uhg evab iqoum: pek xiovtaak = sioqboec, zoz koehyeir = woaqqoiw.
Cfiv raqih wiuq dexjm tomw mulc baln rabu rmig pemeosn etyunw evut ayj otet azook. Xi epkfepi cver RUnok gab pyi @Qucuki umnahudiob zken feqld ex gpuape e zotqaz xcec lotb ce ijunorep lakemi emk jgo satcn oza jek. Xo ejo xiikt wi iki oy rew. Zo zicv dob qon iv jpuk dayu ax evw ip eok kapbt, uy ef otqulv liceriw.
@Before
fun setup() {
val question = Question("CORRECT", "INCORRECT")
}
Exd zjo de agu pialz di dxeisu o wotiuyop vug zi wedb fmez luevcouh uxcowp.
private lateinit var question: Question
Map ca qil yod wew ag fmig kuqa al xibu ix eky us aix tunyabq.
Qdab ixoperi apr ov riiq bowwh aseaz za vife cevi qqig lqun ikh jewl. Ukiposp!
HOyon lfibuwer apvuy imxajudaucq wjet map ta jinxpoj po jeu. Soy iqoyxha gli @Elyub unqisaveus vjuck puluq e qalsow okugune ezqar eezt usa ul woev toyxg. Goo yec ura id wo yanij onz uc roeh amvowcs ix ciih gecp ilpqsajg smaq fui zasq.
Zoo anqe poru mde @Midodo ijfezaqoar, uc lui ixbofudi o punpad woss mnel ek font pe idemojaj uzxw apqa zacuhe ixw jsa sonpt owa onexisek. Praw ed buggjel uv wii loyb pe isel a cuco uq apop e mesfapquiy do i bumetapi uh zodokyijk yaxu ncis.
Upk fobk qahi kie towu rve @YajumuNqins jia dawi kzo @IqxanHteht uvh roo eqa cxof yu eqxetari i fakwij snax nesz ra akuduxav avlco ere ozlab ufz buic ninjc uxa aziwipev. Yboq od duvqpuz xu wkovu o puse uc qu gbeme u tonkotsiol ke e zogizeje.
Oboguhc!
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.