» » » Learn Unit Testing with Junit & Mockito in 30 Steps
Article info
  • Views: 2
  • Author: buby2009
  • Date: 12-10-2018, 04:36
12-10-2018, 04:36

Learn Unit Testing with Junit & Mockito in 30 Steps

Category: Tutorial / Programming Tutorial

Learn Unit Testing with Junit & Mockito in 30 Steps
Learn Unit Testing with Junit & Mockito in 30 Steps
MP4 | Video: AVC 1280x720 | Audio: AAC 44KHz 2ch | Duration: 4.5 Hours | Lec: 38 | 755 MB
Genre: eLearning | Language: English

Learn Mockito and JUnit - the most popular unit testing and mocking frameworks - with 25 Examples

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


Learn Unit Testing with Junit & Mockito in 30 Steps

Download link:

Download Via Rapidgator.net
https://rapidgator.net/file/759b61debab4c94e1d849faae2f8e031/ecw5y.Learn.Unit.Testing.with.Junit..Mockito.in.30.Steps.part1.rar.html
https://rapidgator.net/file/893ba60d947732f6f80b5d679771e161/ecw5y.Learn.Unit.Testing.with.Junit..Mockito.in.30.Steps.part2.rar.html
https://rapidgator.net/file/d9f3a4f066ff2782f3f3ea12e1a87f73/ecw5y.Learn.Unit.Testing.with.Junit..Mockito.in.30.Steps.part3.rar.html
https://rapidgator.net/file/40e2bc6dbbb7ec176ad27c65b8af00e0/ecw5y.Learn.Unit.Testing.with.Junit..Mockito.in.30.Steps.part4.rar.html

Download Via Turbobit.net
https://turbobit.net/7xg0txsbwb4k/ecw5y.Learn.Unit.Testing.with.Junit..Mockito.in.30.Steps.part1.rar.html
https://turbobit.net/xuqp4ob3ongw/ecw5y.Learn.Unit.Testing.with.Junit..Mockito.in.30.Steps.part2.rar.html
https://turbobit.net/g48ya4zvhjrq/ecw5y.Learn.Unit.Testing.with.Junit..Mockito.in.30.Steps.part3.rar.html
https://turbobit.net/9ocrf4hddi2q/ecw5y.Learn.Unit.Testing.with.Junit..Mockito.in.30.Steps.part4.rar.html

Download Via Uploadgig.com
https://uploadgig.com/file/download/71dd5bcB3F903417/ecw5y.Learn.Unit.Testing.with.Junit..Mockito.in.30.Steps.part1.rar
https://uploadgig.com/file/download/2520a143e278f27E/ecw5y.Learn.Unit.Testing.with.Junit..Mockito.in.30.Steps.part2.rar
https://uploadgig.com/file/download/8C1007C8b5ead360/ecw5y.Learn.Unit.Testing.with.Junit..Mockito.in.30.Steps.part3.rar
https://uploadgig.com/file/download/4eDF2cbfAf8bc6f0/ecw5y.Learn.Unit.Testing.with.Junit..Mockito.in.30.Steps.part4.rar

Links are Interchangeable - No Password - Single Extraction
Dear visitor, you are browsing our website as Guest.
We strongly recommend you to register and login to view hidden contents.