Writing Pest Tests for Laravel CRUD: Live-Coding

  Рет қаралды 5,019

Laravel Daily

Laravel Daily

Күн бұрын

Пікірлер: 25
@373323
@373323 Ай бұрын
good stuff, some subjects like this one for example have a lot of detail and deserve a longer video rather than getting chopped up or simplified to oblivion
@jkg_1
@jkg_1 Ай бұрын
Sir, we need a video about storage, symlinks, storage maintenance. Thanks
@LaravelDaily
@LaravelDaily Ай бұрын
Ok adding to my to-do list
@hardiklakhalani6268
@hardiklakhalani6268 Ай бұрын
Right. Also seen some codebases with "bucket thing" in such modular way that we can choose where the files get stored.
@shire7949
@shire7949 29 күн бұрын
How about "please"
@fernandolamas330
@fernandolamas330 27 күн бұрын
awesome lesson!!, huge thanks sr.!
@drugoviic
@drugoviic 24 күн бұрын
I always create a .env.testing and use that to set my preferred database for testing i.e if youre using some sql methods unavailable in sqlite
@manojbist3793
@manojbist3793 25 күн бұрын
Thanks for the lesson. Can you please make a video on CI/CD using different tools.
@LaravelDaily
@LaravelDaily 25 күн бұрын
It's a very broad topic, and each tool is even deeper. So maybe a separate COURSE about it, would you buy it?
@ziemustdie
@ziemustdie 29 күн бұрын
Finally! Thanks so much
@darkbelg
@darkbelg 11 күн бұрын
Should you use route names in tests? If you have a stand alone vue app. You can change the laravel urls and the tests will still show green. While your vue app will just fail or any external api.
@LaravelDaily
@LaravelDaily 11 күн бұрын
My rule of thumb is always use route names, no matter the context.
@holakonoob
@holakonoob Ай бұрын
if u have a big app like have 200+ model then its better to like use baseCrudTest class to not repeat it
@capins85
@capins85 29 күн бұрын
Nice explanation as always! I have a doubt: never find a tutorial to test Filament projects. Really don't know how to start
@LaravelDaily
@LaravelDaily 29 күн бұрын
What exactly you want to test in Filament? Forms/tables are internally tested in core, and if you want to test on top, it's mostly Livewire testing, and it's all in the docs.
@capins85
@capins85 29 күн бұрын
​@@LaravelDaily It's complicate to answer you briefly: I learn Laravel with your video and courses, so I educate myself to "Separation of concern", "Stay consistent" and to test features, using controllers methods as a kind of schedule. So with Filament I feel myself a little bit confused: I love to have dashboard ready without losing time with styling, but sometimes I'm not pretty sure to have the control of what i'm doing, I feel like if I repeat code in many places, I don't find the same keystone that you give me with plain Laravel. Maybe should be intresting a series of code reviews about filament! I think that I get the best lessons from your code reviews
@gdogmalone
@gdogmalone 29 күн бұрын
What’s doing your auto completion please? Is that standard or an AI? 10:56 (😂answered at 12 minutes!)
@vladislavkresta1321
@vladislavkresta1321 Ай бұрын
What if my whole CRUD si based on Livewire so I don't have any POST routes to create User model?
@LaravelDaily
@LaravelDaily Ай бұрын
In Livewire, tests are different, it's Livewire::test() from what I remember. So read the Livewire docs about testing.
@vladislavkresta1321
@vladislavkresta1321 Ай бұрын
@@LaravelDaily Great, looking forward it, thanks for your quick reply, appreciate it!
@gilney.mathias
@gilney.mathias Ай бұрын
Now do this on a 10+ years old legacy project 😭
@LaravelDaily
@LaravelDaily Ай бұрын
Mission impossible.
@trap7369
@trap7369 Ай бұрын
@@LaravelDaily 😂😂😂
@lyrihkaesa
@lyrihkaesa Ай бұрын
Can you explain how to test laravel dusk + pest on select filament search.
@LaravelDaily
@LaravelDaily Ай бұрын
Haven't used that exact combination, so can't explain, sorry.
Laravel Mini CRM for Beginners in 1 Hour: Step-by-Step
1:12:57
Laravel Daily
Рет қаралды 13 М.
I'm new to testing in Laravel (Watch me learn)
22:03
Laravel
Рет қаралды 10 М.
这是自救的好办法 #路飞#海贼王
00:43
路飞与唐舞桐
Рет қаралды 80 МЛН
MAGIC TIME ​⁠@Whoispelagheya
00:28
MasomkaMagic
Рет қаралды 31 МЛН
Junior Code Review: 5 Tips for Over-Engineered Example
12:51
Laravel Daily
Рет қаралды 3,4 М.
Advanced Laravel: Service Container & Providers (Primitives)
6:06
Jordan Dalton
Рет қаралды 4,9 М.
4 Tips to Improve Leah's Laravel Code
8:43
Laravel Daily
Рет қаралды 9 М.
Laravel + Livewire todo app (and so much more)
16:41
Aaron Francis
Рет қаралды 48 М.
The Story of BootStrap
6:14
CodeSource
Рет қаралды 84 М.
phpday 2022: Introducing PEST - The Elegant PHP Testing Framework
39:14
What’s Up with Laravel? It’s Everywhere, and Here’s Why!
6:22
18 Laravel/PHP Tips in 10 Minutes: June 2024
10:41
Laravel Daily
Рет қаралды 10 М.
React.js with Inertia in Laravel: Practical Example
8:56
Laravel Daily
Рет қаралды 2,4 М.
这是自救的好办法 #路飞#海贼王
00:43
路飞与唐舞桐
Рет қаралды 80 МЛН