@StatelessCode
  @StatelessCode
Stateless Code | Why Test Driven Development? @StatelessCode | Uploaded October 2021 | Updated October 2024, 4 hours ago.
If you've watched any of the videos in the NerdDice series (youtube.com/playlist?list=PL9kkbu1kLUeOnUtMpAnJOCtHdThx1Efkt) you'll quickly notice that I expend a lot of effort on writing software tests. Why do that if your user is never going to directly experience the tests? If you have a project that lasts longer than 15 minutes, you're eventually going to want to make changes to it, and you want to be able to make those changes with confidence that you won't accidentally break something somewhere else.

In the Stateless Code videos, I try to follow an approach known as Test Driven Development as closely as possible. In that approach, you write the failing test first, then add in the code to make it pass, and then refactor the code as needed, ensuring that the tests continue to pass. If you ever have to hand off a project to another developer or have somebody join a team, they are going to have far more success onboarding if you have a healthy and robust test suite in place.


This video is CC0 - No rights reserved. (YouTube doesn't allow this option when publishing.) All code is released under the UNLICENSE. Stateless Code denies the concept of "intellectual property". Copying is not stealing.
Why Test Driven Development?Remix One of Your Existing Videos into a YouTube ShortCodecast: statelesscode.com WordPress 24: Style the Comment FormCodecast: statelesscode.com WordPress 09: Use Flexbox to Position Sidebar and Add StylingCodecast: Getting Started with Rails 7 09: Update an Article and Use Form PartialsAdd a CONTRIBUTING.md File to the Project to Help with CollaborationCreate a RubyGem 91: Add a Security Policy to the GemCodecast: Getting Started with Rails 7 01: Install, Create Project, and Start ServerCodecast: Create a RubyGem 77: Add Default Behavior for Advantage if Number to Keep not SpecifiedInkscape 05: Create Stateless Code Inkscape LogoUpdate a Rails 7 Application to use Ruby 3.2Install Git on Ubuntu 24.04 and Configure for Verified Commits in GitHub

Why Test Driven Development? @StatelessCode

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER