Oct
9
2018

Learn Unit Testing with Junit & Mockito in 30 Steps

Name Product: Learn Unit Testing with Junit & Mockito in 30 Steps
Download Size: 755 MB
COST: $199.99= Yours Free
Author: in28Minutes Official
Sale Page: _https://www.udemy.com/mockito-tutorial-with-junit-examples/

What Will I Learn?
  • Use Mockito to write great unit tests
  • Understand the basics of unit testing

  • Understand how to use JUnit and Mockito together

Requirements
  • You are expected to be familiar with Java
  • You are NOT expected to have any experience with Eclipse or Maven
  • We will help you install Eclipse and get up and running with Maven
Description

Writing great unit tests distinguishes good programmers from great programmers. In this course, you will learn how to write great unit tests with Mockito and JUnit.  You take 12 steps with JUnit and 18 steps with Mockito into unit testing proficiency.

Mockito

  • Step 01 : Set up an Eclipse Project with JUnit and Mockito frameworks. First Green Bar.
  • Step 02 : Example to start understanding why we need mocks.
  • Step 03 : What is a stub? Create an unit test using Stub? Disadvantages of Stubs.
  • Step 04 : Your first Mockito code! Hurrah!!! Lets use Mockito to mock TodoService.
  • Step 05 : Stubbing variations with Mockito. A few mockito examples mocking List class : Multiple return values, Argument Matchers and throwing exceptions.
  • Step 06 : Introduction to BDD. Given When Then. BDD Mockito Syntax.
  • Step 07 : How to verify calls on a mock? Verify how many times a method is called. We will add deleteTodo method to the TodoService.
  • Step 08 : How to capture an argument which is passed to a mock?
  • Step 09 : Hamcrest Matchers.
  • Step 10 : Let’s simplify things with Mockito Annotations. @Mock, @InjectMocks, @RunWith(MockitoJUnitRunner.class), @Captor
  • Step 11 : JUnit Rules. Using MockitoJUnit.rule() instead of @RunWith(MockitoJUnitRunner.class).
  • Step 12 : Real world Example with Spring
  • Step 13 : What is a spy? How to spy with Mockito?
  • Step 14 : Some Theory : Why does Mockito not allow stubbing final and private methods?
  • Step 15 : Using PowerMock and Mockito to mock a Static Method.
  • Step 16 : Using PowerMock and Mockito to invoke a private Method.
  • Step 17 : Using PowerMock and Mockito to mock a constructor.
  • Step 18 : Good Unit Tests.

JUnit

  • Step 01 : Need for Unit Testing
  • Step 02 : Setting up your First JUnit
  • Step 03 : First Successful JUnit. Green Bar and assertEquals
  • Step 04 : Refactoring Your First JUnit Test
  • Step 05 : Second JUnit Example assertTrue and assertFalse
  • Step 06 : @Before @After
  • Step 07 : @BeforeClass @AfterClass
  • Step 08 : Comparing Arrays in JUnit Tests
  • Step 09 : Testing Exceptions in JUnit Tests
  • Step 10 : Testing Performance in JUnit Tests
  • Step 11 : Parameterized Tests
  • Step 12 : Organize JUnits into Suites
Who is the target audience?
  • Students who want to learn unit testing with Junit
  • Students who want to learn mocking with Mockito
  • We will help you install Eclipse and Maven

Do you want download faster without waiting time ? We Strong Recommend You Purchase an Ausfile Premium Account ! It's very cheap only 9.99$/month. Follow the link below: Ausfile.com
By this way, You will help us very much to maintain our server and keep Biz-tutorial.com to alive

About the Author:

Biz-Tutorial.com started as a discussion platform with the simple purpose allowing members to download any business tutorials or whatever they want !

Leave a comment

You must be logged into post a comment.

COMPANY NAME
221, Mount Olimpus, Rheasilvia, Mars,
Solar System, Milky Way Galaxy
+1 (999) 123-45-67
Thank You. We will contact you as soon as possible.
Ivan Churakov, developer
Tel.:
Fax:
E-mail:
Website:
+1 (800) 800-1234, +1 (800) 123-4567
+1 (800) 800-1234 (ext. 1234)
[email protected]
http://halfdata.com/
My CodeCanyon Portfolio
Banner Manager Pro - CodeCanyon Item for Sale
Coming Soon and Maintenance Mode - CodeCanyon Item for Sale
Code Shop - CodeCanyon Item for Sale
Keyword Tooltips - CodeCanyon Item for Sale
Subscribe & Download - CodeCanyon Item for Sale
PGlmcmFtZSB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBzcmM9Ii8vd3d3LnlvdXR1YmUuY29tL2VtYmVkL3NCV1BDdmR2OEJrP2F1dG9wbGF5PTEiIGZyYW1lYm9yZGVyPSIwIiBhbGxvd2Z1bGxzY3JlZW4+PC9pZnJhbWU+
ENJOY AURORA BOREALIS
INTERGALACTIC COMPANY
"Ridiculus enim cras placerat facilisis amet lorem ipsum scelerisque sagittis lorem tis!"
Jojn Doe, CEO
Tel.: +1 (800) 123-45-67, +1 (800) 123-45-68
Fax: +1 (800) 123-45-69 (any time, 24/7/365)
E-mail: [email protected]
Website: http://www.intergalactic.company
Address:
221, Mount Olimpus,
Rheasilvia region, Mars,
Solar System, Milky Way Galaxy