Favorites
b/udemy1byELKinG

Learn By Example: Junit

Learn By Example: Junit

Last updated 12/2016
MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 386.56 MB | Duration: 2h 46m

A comprehensive guide to JUnit with 25 solved examples

What you'll learn
Test functionality of Java applications using JUnit
Write test cases using Assertions and Matchers
Create mock objects to test interdependent classes
Run multiple test classes under different conditions
Requirements
Experience in Java programming and familiarity with using Java frameworks
Description
JUnit is one of a family of unit testing frameworks all built with the same philosophy. To abstract the programmer away from the mechanics of running tests. You concentrate on testing the functionality of the application, and the logistics of running, monitoring and displaying results is taken care of by the framework.
In this course, we’ll be writing simple tests using all the different features of JUnit tests. Using 25 solved examples, you'll get a complete overview of the JUnit framework and all the functionality within.
What's covered?
1) Assertions : the fundamental component of any Junit test2) Matchers : Write complicated tests in a very readable way. Implement your own custom matchers3) Assumptions : Check for preconditions and external dependencies
4) Fixtures : Setup and Cleanup for your tests
5) Runners : Understand what goes on under the hood in JUnit. Use different runners to run multiple test classes with different conditions and parameters4) Mockito : Understand the concept of mock objects and use the Mockito framework to run tests on interdependent classes.

Overview

Section 1: You, This Course and Us

Lecture 1 You, This Course and Us

Section 2: Getting Started with JUnit Tests and Assertions

Lecture 2 Example 1 : The @Test Annotation : Writing a test

Lecture 3 Example 2: The Anatomy of a Test Method

Lecture 4 Example 3: Assertions

Section 3: Granular Checks with Matchers

Lecture 5 Example 4: assertThat and Matchers

Lecture 6 Example 5: Types of Matchers

Lecture 7 Example 6: Using Matchers for Debugging

Lecture 8 Example 7: Implementing a Custom Matcher

Section 4: Assumptions

Lecture 9 Example 8: Checking Preconditions with Assumptions

Section 5: Fixtures

Lecture 10 Example 9: Using Fixtures for Setup and Cleanup

Section 6: Working with Different TestRunners

Lecture 11 Example 10: The @RunWith Annotation

Lecture 12 Example 11: Aggregating tests in a Suite

Lecture 13 Example 12: Parameterized Tests

Lecture 14 Example 13: Running Subsets of Tests

Lecture 15 Example 14: Theories

Section 7: Controlling Test Behavior with Rules

Lecture 16 Example 15: External Resource Rules

Lecture 17 Example 16: The Temporary Folder Rule

Lecture 18 Example 17: Error Collector Rule

Lecture 19 Example 18: Verifier Rule

Lecture 20 Example 19: Test Watcher Rule

Lecture 21 Example 20: TestName Rule

Lecture 22 Example 21: ExpectedException Rule

Lecture 23 Example 22: Timeout Rule

Lecture 24 Example 23: Class Rule

Section 8: Mockito : The Mock Object Framework

Lecture 25 Example 24: Creating Mock Objects and Verifying Interactions

Lecture 26 Example 25: Stubbing Objects for Expected Results

Yep! Software Engineers who are looking to learn how to test Java applications,Yep! Students learning Java who want to get familiar with testing

Screenshots

Learn By Example: Junit

Homepage

without You and Your Support We Can’t Continue
Thanks for Buying Premium From My Links for Support
Click >>here & Visit My Blog Daily for More Udemy Tutorial. If You Need Update or Links Dead Don't Wait Just Pm Me or Leave Comment at This Post

No comments have been posted yet. Please feel free to comment first!

    Load more replies

    Join the conversation!

    Log in or Sign up
    to post a comment.