When the Tests Control the Lights
package com.example.project import ... class CalculatorTests { @Test fun `1 + 1 = 2`() { assertEquals(3, calculator.add(1, 1)) } companion object { private val calculator = Calculator() }
A video shows a programmer running a calculator unit test on a laptop. When the test fails, the room lights turn red; when the test runs successfully, the room turns green. The joke is that the build status has been connected to the house lights, making software debugging dramatically control the atmosphere.
laptop / ноутбукcomputer monitor / компьютерный мониторIDE window / окно среды разработкиsource code / исходный кодunit test / модульный тестtest failure indicator / индикатор провала тестаgreen status light / зелёный индикаторred room lighting / красное освещение комнатыceiling lamp / потолочная лампаwindow with curtains / окно со шторамиtelevision / телевизорwooden desk / деревянный столcables / кабелиdark room / тёмная комната
- @dev_meme / 1169 2020-03-24
- Type
- video, 0:24
- Size
- 440×720 · 6.8 MiB
- Mood
- absurd, relatable
- Language
- en
- Added