翻訳と辞書
Words near each other
・ Mockingbird (Game of Thrones)
・ Mockingbird (Inez & Charlie Foxx song)
・ Mockingbird (Marvel Comics)
・ Mockingbird (Rob Thomas song)
・ Mockingbird (Tevis novel)
・ Mockingbird Don't Sing
・ Mockingbird Foundation
・ Mockingbird Hills, Delaware
・ Mockingbird Lane
・ Mockingbird Lane (Texas)
・ Mockingbird Time
・ Mockingbird Valley, Kentucky
・ Mockingboard
・ Mockingjay
・ Mockingjay (disambiguation)
Mockito
・ Mockler
・ Mocklisp
・ Mockney
・ Mockplus
・ Mockrehna
・ MockServer
・ Mocksville, North Carolina
・ Mockumentary
・ Mockup
・ Mockus
・ Mocky
・ Mocky Brereton
・ Mocl
・ MoClay


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Mockito : ウィキペディア英語版
Mockito

Mockito is an open source testing framework for Java released under the MIT License.〔(【引用サイトリンク】title=Mockito in six easy examples )〕〔(【引用サイトリンク】title=''What's the best mock framework for Java?'' )〕 The framework allows the creation of test double objects (mock objects) in automated unit tests for the purpose of Test-driven Development (TDD) or Behavior Driven Development (BDD).
In software development there is an opportunity of ensuring that objects perform the behaviors that are expected of them. One approach is to create a test automation framework that actually exercises each of those behaviors and verifies that it performs as expected, even after it is changed. However, the requirement to create an entire testing framework is often an onerous task that requires as much effort as writing the original objects that were supposed to be tested. For that reason, developers have created mock testing frameworks. These effectively fake some external dependencies so that the object being tested has a consistent interaction with its outside dependencies.
Mockito intends to streamline the delivery of these external dependencies that are not subjects of the test. A research performed in 2013 on 10,000 GitHub projects found that Mockito is the 9th most popular Java library.
==Distinguishing features==
Mockito distinguishes itself from other mocking frameworks by allowing developers to verify the behavior of the system under test (SUT) without establishing expectations beforehand.〔(【引用サイトリンク】title=''Features and Motivations'' )〕 One of the criticisms of mock objects is that there is a tight coupling of the test code to the system under test. Since Mockito attempts to eliminate the expect-run-verify pattern by removing the specification of expectations, the coupling is reduced or minimized. The result of this distinguishing feature is simpler test code that should be easier to read and modify. Mockito also provides some annotations useful for reducing boilerplate code.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Mockito」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.