У нас вы можете посмотреть бесплатно TDD vs BDD. The giants of test go head-to-head или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In the opening rounds we'll be looking at: Focus, Writer/Reader, Speed of Execution and Specificity. Will they favour TDD or BDD? = = = = = = = = = = = = New for 2024: my best-ever training: "How Your Agile Teams Can Achieve Predictability and Productivity WITHOUT Burnout" → https://www.developmentthatpays.com/w... = = = = = = = = = = = = Grab your FREE Cheat Sheet: https://www.developmentthatpays.com/c... Watch as Test Driven Development (TDD) and Behaviour Driven Development (BDD) square off in a gruelling 7-round bout. Will Test Driven Development win on points? Or will Behavior Driven Development land the knock-out blow? 1:12 - ROUND 1: Focus 2:18 - ROUND 2: Writer and Reader 3:03 - ROUND 3: Speed of execution 3:57 - ROUND 4: Specificity ** CORRECTION ** At 3:00 I call a round for "TDD". I should have called it for "BDD". PREVIOUS EPISODES: TDD and BDD - • TDD and BDD - What Are The Key Differences? What is TDD? - • What is TDD? What is Test Driven Development? What is BDD? - • What is BDD? What is Behavior Driven Devel... Music: 260809 Funky Nurykabe: ccmixter.org/files/jlbrock44/29186 ------------------- 62. TDD vs BDD. The giants of test go head-to-head #DevelopmentThatPays Previously.... I tried to start a motorbike That's a System Test. And a Black Box Test. It's also a Behavioural Test: a direct test of a behaviour that I - as the user of the motorbike - care about. When my Behavioural Test failed, I checked for a spark. That's a Functional Test. No spark Perhaps the battery is flat. Or the wiring is faulty. Or the spark plug has failed. Checking the sparkplug in isolation is an example of a UNIT TEST At this point, the poor old Functional Test... Got squeezed out. Leaving us with the building blocks of today's main event. In the blue corner: Test Driven Development And in the green corner: Behaviour Driven Development. Let's have a good clean fight. Welcome to Development That Pays I'm Gary Straughan Today, we continue a journey that started three episodes ago. If you missed any of them, you might want to watch them first - You'll find links somewhere around this video. Now that we've looked a TDD and BDD individually, I thought it might be useful to take a look at them side by side. This bout is scheduled for at least 7 bruising rounds. Round one: Focus ----- Test Driven development is an inside out process. It starts with a developer writing a single test.. and then write some code - just enough to get the test to pass Then another test and then write some code and so on an so forth. The tests and the code grow and develop together. They're intertwined. The testability of the code - is built in. As is the quality. Behaviour Driven Development, on the other hand, is an outside-in process. The desired BEHAVIOURS of the finished system - the things that the end user will actually experience - are described up front. And they're described by a set of Behavioural Tests. All of which can, if desired, be written before a single line of application code. When development begins, the focus is on getting the Behavioural Tests to pass And since the tests relate directly to the Behaviours that the end user will experience, the development focus is actually on delivering VALUE. If TDD is about doing the thing right, then BDD is about doing the right thing. Round 2: Writer and Reader --- Who writes the tests For unit tests - which are written in code - the answer is clear: it's the developer For behavioural tests, the plain english test format means that the tests can be written by the person that understands the customer best: the Product Owner. Or the Product Owner and the Development Team. Flipping the coin, who is likely to read the tests For units tests, a developer. A tester at a stretch. For behavioural tests, it's almost anyone: developer, tester, product owner, business owner, stockholders. Round 3: Speed ----- Unit Testing requires that components are tested in isolation. In many case this will necessitate "faking" - or mocking - dependencies. This can be the trickiest part of unit testing. But there's an upside to testing in isolation - with our without mocked dependencies. The upside is that Unit tests tend to be super-quick to run. With Behavioural tests we're always testing the system as a whole The challenge here is putting the "putting the system into the correct state" in order to be able to run the test. Everything in the "Context" section. This setup - which may require a whole series of teardown and setup steps - has to happen before each and every test. Not particularly difficult to do. But not quick • TDD vs BDD. The giants of test go head-to-... • BDD vs TDD (explained)