وب سایت تخصصی شرکت فرین
دسته بندی دوره ها

Java: Practice Unit Testing

سرفصل های دوره

The beauty of test-driven development is that it allows you to iterate your codebase one step at a time, testing and reworking individual cases as you go. Not only does this reduce the likelihood of bugs and errors, it also helps you write more effective and more reliable code.

In this course, instructor Bethan Palmer covers the essentials of unit testing in Java to showcase the benefits of test-driven development. Explore practical topics including common assertions, comparing arrays, and testing exceptions as well as some of the more advanced features of JUnit, the Java unit testing framework that lets you run parameterized tests. Along the way, take advantage of the opportunity to practice writing your own unit tests with hands-on, interactive coding exercises.

This course is integrated with GitHub Codespaces, an instant cloud developer environment that offers all the functionality of your favorite IDE without the need for any local machine setup. With GitHub Codespaces, you can get hands-on practice from any machine, at any time—all while using a tool that you’ll likely encounter in the workplace.


01 - Introduction
  • 01 - Unit testing in Java
  • 02 - What you should know

  • 02 - 1. Introduction to Java Unit Testing
  • 01 - What is unit testing
  • 02 - Test-driven development
  • 03 - Follow along with GitHub Codespaces

  • 03 - 2. JUnit
  • 01 - Setting up JUnit
  • 02 - Defining a JUnit test
  • 03 - Challenge JUnit tests
  • 04 - Solution JUnit tests

  • 04 - 3. Assertions in JUnit
  • 01 - Asserting true and false
  • 02 - Comparing arrays
  • 03 - Asserting an exception is thrown
  • 04 - Challenge Assertions and annotations
  • 05 - Solution Assertions and annotations

  • 05 - 4. Advanced Features
  • 01 - Using assumptions
  • 02 - Testing multiple inputs with parameterized tests
  • 03 - Testing enums with parameterized tests
  • 04 - Challenge Advanced features
  • 05 - Solution Advanced features

  • 06 - Conclusion
  • 01 - Next steps
  • 45,900 تومان
    بیش از یک محصول به صورت دانلودی میخواهید؟ محصول را به سبد خرید اضافه کنید.
    خرید دانلودی فوری

    در این روش نیاز به افزودن محصول به سبد خرید و تکمیل اطلاعات نیست و شما پس از وارد کردن ایمیل خود و طی کردن مراحل پرداخت لینک های دریافت محصولات را در ایمیل خود دریافت خواهید کرد.

    ایمیل شما:
    تولید کننده:
    مدرس:
    شناسه: 15563
    حجم: 185 مگابایت
    مدت زمان: 65 دقیقه
    تاریخ انتشار: 12 تیر 1402
    طراحی سایت و خدمات سئو

    45,900 تومان
    افزودن به سبد خرید