Blogs about: Mockito

Featured Blog

Unit Testing for Android - Mockito2 comments

mitchwongho wrote 4 weeks ago: Unit testing in general is one of the after thoughts for many during the development process. I was … more →

Tags: android, BDD, unittest

Getting started with mockito

ajmacdo wrote 2 months ago: Mock objects are simulated objects that mimic the behaviour of real objects in controlled ways. a mo … more →

Tags: Java, Testing

Unit Test: JUnit 4 and Mockito

gokceng wrote 2 months ago: Hi, This post is about unit testing. Writing tests, as you already know, is very important. The more … more →

Tags: Java, JUnit, unit test, test, ExpectedException

Adventures with PowerMock2 comments

Annie wrote 2 months ago: Recently I had the opportunity/challenge/task to get unit tests working for some legacy code. Variou … more →

Tags: Unit Testing, PowerMock, Java, JUnit

Java RSpec alternative

elvanja wrote 3 months ago: I simply adore RSpec in Ruby land It helped me embrace TDD in the best manner possible – by no … more →

Tags: Java, PowerMock, rspec, Testing

Easy Mocking of Your Database4 comments

lukaseder wrote 3 months ago: Test-driven development is something wonderful! Once you’ve established it in your organisatio … more →

Tags: jooq-development, jooq, JDBC, Database, Mocking ;, database mocking, Unit Testing, unit tests, Integration testing

Mocking Java classes in Groovy vs Mockito

kahgoh wrote 3 months ago: While experimenting with using an ODF parser in Groovy, I was attempting to write unit tests in Groo … more →

Tags: Java, Groovy, Mocking ;, Mocks, Expando«

A roadmap for unit testing

Mike McGarr wrote 5 months ago: I was recently asked by an old friend how they can get started writing unit tests on their existing … more →

Tags: Software development, JUnit, Unit Testing, BDD, Code Katas, PowerMock, Mocking ;, Legacy Code, goos

Chatting Through JActor

Ivan wrote 6 months ago: Abstract : Nearly 40 years ago Carl Hewitt, Peter Bishop and Richard Steiger introduced the actor mo … more →

Tags: Java, jactor, FEST-Reflect, FEST Assert, Software, technology, Guava, logback, Maven

Online service development in java - a beginner's guide1 comment

TheZuck wrote 6 months ago: In the coming series of posts, I will share my development experience (code included) with creating … more →

Tags: R&D, Continuous Deployment, CloudBees, jQuery, logback, spring, tiles 2, rest, jackson

Writing Unit tests - a beginner's experience log

TheZuck wrote 6 months ago: I have to admit the embarrassing truth: I’m a Unit Test noob.  While Unit Testing has been aro … more →

Tags: R&D, PowerMock, Unit Testing

Mocking chained methods using Mockito2 comments

myquacks wrote 7 months ago: The easy way to mock chained methods using Mockito is to use RETURN_DEEP_STUBS while mocking. See ex … more →

Tags: Programming, JUnit, test, TDD, Chained Methods

Composite Design Pattern Kata1 comment

tamasgyorfi wrote 7 months ago: Today’s post is nothing elevated, just two examples from which one can understand this powerfu … more →

Tags: Code Kata, dojo, Kata, JUnit, Design Pattern

Choosing a Unit Testing framework1 comment

TheZuck wrote 7 months ago: While piecing together the parts of my service I realized one topic I haven’t touched is Unit … more →

Tags: R&D, JUnit, EasyMock, PowerMock, testng, JMockit

Mock liferay services in unit tests for 6.1.1

mcbeelen wrote 7 months ago: Using mock Liferay 6.1.1 services in a unit test. When you are developing components, which interact … more →

Tags: iprofs, liferay, Liferay, unittesting

Chasing Heisenbugs from an AKKA actor integration test with awaitility

Ivan wrote 8 months ago: Abstract : Ever had an impression you’re changing what you’re observing by simply observ … more →

Tags: Java, Fest, FEST-Reflect, FEST Assert, Akka, spring, multithreading, heisenbug, awaitility

Use Mockito with OpenEJB9 comments

rmannibucau wrote 8 months ago: Maybe Mockito sounds today an old school way to write a test since Arquillian is out but it keeps so … more →

Tags: Arquillian, JavaEE, OpenEJB, Testing, openejb, arquillian

Beyond the Mockito Refcard - part 3 - mockito-core vs. mockito-all in Maven/Gradle-based projects

emszpak wrote 8 months ago: Mockito team provides two jars: mockito-core.jar and mockito-all.jar. Which is better to choose for … more →

Tags: Tricks & Tips, Mocking ;, refcard, Tests

The song of the mockingbird

Peter Birk Nielsen wrote 8 months ago: I have a new favourite drink: Mockito! For my Computer Science thesis, I worked with the annotation … more →

Tags: Java, Frameworks, Mocking framwork, Enterprise IT, Software development, technology


Related Tags
All →

Follow this tag via RSS