What Is Programming? And How To Get Started
January 28, 2025
Article
Instructor: Packt - Course Instructors
Included with
Recommended experience
Intermediate level
This course requires some knowledge of .NET core and C#. It suits developers at all levels who want a better understanding of unit tests.
Recommended experience
Intermediate level
This course requires some knowledge of .NET core and C#. It suits developers at all levels who want a better understanding of unit tests.
Identify the principles of unit testing for core application code.
Apply integration testing techniques to third-party library interactions (such as EF core).
Analyze and implement the red-green-refactor cycle in test-driven development.
Create testable code using facts and theories, incorporating good unit testing patterns and practices.
Add to your LinkedIn profile
September 2024
3 assignments
Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review
This course is designed to take you on an in-depth journey through Test-Driven Development (TDD) with .NET 6/7, emphasizing practical application and real-world scenarios. Starting with the fundamentals, you'll learn how to set up and use .NET 6/7, create test projects, and develop unit tests based on specific requirements. You'll then delve into implementing code that meets these requirements, ensuring your applications return the correct data and function as expected.
As you progress, the course will guide you through more advanced TDD concepts, including the testing and implementation of application core functionalities. You'll explore creating and saving room bookings, checking room availability, and handling various booking scenarios. The lessons are designed to build your confidence and competence in managing exceptions, adding booking IDs, and ensuring the reliability of your code through thorough testing. Finally, the course culminates with integration testing and continuous integration using GitHub. You’ll refactor projects for better data access, create unit test scenarios for ASP.NET Core applications, and learn to set up and protect GitHub repositories. By the end of the course, you'll be equipped with the skills to run and test your ASP.NET Core applications effectively and streamline your development process with continuous integration techniques.
In this module, we will introduce you to the course content, providing an overview of what you can expect to learn and achieve. We will guide you through the course structure, highlighting the main topics and resources available to enhance your learning experience.
1 video1 reading
In this module, we will delve into the basics of Test-Driven Development (TDD) using .NET 6/7. You will learn how to create a test project, write unit tests based on requirements, implement code to meet those tests, and refactor the code to improve functionality and maintainability.
5 videos
In this module, we will focus on unit testing within the application core. You will learn to review requirements, create and implement unit tests for booking services, check room availability, and manage booking details. Each step will ensure that the application meets specified requirements and handles data correctly.
11 videos1 assignment
In this module, we will cover integration testing for the data access layer. You will learn to refactor your project to support data access, retrieve available rooms, and save room bookings. These tests will ensure that your application interacts correctly with the database, maintaining data accuracy and integrity.
5 videos
In this module, we will explore unit testing for ASP.NET Core applications. You will learn to set up an SQLite in-memory data store, create unit test scenarios, and implement and run tests. These steps will help ensure that the UI components of your application function correctly and efficiently.
5 videos
In this module, we will guide you through using GitHub for continuous integration and testing. You will learn to set up a GitHub account, add projects, protect branches, and create build actions. By the end of this module, you will have a robust continuous integration pipeline to streamline your development process.
8 videos1 assignment
In this module, we will wrap up the course by reviewing the main topics covered. We will summarize the key learning points, evaluate your progress, and discuss potential next steps to continue your learning journey and apply the skills acquired.
1 video1 assignment
Packt helps tech professionals put software to work by distilling and sharing the working knowledge of their peers. Packt is an established global technical learning content provider, founded in Birmingham, UK, with over twenty years of experience delivering premium, rich content from groundbreaking authors on a wide range of emerging and popular technologies.
Course
Board Infinity
Course
Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription
Earn a degree from world-class universities - 100% online
Upskill your employees to excel in the digital economy
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.
If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.
This course is one of a few offered on Coursera that are currently available only to learners who have paid or received financial aid, when available.
You will be eligible for a full refund until two weeks after your payment date, or (for courses that have just launched) until two weeks after the first session of the course begins, whichever is later. You cannot receive a refund once you’ve earned a Course Certificate, even if you complete the course within the two-week refund period. See our full refund policy.
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.
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies enable the website to provide enhanced functionality and personalization. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.