Unit Testing Rails Models (Test Driven RSpec, Ep 04)

  Рет қаралды 10,327

Brett Codes

Brett Codes

Күн бұрын

Пікірлер: 13
@brettcodes
@brettcodes 7 жыл бұрын
Here are the timestamps for the core concepts in this episode since they are fairly discrete: - Creating a Console model (0:45) - Testing model validations (3:28) - Testing model methods (12:17) - Testing model scopes (15:12) - Refactoring the consoles array of hashes into database queries (20:12)
@JonnyMarshall5
@JonnyMarshall5 4 жыл бұрын
Thanks so much for these videos. I even saw a course on a premium (paid) online learning platform, and it's not a patch on this video series!
@1936Dany
@1936Dany 5 жыл бұрын
Great stuff, thank you!
@BruceLee-rr5xe
@BruceLee-rr5xe 5 жыл бұрын
@21:38 why are you using vim?
@brettcodes
@brettcodes 3 жыл бұрын
lol! Good point. At this time I don't think I knew how to quickly do this. I might be closer now, three years later, but I guess we'll have to see in a future screencast.
@qazisahab8406
@qazisahab8406 5 жыл бұрын
Your videos are very helpful to build initial confidence and know how with TDD, but i think mostly issue with people who hve nto worked in TDD and want to switch over to TDD is mostly in planning phase, like they have a requirement of a full feature, how do they go about doing TDD while what they are used to is to build a proof of concept logic first, than refactor it to the point it is production ready and than write tests, vs doing TDD in such scenario...
@brettcodes
@brettcodes 3 жыл бұрын
This is really helpful feedback, thank you. It seems like a video where I drive out a non-trivial feature for an app would be useful. I'll add that to the list of videos I'd like to make. A lot of what's in this series is pretty trivial and manufactured, so it'd be nice to have a more thorough example.
@patrykgramatowski702
@patrykgramatowski702 3 жыл бұрын
Awesome!
@brettcodes
@brettcodes 3 жыл бұрын
Thanks, I appreciate it!
@kleinesmaccify
@kleinesmaccify 5 жыл бұрын
Fine piece, but the continous keyboard clicking is catastrophic...
@brettcodes
@brettcodes 3 жыл бұрын
I'll try to see if I can at least reduce the noise of it for future videos. I appreciate the feedback!
@al-mokhtar_
@al-mokhtar_ 3 жыл бұрын
*seriously!! the lad spend hours recording and editing videos for free then you show up tell him how catastrophic the keyboard just what kind of human you are !!*
@kleinesmaccify
@kleinesmaccify 3 жыл бұрын
@@al-mokhtar_ so there are two catastrophic things: keyboard clicking and me :)
Capybara Testing Basics with RSpec (Test Driven RSpec, Ep 05)
15:04
Testing a Rails API with Request Specs (Test Driven RSpec, Ep 02)
23:23
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
The Return of Procedural Programming - Richard Feldman
52:53
ChariotSolutions
Рет қаралды 48 М.
Configuring RSpec for Rails Apps (Test Driven RSpec, Ep 03)
29:36
Ruby TDD Basics with RSpec (Test Driven RSpec, Ep 01)
16:46
Brett Codes
Рет қаралды 45 М.
Sandy Metz - SOLID Design Principle in Ruby
47:12
Imran Ismail
Рет қаралды 13 М.
TDD in Ruby on Rails made easy
16:08
Alberto Almagro
Рет қаралды 2,4 М.
The Only Unbreakable Law
53:25
Molly Rocket
Рет қаралды 342 М.
Basic rspec Ruby on Rails model specs
24:27
CJ Avilla (cjav_dev)
Рет қаралды 17 М.
Clean Code - Uncle Bob / Lesson 4
1:30:36
UnityCoin
Рет қаралды 314 М.
Playstation 5 Pro 30th Anniversary за 750 000
1:29
Romancev768
Рет қаралды 457 М.