4.29 out of 5
4.29
19 reviews on Udemy

Unit Testing For Unity 2022 & C# – Lifetime Access

Learn Unit Testing & Test-Driven-Development (TDD) | Unity-Specific Approach | Sample Projects & C# Source-Code
Instructor:
Samuel Asher Rivello
5,343 students enrolled
English [CC] More
Learn Unit Testing & Test-Driven-Development (TDD) Fundamentals
Create new Unity projects with confidence, performance, and scalability
Avoid the common pitfalls with creating, maintaining, and scaling Unity projects
Plan & create consistently clean code
Reinforce your knowledge with practical, relevant coding assignments
Apply your learnings in the many included Unity Sample Projects

Welcome to Unit Testing For Unity!

CAPTIONS:

• English: All videos have English subtitles. (Audio/Video/Text Content is in English)

• French: Toutes les vidéos sont sous-titrées en Français. (Audio/Video/Text Content is in English)

• Portuguese: Todos os vídeos têm legendas em Português. (Audio/Video/Text Content is in English)

• German: Alle Videos haben Deutsche Untertitel. (Audio/Video/Text Content is in English)

• Spanish: Todos los vídeos tienen subtítulos en Español. (Audio/Video/Text Content is in English)

• Turkish: Tüm videolar Türkçe altyazılıdır. (Audio/Video/Text Content is in English)

We all start projects with the best of intentions. But during development we often find our projects do not meet our expectations for organization, scalability, and for our quality of life as developers.

This course gives you the training to create and maintain robust Unity classes and architectures.

FEATURES:

  • Rockstar content – Everything you DO need. Just the most relevant, powerful info!

  • Punk-rock editing – Nothing you DON’T need. No “ums”, no waiting, no fluff!

BENEFITS OF UNIT TESTING:

  • Early Bug Detection – Running unit tests after every build helps in identifying any breakage at the earliest possible instance, saving time and resources

  • Refactoring Confidence – With a comprehensive suite of unit tests, developers can refactor code more aggressively and with assurance, knowing tests will reveal any introduced errors

  • Better Design -Writing unit tests forces developers to consider the modularity and structure of their code, often leading to better-designed and more maintainable software

BENEFITS OF TEST-DRIVEN-DEVELOPMENT (TDD):

  • Improved Code Quality – TDD encourages simple designs and inspires confidence, as code changes are verified by tests frequently

  • Documentation Benefit – Tests written in TDD can serve as a form of documentation, showing how the system is intended to behave

  • Reduction in Errors – TDD typically results in a lower bug density in production, as tests are written before the code that must pass them

TAKEAWAY:

  • After this course you will be confident to design and develop well-designed and tested Unity classes. Learn to write robust C# code that your team will be proud of.

INCLUDED SECTIONS:

  • Course Introduction – Set the vision and goals for the course. Learn the many benefits of MVC architecture for your projects

  • Unity Overview – Review the popularity and power of Unity as a game engine. Discuss the structure of the systems within and how MVC architecture is a welcome addition

  • Unit Testing Fundamentals – We’ll add the power of Unit Testing and Test-Driven Development ( TDD ). With this training you will naturally produce cleaner, more readable, and manageable code

  • Unit Testing Workshops – Take the fundamentals and apply them through a series of isolated demos. Each demo has production code, edit-mode tests, and play-mode tests. Perform assignments based on what you have learned

  • Unit Testing Lessons – Dive deep into the art and science of Unit Testing. Get the theory, apply the practices, and explore topics including “Pure Functions” & “Test Doubles”

  • Unit Testing with CI/CD – Master continuous integration, continuous deployment. Learn the benefits and complete the setup for your project

  • And More!

INCLUDED UNITY C# SAMPLE PROJECTS:

  • 1. Math System – A simple calculator without a rendered view. This is a great place to learn the fundamentals of testing without the complications of Unity MonoBehaviours or rendered graphics

  • 2. Data Loader Basic – Learn how to handle async/await operations and test for robust results

  • 3. Data Loader Advanced – We create more stability and confidence with C# code refactors

  • 4. Character Basic – A game character that moves with user input. Add Unity MonoBehaviours and rendered graphics to the challenges of testing. Learn to master the challenges

  • 5. Character Advanced – A game character that moves with user input. Learn to test asynchronous methods such as multi-frame movement

  • 6. Character Physics – A game character that uses physics. Learn to isolate dependencies and refactor systems efficiently

  • 7. Testing Prefabs – Full demo

  • 8. Testing Scenes – Tips and tricks

  • Plus More!

INCLUDED ASSETS:

  • Section Videos – High-quality HD video content covering all course topics

  • Section Source Code– Full C# scripting and complete Unity projects included for download

  • Section Challenge Assignments – Expand your knowledge with practical, relevant coding trials

  • Section Quiz  – Ensure you digested all vital info before moving forward

WHY LEARN UNITY?

  • Unity is a versatile game engine which can be used for creating simulations, prototypes, and games

  • Over 70% of the top 1000 mobile games are created using Unity Technology

  • Deploys to PC, Xbox, PlayStation, iOS, & Android, WebGL, AR/VR, and more!

WHY LEARN UNIT TESTING?

  • 1. Accelerate new features – With testing, developers focus on a small batch of code at a time, not moving on to the next bit until they are done with their batch. This gets results

  • 2. Level-up your maintenance – With Test-Driven Development ( TDD ), developers naturally produce cleaner, more readable, and manageable code

  • 3. Fail fast & Communicate clearly –  Get feedback quickly and improve your solutions. Leave a legacy of unit testing in your codebase which will serve as the best, living documentation

WHY LEARN WITH SAMUEL ASHER RIVELLO?

  • Sam is a Unity Certified Developer with over 20 years of experience creating games and teaching software design

  • Sam empowers game teams with custom editor tooling for improved workflows ( Game Design, Level Design, 3D Modelers, 3D Animators )

  • Sam is an author and editor, including Adobe, Future Publishing UK, Packt Publishing, and O’Reilly

WHY WAIT?

  • Avoid the common pitfalls with creating, maintaining, and scaling your Unity classes

  • You can’t afford NOT to use Unit Testing and Test-Driven development on your projects

  • Let’s do this!

Course Introduction

1
Course Overview
2
Why Unit Testing?
3
Benefits of Unity Testing
4
Unit Testing Example & Commentary
5
Course Philosophy
6
Course Resources
7
Udemy's Early Review Prompt
8
Section Quiz
9
Section Assignment
10
Section Summary

Unity Overview

1
Unity Overview
2
Unity Structure
3
Unity Code (C#)
4
Section Quiz
5
Section Assignment
6
Section Summary

Software Design

1
Software Design Overview
2
Section Quiz
3
Section Summary

Unit Testing - Fundamentals

1
Unit Testing - Overview
2
Unit Testing - Setup
3
Unit Testing - Creating Tests
4
Unit Testing - Test Driven Development (TDD)
5
Section Quiz

Section Quiz

6
Section Assignment
7
Section Summary

Unit Testing - Workshops

1
Workshops - Overview
2
My Math System - Workshop
3
My Math System - Assignment
4
My Data Loader (Basic) - Workshop
5
My Data Loader (Basic) - Assignment
6
My Data Loader (Advanced) - Workshop
7
My Data Loader (Advanced) - Assignment
8
Character (Basic) - Workshop
9
Character (Basic) - Assignment
10
Character (Advanced) - Workshop
11
Character (Advanced) - Assignment
12
Character (Physics) - Workshop
13
Character (Physics) - Assignment
14
Prefab Loading - Workshop
15
Prefab Loading - Assignment
16
Scene Loading - Workshop
17
Scene Loading - Assignment
18
Workshops - More...
19
Section Summary

Unit Testing - Lessons

1
Lessons - Overview
2
Lessons - Pure Functions
3
Lessons - Test Doubles
4
Lessons - Unity C# Demo
5
Section Summary

Unit Testing - Artificial Intelligence, & ChatGPT

1
Unit Testing & AI - Overview
2
Unit Testing & AI - Creating Production Code
3
Unit Testing & AI - Creating Unit Test Code
4
Section Summary

Unit Testing - Automated Tests, Builds, & CI/CD

1
CI/CD - Overview
2
CI/CD - Unity Cloud Build
3
Section Summary

Reference Links

1
Reference Links
You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.3
4.3 out of 5
19 Ratings

Detailed Rating

Stars 5
11
Stars 4
4
Stars 3
1
Stars 2
3
Stars 1
0
ca053d0fc2ddef3c8b4e19e3e7350178
FREE For First 1000 Enrolls

Includes

4 hours on-demand video
19 articles
Certificate of Completion

External Links May Contain Affiliate Links read more

Join our Telegram Channel To Get Latest Notification & Course Updates!
Join Our Telegram For FREE Courses & Canva PremiumJOIN NOW