翻訳と辞書
Words near each other
・ Junk raft
・ Junk Raiders
・ Junk Raiders 1
・ Juniperus saltuaria
・ Juniperus saxicola
・ Juniperus scopulorum
・ Juniperus semiglobosa
・ Juniperus squamata
・ Juniperus standleyi
・ Juniperus taxifolia
・ Juniperus thurifera
・ Juniperus tibetica
・ Juniperus virginiana
・ Junis
・ Juniskär
JUnit
・ Junita Kloppers-Lourens
・ Juniti Saito
・ Junitoite
・ Junius
・ Junius (album)
・ Junius (band)
・ Junius (disambiguation)
・ Junius / Juarez
・ Junius / Rosetta
・ Junius Americanus
・ Junius Annius Bassus
・ Junius Bassus
・ Junius Bibbs
・ Junius Bird


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

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

JUnit is a unit testing framework for the Java programming language. JUnit has been important in the development of test-driven development, and is one of a family of unit testing frameworks which is collectively known as xUnit that originated with SUnit.
JUnit is linked as a JAR at compile-time; the framework resides under package junit.framework for JUnit 3.8 and earlier, and under package org.junit for JUnit 4 and later.
A research survey performed in 2013 across 10,000 Java projects hosted on GitHub found that JUnit, (in a tie with slf4j-api), was the most commonly included external library. Each library was used by 30.7% of projects.
==Example of JUnit test fixture==
A JUnit test fixture is a Java object. With older versions of JUnit, fixtures had to inherit from junit.framework.TestCase, but the new tests using JUnit 4 should not do this. Test methods must be annotated by the @Test annotation. If the situation requires it, it is also possible to define a method to execute before (or after) each (or all) of the test methods with the @Before (or @After) and @BeforeClass (or @AfterClass) annotations.〔

import org.junit.
*;
public class TestFoobar

@Test
public void testOneThing()
@Test
public void testAnotherThing()
@Test
public void testSomethingElse()
@After
public void tearDown() throws Exception

@AfterClass
public static void tearDownClass() throws Exception
}


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



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

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