- 2
- 21 369
Algo Alchemist
เข้าร่วมเมื่อ 9 ธ.ค. 2023
Welcome to Algo Alchemist - Your go-to spot for coding, tech, and software projects! 🚀
👨💻 Unlock coding secrets with our tutorials.
🔧 Stay tech-savvy with the latest in technology.
🛠️ Dive into hands-on projects and boost your skills.
Subscribe now and join a community passionate about all things software! 💻✨
👨💻 Unlock coding secrets with our tutorials.
🔧 Stay tech-savvy with the latest in technology.
🛠️ Dive into hands-on projects and boost your skills.
Subscribe now and join a community passionate about all things software! 💻✨
Unit Testing Real World Applications with Java in 2024!
In this tutorial, we will dive into the realm of unit testing real world, production-grade application in Java. This tutorial will go further than most unit testing videos which cover only the most basic unit testing scenarios. My goal is to teach you how to mock real-world production scenarios, such as testing calls to external APIs in your application.
Unit testing is a crucial aspect of software development, ensuring the reliability and robustness of our code. We'll walk you through the process step-by-step using popular testing frameworks like JUnit and Mockito, along with the powerful code coverage tool, JaCoCo.
By the end of this video, you'll have a solid understanding of:
Writing unit tests for Java applications. 📝
Mocking external dependencies using Mockito. 🔧
Evaluating code coverage with JaCoCo. 📊
Whether you're a seasoned developer looking to enhance your testing skills or a newcomer eager to learn, this tutorial is designed to help you level up your Java testing game in 2024!
Don't forget to like, subscribe, and hit the notification bell to stay updated with our latest content. Let's dive into the world of unit testing and elevate our Java development skills together! 🚀💻✨
Tools used in this video:
Mockito (mocking framework): site.mockito.org/
JUnit (Java testing framework): junit.org/junit5/
JaCoCo (Code coverage tool): www.jacoco.org/jacoco/trunk/index.html
Gradle (build tool): gradle.org/
#Java #UnitTesting #Mockito #JUnit #JaCoCo #SoftwareDevelopment #ProgrammingTutorial #CodeCoverage
Unit testing is a crucial aspect of software development, ensuring the reliability and robustness of our code. We'll walk you through the process step-by-step using popular testing frameworks like JUnit and Mockito, along with the powerful code coverage tool, JaCoCo.
By the end of this video, you'll have a solid understanding of:
Writing unit tests for Java applications. 📝
Mocking external dependencies using Mockito. 🔧
Evaluating code coverage with JaCoCo. 📊
Whether you're a seasoned developer looking to enhance your testing skills or a newcomer eager to learn, this tutorial is designed to help you level up your Java testing game in 2024!
Don't forget to like, subscribe, and hit the notification bell to stay updated with our latest content. Let's dive into the world of unit testing and elevate our Java development skills together! 🚀💻✨
Tools used in this video:
Mockito (mocking framework): site.mockito.org/
JUnit (Java testing framework): junit.org/junit5/
JaCoCo (Code coverage tool): www.jacoco.org/jacoco/trunk/index.html
Gradle (build tool): gradle.org/
#Java #UnitTesting #Mockito #JUnit #JaCoCo #SoftwareDevelopment #ProgrammingTutorial #CodeCoverage
มุมมอง: 173
วีดีโอ
Dockerize Your Next.js 14 App in 2024!
มุมมอง 21K10 หลายเดือนก่อน
🚀 Ready to take your Next.js development to the next level? In this tutorial, we'll guide you through the process of creating a Dockerfile and running your Next.js 14 app in a Docker container. Docker provides a streamlined way to manage dependencies, ensure consistency across environments, and simplify deployment. Let's dive in and empower your Next.js projects with the efficiency of Docker! 🔍...
ty sooooooo much
dacker
ayo valo, wanna lose some ranks w me? hahaha
Hey,, this is really helpful and I wanted to say thank you. Is there any change you can do an in-depth tutorial on how to install this for windows or guide me towards good sources? I have been developing my very first app with python and nextjs14, but it has been a nightmare for me so far, developing on Windows with limtied knowledge, about dependecnies and how to use virtial environments correctly, I must have installed some packages and dependencies globally and now my coding environment is acting very weird sometimes. Would be nice to use Docker on Windows. Also could you explain why you use Powershell, is it better to use on Windows? I used it with Cursor AI and had some problems and it suggested that Pwoershell might not be the best way to execute some commands for me? Fuck, I should really learn more about how I can keep my own system clean and save while stile being able to code effectively. Do you know how Docker comes into play if I have a flask nd celery backend that is connected to Supabase also, can Docker access all of that Auth and Data just fine, too?
thanks, that was cool
Nice video
Wow. Thank you all so much for the support on this video! I have been busy getting acclimated with my first full-time Software Engineering job this year, but I promise more videos are on the way 😃 If you're reading this, drop a comment with what video you would like to see next!
How to setup/use Windows safely, effectively in a modern app coding world would be interesting to lwearn for me personally, but then again iam a totl beginner :P
hi first thank you soo much Could you please create a comprehensive video tutorial on how to deploy a Next.js project using Docker to an AWS EC2 instance, and also how to set up a CI/CD pipeline for continuous integration and deployment?
simple and straight forward🤏
Which vs code theme you are using.... It's amazing
It's called Bearded Theme :)
My man 👊
Am I correct in understanding that docker /app directory and the next.js /app directory are NOT the same? I think it should be said in a video somewhere if they are or are not, but its my understanding NOT. Nice name btw
How to run the app in dev mode with hot reloading inside of the container?
Please let me know if you find some resource to do that
devcontainers or use docker compose to set a volume and run "npm run dev" in the container
i love your content from PH
Thank you. From Brazil.
Thank you for this great tutorial! This video helped me understand what Docker is, how it can be used, and how to use it with Next.js specifically.
Gamer in house
Would have been good to mention the npm equivalent commands
Great video, it's amazing how you packed more into a few minutes than what a lot of TH-camrs would add in, in double the time
Excellent Tutorial - so calm and composed excellently relays the necessary actions
thanks! very helpful
Would love a tutorial on how to deploy this on aws/gcp, and a way to have it automatically update from pushes to a github repo, similar to how cloudflare pages works.
Thank you, it is working for me. Only 2 questions - how to name container properly (currently it is nervous_mayer))) & How to start container in next visit?
great 1st video
This a very good tutorial. Keep them coming! 🙌
But with this approach you need to have installed nodejs in host machine because if you doesn't install node_modules in host machine vscode show typing errors. How i can avoid that ? i want to run in docker containers without needing to have installed node tools in host machine, just have a fresh installations of any desire SO with git, vscode and docker
To use Docker as it is supposed to work, you should add node_modules to .dockerignore file (in order to avoid copying a lot of context over to image) in order to let image run dependency install as locally you might use something other than yarn and, when it's copied over, there will be problems with that. It's one best practices to allow for bind mounts in order for code changes to be instantly reflected in container (solely for local development). Not only that, but you should make sure that the user that runs the code, has matching UID with you locally so you don't get permission errors.
Thank you very much
what a great to-the-point explaination video!!!
PRO TIP. dont play too much games.... anyway thanks for the video. liked.
Superb🔥
Nice One make more video like that exceptional 🎉🎉
🤟🤟
I stumbled upon this video by accident, but now I can't believe it's not viral yet!
Thank you!
short and sweet! hand down to you @Algo! ✌✌✌✌
Thanks man
How you pass env variables in a secure way ? Like passing many of them ?
using a .env or .env.local file
@@hollidaycursive yeah but you have to build up the file first, idk if its secure to do it on a CI instance like Github Actions.
Pls tell me name your wallpaper
Thank you sir, it worked! Subbed and liked. Thanks alot!
Appreciate you!
i love your wallpaper, can you provide us the wallpaper
can we deploy next js to Apache Tomcat !
you man great toturial, i'm tring to convert my next app into a app with live reload while i'm developing, do you have any idea how to do it?
It should be happening already. Try to delete the .next dir and start the app again.
I've got to say: really nice video Algo, no bull and straight to the point - explaining every step along on the way. Very good job!
Thank you!
How to do a git pull?
I got you with a git basics video sir🫡 subscribe to stay tuned
If you have the repo already cloned, type git pull
Great tutorial 🎉keep moving 🎉
Thank you for this. Really helpful ❤