Комментарии:
Thanks
Ответитьif this guy is gonna name enzym again, im gonna throw something
Ответитьomg i need that javascript seinfeld sticker
ОтветитьJust tell me the list off libs i need to install to run tests on react.
ОтветитьIsn't DOM testing bad and slow. Class testing with simple unit tests is so fast in comparison.
ОтветитьJust started diving into the React Testing Library and this was an excellent introductory video. Thanks!
Ответитьwhat font is this
ОтветитьWhat's your microphone setup? It sounds amazing.
ОтветитьDo you know if react-testing-library works both with electron and web based react app?
ОтветитьThank you :)
ОтветитьGreat tutorial. Thank you)
Just one note: my headphone was plugged in and actual audio was too loud at the beginning, even though it was set to below average. I almost lost hearing))
you got me bro.. you got me... well played.. you got take it take my money sir
Ответитьwhere is the movie one i need that please
ОтветитьThanks for the video. Where did you get your stickers?!
ОтветитьI went to buy this course and apparently it's no longer offered which is kind of a debbie downer. Scott, is there anywhere to purchase this that I am missing?
ОтветитьIs Jest and Enzyme outdated ?
ОтветитьGo Blue!
ОтветитьIt works with jest right?, How can we use cypress along with it, one of my friend told me to use cypress along with it, I am not getting what cypress do here in these?
ОтветитьIs react testing library the same as Jest? or are they two seperate libraries? Help im so confused!
ОтветитьSounds good on paper but when reality hit you its doesnt look so good any more. 90% of components in most apps are composite components (components built with other components)testing those with Testing Library promoted approach are super repetitive and completely unnecessary.
ОтветитьSo would you say that React Testing Library is better for testing events in function components, compared to Enzyme?
Let's say I have a state in function component App.js, I pass the state and setState function as props to TodoItemList.js which renders group of TodoItem components by mapping the array in state, then each of the TodoItem components receive the state and setState as props.
Inside TodoItem I have a click event that updates the state.
With Enzyme's shallow and mount methods, I can't test the click event because it requires the state from parent component.
Only way was to mount the App.js component to get the state and then find the event button from the wrapper.
But this defeats the purpose of testing the single component since I had to drill through the parent components.
just started the series man! all i gotta say is love the beginner friendly content!
ОтветитьYou abandoned Meteor.js ... TRAITOR! :P
ОтветитьHello, I have a question. If I use component library like Fabric UI or Material UI, and I don't really know what my DOM looks like, can I still test with react-testing library?
ОтветитьIt looks great from client's perspective but as a developer, I want my code to be as robust as possible. It's really nice to test what that components render but not at the cost of testing code stability. This is why I'm sticking to classic Jest unit tests and testing function input/output.
Ответитьhe seems to really like the react testing library
ОтветитьThanks, you really helped me
ОтветитьKent C. Dodds touches on a valid point with this library. I'm all for encouraging good practices.
However, why didn't he just make an abstraction (subset) of Enzyme's battle-tested library? Why create the entire thing from scratch instead of using an established foundation to build off of? The adoption rate of his testing library would probably benefit from having industry-standard tool as a base.
Don't get me wrong, I'm not questioning Kent's skills, as he is obviously a very talented developer and teacher. Really like the things he's doing. Hope he will keep that good work up.
Hi, can you do Codeigniter tutorials ?
ОтветитьWow! excellent headsup. I'm definitely going to be hitting up Scott's testing course this weekend!
ОтветитьHey kent mentioned u in his live stream :)
ОтветитьNice Pens mug, Scott! :-)
ОтветитьI really need to get better at testing, looking forward to get the pro license to get better at it
Ответить