I don't TDD. Writing Pragmatic Tests With Java.

  Рет қаралды 6,977

Marco Codes

Marco Codes

Күн бұрын

Пікірлер: 30
@afmarsal
@afmarsal Жыл бұрын
Thanks for the video! Probably this is known already: when pasting code I noticed the manual move of cursor to go to next error. I did that too until I learnt about IntelliJ's "Select Next Problem" (F2 on macOS) that loops through the issues. "F2" and "Option+Enter" has become my favourite combo to fix file issues quickly.
@MarcoCodes
@MarcoCodes Жыл бұрын
Yup, F2 is a great shortcut that I unfortunately use far too seldomly. Thanks for mentioning it!
@andreyvolkov563
@andreyvolkov563 Ай бұрын
Thank you!
@clutchmadness
@clutchmadness Жыл бұрын
As a recent compsci graduate whose looking to learn more about how to use Java outside of school, this video series and a lot of videos on your channel are the perfect learning tool. They have the perfect balance of "not being too easy or overly complex". Thank you so much for taking the time to make them.
@MarcoCodes
@MarcoCodes Жыл бұрын
Thanks for the feedback!
@clutchmadness
@clutchmadness Жыл бұрын
@@MarcoCodes No. Thank you 😊
@naveengupta6878
@naveengupta6878 Жыл бұрын
thanks marco ! Next episode must be super fun. will try to send pull request if I could get enough time.
@philliplima4999
@philliplima4999 Жыл бұрын
Thanks for the video Marco. Its helping a lot. Waiting for the next.
@MarcoCodes
@MarcoCodes Жыл бұрын
Glad it was helpful!
@themaskedvideo-794
@themaskedvideo-794 Жыл бұрын
Thanks Marco I'm following you from Egypt and I liked your way of teaching please keep it up!
@MarcoCodes
@MarcoCodes Жыл бұрын
Thank you! Will do!
@mercury801115
@mercury801115 Жыл бұрын
very pragmatic, thanks for your work, looking forward to next video.
@vishnugovindan8550
@vishnugovindan8550 Жыл бұрын
Hi Marco, for testing for imagemagick versions, could you have leveraged testcontainers and have a small container up for imagemagic 6 and 7 (so two tests perhaps to test if the imagemagick is installed properly?)
@MarcoCodes
@MarcoCodes Жыл бұрын
Yup, that would work! Though if I remember correctly (could be wrong), there was no imagemagick 6 image on DockerHub, so you'd have to build one/host it yourself.
@maxjung6845
@maxjung6845 Жыл бұрын
what do you think about adding a single first line to thumb-creation test Assumptions.assumeTrue(imageMagickIsInstalled(), "Image Magick is not installed."); instead of the custom annotation approach?
@MarcoCodes
@MarcoCodes Жыл бұрын
Would work just as well for now. Once the number of tests/classes increases, I would switch to the annotation at some point.
@salat_32
@salat_32 Жыл бұрын
I recently started thinking about writing tests for my application, but it heavily depends on external api (several bot api's for different messagers, game api), so it would be very cool if you talked about testing stuff like that
@MarcoCodes
@MarcoCodes Жыл бұрын
Would you mind adding some more info? What specifically is your app doing? Any specific testing challenges so far? I'll then see what I can do
@salat_32
@salat_32 Жыл бұрын
@@MarcoCodes the main difficulty is that after I get a use input through bot api callback, I external api to collect data about specified user, so I was thinking if I should just mock and provide the same data everytime for the test cases, or should I call an actual api (probably shouldnt)
@PratikSinghal
@PratikSinghal Жыл бұрын
This is a better way to learn things. Thanks a lot.
@marcinkunert
@marcinkunert Жыл бұрын
Nice video. To which branch should be the PRs sent to?
@MarcoCodes
@MarcoCodes Жыл бұрын
Episode-2. If you are the first to send in a pull request, I'll have to think of a special thank you
@Windestroy1
@Windestroy1 Жыл бұрын
Have you thought about doing something with Vaadin in the future?
@MarcoCodes
@MarcoCodes Жыл бұрын
Not really. Anything specific you'd like to see?
@matheusmarabesi
@matheusmarabesi Жыл бұрын
nice video! but I guess that "pragmatic" in that case has a different meaning from what the "the pragmatic programmer" suggests. If you will keep this series, rather than submitting a PR I would love to join you and do some pairing session! Anyways keep it up 👏
@MarcoCodes
@MarcoCodes Жыл бұрын
Hey Marabesi, thanks for the feedback! Yes, new videos in this series will air (hopefully) soon :) Let's see what we can do with a pairing session in the future. What is the "pragmatic programmer" context for you when it comes to testing?
@mdanny42
@mdanny42 Жыл бұрын
Hi Marco and thanks for your amazing content! I've been recently exploring TDD but was struggling (still) with the pragmatic steps on how do you actually set up the infrastructure for enabling the tests/implementation cycle and how do you decide on the trade-offs you had mentioned. This series exactly fills in this gap :) Also, in my case I couldn't immediately detect which is the 3rd part of this series, so here I provide the link to the next one (in case anyone else can't find it easily): kzbin.info/www/bejne/jKXTf5aan8-qmqM
@_furaibou
@_furaibou Жыл бұрын
18:59
@MarcoCodes
@MarcoCodes Жыл бұрын
Anything specific at that timestamp? :)
@_furaibou
@_furaibou Жыл бұрын
@@MarcoCodes it says softly ass im sorry love your videos ive been learning a lot
How To Do Code Reviews
31:30
Marco Codes
Рет қаралды 12 М.
Solving Java Multithreading Challenges in My Google Photos Clone
17:39
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Why JUnit's Dynamic Tests ARE SO GOOD
19:17
Marco Codes
Рет қаралды 4,5 М.
Test Driven Development (TDD) in Spring
51:09
Dan Vega
Рет қаралды 29 М.
Thoughts About Unit Testing | Prime Reacts
11:21
ThePrimeTime
Рет қаралды 242 М.
Why you don't need to worry about scaling your Java webapp
55:43
Marco Codes
Рет қаралды 4,2 М.
Arenas, strings and Scuffed Templates in C
12:28
VoxelRifts
Рет қаралды 100 М.
Better Java Streams with Gatherers - JEP Cafe #23
1:13:32
How To Write Unit Tests For Existing Python Code // Part 1 of 2
25:07
Test-Driven Development // Fun TDD Introduction with JavaScript
12:55
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 908 М.
How To Learn Any Programming Topic
18:14
Marco Codes
Рет қаралды 7 М.