Unlock reliable Java testing with our "Introduction to JUnit" course. Designed for students, junior developers, and QA testers who want to improve code quality and confidence, this course provides the essential foundations and practical tools of unit testing using JUnit 4 and JUnit 5. From understanding why unit tests matter to setting up JUnit, organizing tests, and integrating with build and CI tools, you’ll gain the skills to deliver maintainable, bug-resistant software.
通过 Coursera Plus 提高技能,仅需 239 美元/年(原价 399 美元)。立即节省

推荐体验
推荐体验
中级
Learners with basic Java knowledge and familiarity with an IDE or build tools will benefit, though beginners can follow along.
推荐体验
推荐体验
中级
Learners with basic Java knowledge and familiarity with an IDE or build tools will benefit, though beginners can follow along.
您将学到什么
Explain unit testing principles and JUnit fundamentals.
Apply assertions, exception testing, and setup/teardown to validate behavior.
Implement parameterized tests, tagging/suites, and run tests in IDEs, Maven/Gradle, and CI.
Translate requirements into clear, maintainable test cases using mocks and fluent assertions.
您将获得的技能
您将学习的工具
要了解的详细信息

添加到您的领英档案
14 项作业
了解顶级公司的员工如何掌握热门技能

该课程共有3个模块
In the Java Fundamentals module, you will be introduced to the Java programming language, one of the most popular programming languages used for developing a wide range of applications. You will learn about the core components of the Java platform, including the Java Virtual Machine (JVM) and the Java class library.
涵盖的内容
12个视频4篇阅读材料3个作业1个插件
12个视频•总计40分钟
- Introduction to the Specialization•2分钟
- Introduction to the Course•2分钟
- Meet Your Instructor•1分钟
- What you will learn in this Lesson•1分钟
- What is Java?•4分钟
- Features of Java•4分钟
- C++ vs Java•3分钟
- Setting Up the Development Environment•5分钟
- What you will learn in this Lesson•1分钟
- What are JVM, JRE and JDK?•5分钟
- Hello World Java program•7分钟
- How Java Code gets Executed?•6分钟
4篇阅读材料•总计85分钟
- Syllabus•15分钟
- Read more on Java•30分钟
- Learn more about Java Components•30分钟
- Tell us what you think!•10分钟
3个作业•总计90分钟
- Practice Quiz: Java Basics•15分钟
- Practice Quiz: Components of Java Programming•15分钟
- Java Fundamentals - Graded Quiz•60分钟
1个插件•总计5分钟
- Quick Course Check-In•5分钟
The Core Java module is a comprehensive training program that covers the fundamental concepts of the Java programming language. This module provides a deep understanding of Java programming and its key components. In this module, participants will learn about the essential concepts such as Java Syntax, Variables and Methods, Operators, & Control Statements. Throughout the module, participants will work on several assessments to reinforce their learning and improve their problem-solving skills. By the end of this module, participants will have a strong foundation in Core Java and be able to apply their knowledge to create robust and efficient Java applications.
涵盖的内容
29个视频3篇阅读材料5个作业
29个视频•总计138分钟
- What you will learn in this Lesson•1分钟
- Variables and Data Types•8分钟
- Demo: Working with Data Types•7分钟
- Reading Input from User•8分钟
- Type Casting in Java•8分钟
- What you will learn in this Lesson•1分钟
- Operators in Java•2分钟
- Arithemtic Operators•6分钟
- Arithmetic Assignment Operators•4分钟
- Relational Operators•4分钟
- Logical Operators•3分钟
- Ternary Operator•3分钟
- Operator Precedence•4分钟
- What you will learn in this Lesson•1分钟
- Working with Arrays•3分钟
- Single Dimensional Arrays•5分钟
- Multi Dimensional Arrays•5分钟
- Working with Strings•3分钟
- String Manipulations and Methods•7分钟
- StringBuffer and StringBuilder in Java•7分钟
- What you will learn in this Lesson•1分钟
- Conditional Constructors in Java•4分钟
- Working with Conditional Constructs•9分钟
- Working with Switch Case•6分钟
- Looping Constructs in Java•4分钟
- Demo: Working with Loops•9分钟
- For-Each Loop with Arrays•5分钟
- Non-Conditional/Jump Statements•4分钟
- Exercise: FizzBuzz with Conditions and Loops•5分钟
3篇阅读材料•总计90分钟
- Learn more about Variables and Data Types•30分钟
- Read more about Operators•30分钟
- Read more about Control Statements•30分钟
5个作业•总计120分钟
- Practice Quiz: Variables and Data Types•15分钟
- Practice Quiz: Operators and Operator Precedence•15分钟
- Practice Quiz: Working with Arrays and Strings•15分钟
- Practice Quiz: Control Statements in Java•15分钟
- Core Java - Graded Quiz•60分钟
This module is designed to provide participants with an in-depth understanding of advanced object-oriented programming (OOP) principles and other essential concepts in Java programming. In this module, participants will learn about advanced OOP concepts such as inheritance, polymorphism, and encapsulation, and how to apply them to create efficient and reusable code. Participants will also learn about extension methods, interfaces, and abstract classes, which are advanced techniques used to manage classes and objects in Java. Furthermore, participants will gain an understanding of advanced topics in exception handling, such as creating custom exceptions and handling multiple exceptions, which are critical to improving the reliability and robustness of their code. Throughout the module, participants will work on several hands-on projects to reinforce their learning and improve their problem-solving skills. By the end of this module, participants will be able to apply their knowledge of advanced OOP concepts and essential Java programming concepts to develop efficient, scalable, and maintainable Java applications.
涵盖的内容
31个视频6篇阅读材料6个作业
31个视频•总计142分钟
- What you will learn in this Lesson•2分钟
- Object Oriented Programming•4分钟
- Classes and Objects•3分钟
- Demo: Creating Classes and Objects•6分钟
- Access Modifiers in Java•2分钟
- Demo: Access Modifiers•3分钟
- Encapsulation and Abstraction•4分钟
- Getters and Setters•7分钟
- What you will learn in this Lesson•1分钟
- Constructors in Java•3分钟
- Types of Constructors•2分钟
- Default and Parameterized Constructors•8分钟
- Constructor Overloading in Java•6分钟
- Constructor Chaining in Java•8分钟
- What you will learn in this Lesson•2分钟
- Inheritance in Java•6分钟
- Types of Inheritance•5分钟
- Demo: Implementing Inheritance between Classes•10分钟
- UpCasting and DownCasting in Java•2分钟
- Demo: UpCasting and DownCasting in Java•4分钟
- What you will learn in this Lesson•1分钟
- Polymorphism in Java•6分钟
- Method Overloading in Java•8分钟
- Constructor Overloading in Java•6分钟
- Method Overriding in Java•7分钟
- What you will learn in this Lesson•1分钟
- Abstract Classes and Abstract Methods•4分钟
- Demo: Abstract Classes•10分钟
- Interfaces in Java•3分钟
- Demo: Interfaces•6分钟
- Difference between Abstract Class and Interfaces•2分钟
6篇阅读材料•总计160分钟
- Read more about OOPS•30分钟
- Learn more about Constructors•30分钟
- Read more on Inheritance•30分钟
- Learn more about Overloading and Overriding•30分钟
- Read more on Abstract classes and Interfaces•30分钟
- Provide your feedback!•10分钟
6个作业•总计135分钟
- Practice Quiz: Object Oriented Concepts•15分钟
- Practice Quiz: Constructor in Java•15分钟
- Practice Quiz: Inheritance in Java•15分钟
- Practice Quiz: Method overloading & Overiding•15分钟
- Practice Quiz: Abstract Classes and Interfaces•15分钟
- OOPS and Other Essential Concepts - Graded Quiz•60分钟
位教师

提供方

提供方

Board Infinity is a full-stack career platform, founded in 2017 that bridges the gap between career aspirants and industry experts. Our platform fosters professional growth, delivering personalized learning experiences, expert career coaching, and diverse opportunities to help individuals fulfill their career dreams. Board Infinity has successfully facilitated over 20,000 career transitions, marking a significant impact in the career development landscape.
从 Software Development 浏览更多内容
状态:免费试用免费试用LLearnQuest
课程
状态:预览预览
状态:免费试用免费试用UUniversity of Minnesota
课程
人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.
常见问题
The course is designed to introduce the Java programming language to beginners. It covers the basics of Java, including syntax, data types, and operators. The course dives deeper into exception handling, file I/O, working with arrays, and object-oriented programming concepts. It also covers advanced topics like interfaces, abstract classes, encapsulation, multi-threading, concurrency, and commonly used data structures in Java.
This course is designed for those who are completely new to Java programming and want to develop a strong foundation in it. However, anyone interested in improving their Java programming skills can benefit from this course.
In the Java Fundamentals module, you will be introduced to the Java programming language and learn about its core components including the Java Virtual Machine (JVM) and the Java class library. You will also learn about the language's syntax, data types, and operators.
The Core Java module covers fundamental concepts of Java programming, such as Java Syntax, Variables and Methods, Operators, and Control Statements. By the end of this module, you will have a strong foundation in Core Java and be able to create robust and efficient Java applications.
In the Advanced OOP module, you will learn about advanced OOP concepts such as inheritance, polymorphism, and encapsulation. You'll learn to apply these concepts to create efficient and reusable code. Additionally, you'll learn about extension methods, interfaces, abstract classes, and advanced topics in exception handling.
Throughout the course, you'll work on several assessments and hands-on projects to reinforce your learning and improve your problem-solving skills. You'll gain practical experience in developing Java applications.
This course is designed for beginners, so there are no prerequisites. All you need is a willingness to learn.
Yes, you can. The course is designed to accommodate self-paced learning, meaning you can go through the course materials at your own speed and according to your own schedule.
No, the course is designed in such a way that even beginners with no prior coding experience can understand the concepts and develop a good foundation in Java programming.
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
When you purchase a Certificate you get access to all course materials, including graded assignments. Upon completing the course, your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.
更多问题
提供助学金,


