- CppUnit . . . . 31 matches
C++ 에서 UnitTest를 하기 위한 UnitTestFramework. http://sourceforge.net/projects/cppunit/ 에서 다운 받을 수 있다.
C++ 의 또다른 형태의 UnitTestFramework 로 CxxTest 가 있다.
[http://janbyul.com/moin/moin.cgi/CppUnit/HowTo/Kor 이곳]에 VS2005용 설정방법을 간단하게 정리해둠. - 임인택
* Library 화일 생성 : {{{~cpp ...cppunitexamplesexamples.dsw }}} 을 연뒤 {{{~cpp WorkSpace }}}의 {{{~cpp FileView }}}에서 {{{~cpp CppUnitTestApp files }}} 에 Set as Active Project로 맞춰준다.(기본값으로 되어 있다.) 그리고 컴파일 해주면 lib 폴더에 library 화일들이 생성될 것이다.
== 준비 2 - CppUnit을 사용할 프로젝트 열 때 해주어야 할 기본 세팅 ==
Library : {{{~cpp ...cppunit-x.x.xlib }}} [[BR]]
Include : {{{~cpp ...\cppunit-x.x.xinclude }}}
a. Tools -> Options -> Directories -> Include files 에서 해당 cppunit
* Project Setting - Link - General - object/library 에 cppunitd.lib, testrunnerd.lib 를 추가해준다.
copy c:cppunitlibtestrunnerd.dll .
#include <cppunit/extensions/testfactoryregistry.h>
runner.addTest ( CppUnit::TestFactoryRegistry::getRegistry().makeTest() );
= UnitTest TestCase의 작성 =
Test Case 가 될 Class는 {{{~cpp CppUnit::TestCase }}} 를 상속받는다.
#ifndef CPP_UNIT_EXAMPLETESTCASE_H
#define CPP_UNIT_EXAMPLETESTCASE_H
#include <cppunit/TestCase.h>
#include <cppunit/extensions/HelperMacros.h>
class ExampleTestCase : public CppUnit::TestCase
CPPUNIT_TEST_SUITE( ExampleTestCase ); // TestSuite
- 데블스캠프2010/다섯째날/ObjectCraft/미션3/김상호 . . . . 25 matches
}unit;
void attack(unit a, unit &b)
void init_unit(unit a[NUM]){
unit a[NUM];
init_unit(a);
int attackerUnit = rand() % 2;
int defenderunit = rand() % 2;
attack(a[attackerTeam * 2 + attackerUnit],a[(!attackerTeam) * 2 + defenderunit]);
#include"unit.h"
unit a[NUM];
a[i].init_unit(i);
int attackerUnit = rand() % 2;
int defenderunit = rand() % 2;
a[attackerTeam * 2 + attackerUnit].attack(a[(!attackerTeam) * 2 + defenderunit]);
== unit.cpp ==
#include"unit.h"
void unit::attack(unit &b)
void unit::init_unit(int n){
bool unit::is_dead()
== unit.h ==
- PyUnit . . . . 22 matches
=== Python Unit Testing Framework PyUnit 에 대해서 ===
* 원문은 PyUnit에 있는 도큐먼트 문서임을 밝혀둠. 공부겸 1차 정리중. 일단 약간 번역작업뒤 정리함.
* PyUnit는 Python 에 기본적으로 포함되어있는 UnitTest Framework library이다. 하지만, UnitTest작성에 대한 기본적인 개념들을 쉽게 담고 있다고 생각하여 공부중. (솔직히 C++로 UnitTest할 엄두 안나서. --; Python으로 먼저 프로토타입이 되는 부분을 작성하고 다른 언어로 포팅하는 식으로 할까 생각중)
* http://c2.com/cgi/wiki?PythonUnit - 아직 안읽어봐서. --; 퍽하고 적긴 뭐하지만. --a
* http://pyunit.sourceforge.net
* http://junit.org - Java Unit Test Framework 모듈.
unit testing 의 가장 기본적인 코드 블록 단위. 셋팅과 모듈이 제대로 돌아가는지를 체크하기 위한 하나의 시나리오가 된다.
PyUnit에서는 TestCase는 unittest모듈의 TestCase 클래스로서 표현된다.testcase 클래스를 만들려면 unittest.TestCase를 상속받아서 만들면 된다.
import unittest
class DefaultWidgetSizeTestCase(unittest.TestCase):
import unittest
class SimpleWidgetTestCase(unittest.TestCase):
import unittest
class SimpleWidgetTestCase (unittest.TestCase):
종종, 많은 작은 test case들이 같은 fixture를 사용하게 될 것이다. 이러한 경우, 우리는 DefaultWidgetSizeTestCase 같은 많은 작은 one-method class 안에 SimpleWidgetTestCase를 서브클래싱하게 된다. 이건 시간낭비이고,.. --a PyUnit는 더 단순한 메커니즘을 제공한다.
import unittest
class WidgetTestCase (unittest.TestCase):
Test case 인스턴스들은 그들이 테스트하려는 것들에 따라 함께 그룹화된다. PyUnit는 이를 위한 'Test Suite' 메커니즘을 제공한다. Test Suite는 unittest 모듈의 TestSuite class로 표현된다.
widgetTestSuite = unittest.TestSuite ()
suite = unittest.TestSuite ()
- JavaStudy2004/조동영 . . . . 20 matches
===== Unit =====
public class Unit {
protected int unitHp;
protected int unitShield;
public Unit() {
public Unit(int hp, int shield, int attack, String state, boolean air) {
this.unitHp = hp;
this.unitShield = shield;
totalHp = unitHp + unitShield;
if (totalHp > unitHp) {
unitShield = totalHp - unitHp;
System.out.print(unitHp);
System.out.print(unitShield);
} else if (totalHp == unitHp) {
unitShield = 0;
System.out.print(unitHp);
System.out.print(unitShield);
unitHp = totalHp;
System.out.print(unitHp);
System.out.print(unitShield);
- RandomWalk2/재동 . . . . 16 matches
import unittest, random, os.path
class ReaderTestCase(unittest.TestCase):
class BoardTestCase(unittest.TestCase):
class MoveRoachTestCase(unittest.TestCase):
class AllCaseTestCase(unittest.TestCase):
#unittest.main()
import unittest, random, os.path
class ReaderTestCase(unittest.TestCase):
class BoardTestCase(unittest.TestCase):
class MoveRoachTestCase(unittest.TestCase):
#unittest.main()
import unittest, os.path
class ReaderTestCase(unittest.TestCase):
class BoardTestCase(unittest.TestCase):
class MoveRoachTestCase(unittest.TestCase):
unittest.main()
- ProjectEazy/Source . . . . 15 matches
import unittest
class EazyWordTestCase(unittest.TestCase):
unittest.main()
import unittest
class EazyDicTestCase(unittest.TestCase):
unittest.main()
import unittest
class EazyParserTestCase(unittest.TestCase):
unittest.main()
import unittest
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(EazyParserTestCase, 'test'))
suite.addTest(unittest.makeSuite(EazyWordTestCase, 'test'))
suite.addTest(unittest.makeSuite(EazyDicTestCase, 'test'))
runner = unittest.TextTestRunner()
- 데블스캠프2010/다섯째날/ObjectCraft/미션2/허준 . . . . 12 matches
struct unit {
unit zeli1={5,0,50};
unit zeli2={5,0,50};
struct unit {
unit zeli1, zeli2;
void init_unit() {
int get_damage(unit a1, unit a2) {
void attack(unit a1, unit& a2) {
int is_dead(unit a) {
init_unit();
- 3N+1Problem/Leonardong . . . . 10 matches
import unittest
class AOI3nPlus1ProblemTestCase(unittest.TestCase):
## unittest.main()
import unittest
class AOI3nPlus1ProblemTestCase(unittest.TestCase):
unittest.main(argv=('','-v'))
import unittest
class MyTestCase(unittest.TestCase):
## unittest.main()
runner = unittest.TextTestRunner()
- Ant/JUnitAndFtp . . . . 8 matches
ant script 를 JUnit 과 FTP 를 연동하여 해당 웹 주소에 junit reporting 을 해주는 예.
<pathelement location="${lib}/junit.jar"/>
<target name="unittest" depends="compile">
<junit>
</junit>
<junitreport todir="${report}">
</junitreport>
<target name="reporttoftp" depends="unittest">
- MoniWikiPo . . . . 8 matches
#: ../plugin/Vote.php:67 ../plugin/security/community.php:26
#: ../plugin/security/community.php:36 ../plugin/security/community.php:46
#: ../plugin/security/community.php:61 ../plugin/security/mustlogin.php:25
#: ../plugin/security/community.php:25 ../plugin/security/community.php:35
#: ../plugin/security/community.php:45 ../plugin/security/mustlogin.php:24
#: ../plugin/security/community.php:60 ../plugin/security/htaccesslogin.php:46
- NUnit . . . . 8 matches
[http://nunit.org/ NUnit] 은 .Net 언어들을 위한 UnitTest Frameworks 이다.
* http://nunit.org/
* http://sourceforge.net/projects/nunit/
* http://nunit.org/ Download 에서 받아서 설치한다. MS Platform 답게 .msi 로 제공한다.
|| Upload:NUnitByC#.gif ||
* NUnit 은 pyunit과 junit 과 달리, .Net Frameworks 에 도입된 Source 내의 Meta Data 기록인 Attribute 으로 {{{~cpp TestFixture}}}를 구성하고 테스트 임을 만방에 알린다.
* 어떠한 클래스라도 즉시 Test를 붙일수 있다. (반면 JUnit 은 TestCase 를 상속받아야 하기 때문에, 기존 product소스가 이미 상속 상태라면 Test Fixture가 될수 없다. )
* 스크린 샷에서 처럼, 함수 이름이 Test 세팅에 종속적이지 않다. (반면 JUnit 은 reflection으로 Test 메소드들을 찾아내므로, Test의 이름들이 testXXX 와 같은 형태여야 한다.)
[NUnit/C++예제]
[NUnit/C#예제]
* C++에서 CppUnit을 사용할수도 있겠지만, [인수]군이 써본바로는, 또한 6.0이 아닌 .Net을 쓴다면 NUnit이 더 좋은것 같다.(어차피 6.0에선 돌아가지도 않지만--;) CppUnit은... 뭔가 좀 이상하다.--; --[인수]
* 표현이 잘못된것 같다. .NET(C#, VB.NET Managed C++ 등)을 쓴다면. Logic에서는 NUnit 밖에 쓸수 없다. --NeoCoin
* 아무리 그래도.. pyunit,junit만큼 편한건 없는것 같다. --[인수]
* Java 1.5 에 메타 테그가 추가되면 NUnit 방식의 TestCase 버전이 나올것 같다. 일단 이름의 자유로움과, 어떠한 클래스라도 Test가 될수 있다는 점이 좋왔다. 하지만, TestFixture 를 붙여주지 않고도, 목표한 클래스의 Test 들을 실행할 수 있는 방식이면 어떨까 생각해 본다. --NeoCoin
See Also UnitTestFramework
- TFP예제/Omok . . . . 8 matches
import unittest
class BoardTestCase (unittest.TestCase):
suite = unittest.makeSuite (BoardTestCase, "test")
runner = unittest.TextTestRunner ()
import unittest
class OmokTestCase (unittest.TestCase):
suite = unittest.makeSuite (OmokTestCase, "test")
runner = unittest.TextTestRunner ()
- TestSuiteExamples . . . . 8 matches
여러 UnitTestFramework에서 TestSuite를 사용하는 예제들
=== PyUnit ===
import unittest
class AllTests(unittest.TestSuite):
unittest.main(argv=('','-v'))
import unittest
return unittest.defaultTestLoader.loadTestsFromNames( ('ThePackage.test_file1','ThePackage.subpack.test_file2'))
unittest.TextTestRunner(verbosity=2).run(suite())
=== [JUnit] ===
import junit.framework.Test;
import junit.framework.TestSuite;
=== CppUnit ===
=== [NUnit] ===
[프로그래밍분류], TestDrivenDevelopment, UnitTest
- VonNeumannAirport/1002 . . . . 8 matches
여기서 잠시 CppUnit 셋팅을 맞춰놓고.
#include <cppunit/TestCase.h>
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/Ui/Text/TestRunner.h>
class TestOne : public CppUnit::TestCase {
CPPUNIT_TEST_SUITE (TestOne);
CPPUNIT_TEST_SUITE_END();
CppUnit::TextUi::TestRunner runner;
class TestOne : public CppUnit::TestCase {
CPPUNIT_TEST_SUITE (TestOne);
CPPUNIT_TEST (test1);
CPPUNIT_TEST_SUITE_END();
CPPUNIT_ASSERT_EQUAL (1, conf->getTraffic ());
CPPUNIT_ASSERT_EQUAL (1, conf->getTraffic ());
CPPUNIT_ASSERT_EQUAL (2, conf->getTraffic ());
CPPUNIT_ASSERT_EQUAL (102, conf->getTraffic ());
CPPUNIT_ASSERT_EQUAL (expectedSet[i], conf->getTraffic ());
CPPUNIT_ASSERT_EQUAL(2, conf->getTraffic());
CPPUNIT_ASSERT_EQUAL(2, conf->getTraffic());
CPPUNIT_ASSERT_EQUAL(1, conf->getDistance(1,1));
- MagicSquare/재동 . . . . 7 matches
import unittest
class MagicSquareTestCase(unittest.TestCase):
#unittest.main()
import unittest
class MagicSquareTestCase(unittest.TestCase):
class CounterTestCase(unittest.TestCase):
unittest.main()
- 3N+1Problem/황재선 . . . . 6 matches
import unittest
class ThreeNPlusOneTest(unittest.TestCase):
unittest.main(argv=('','-v'))
import unittest
class ThreeNPlusOneTest(unittest.TestCase):
unittest.main(argv=('','-v'))
- CubicSpline/1002/test_NaCurves.py . . . . 6 matches
import unittest
class TestGivenFunction(unittest.TestCase):
class TestLagrange(unittest.TestCase):
class TestPiecewiseLagrange(unittest.TestCase):
class TestSpline(unittest.TestCase):
unittest.main(argv=('','-v'))
- PrimaryArithmetic/1002 . . . . 6 matches
class PrimaryArithmeticTest(unittest.TestCase):
class PrimaryArithmeticTest(unittest.TestCase):
class PrimaryArithmeticTest(unittest.TestCase):
import unittest
class PrimaryArithmeticTest(unittest.TestCase):
unittest.main(argv=('','-v'))
- SpiralArray/Leonardong . . . . 6 matches
import unittest
class SpiralArrayTest(unittest.TestCase):
## unittest.main()
import unittest
class SpiralArrayTest(unittest.TestCase):
unittest.main()
- TriDiagonal/1002 . . . . 6 matches
import unittest
class TestLuDecomposition(unittest.TestCase):
unittest.main()
import unittest
class TestTridiagonal(unittest.TestCase):
unittest.main()
- 데블스캠프2010/다섯째날/ObjectCraft/미션2/김상호 . . . . 6 matches
}unit;
unit a[2];
}unit;
void attack(unit a, unit &b)
unit a[2];
- 데블스캠프2011/다섯째날/HowToWriteCodeWell/임상현,서민관 . . . . 6 matches
import static org.junit.Assert.*;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
- 몸짱프로젝트/BinarySearchTree . . . . 6 matches
import unittest
class BinartSearchTreeTestCase(unittest.TestCase):
unittest.main()
import unittest
class BinartSearchTreeTestCase(unittest.TestCase):
unittest.main()
- ACM_ICPC/2013년스터디 . . . . 5 matches
* 풀이 - 삼차원 테이블을 사용한 DP문제, d(bar,unit,width)는 bar번째의 bar를 사용하면서, unit의 위치에 그 bar의 폭이 width일 때의 경우이다. 따라서 가능한 모든 바코드의 수를 구하는 것은 d(bar,unit,0 ~ width)를 전부 더해주면 된다.
- 점화식 : d(bar, unit, width) += d(bar - 1,unit - width,l);
- JTDStudy/첫번째과제/상욱 . . . . 5 matches
import junit.framework.TestCase;
* 테스트 코드를 갖고 어떻게 해야하는지 잘 모르겠어요. import junit.framework.TestCase 구문이 있던데 이것은 어디서 가져와야 하나요? -_-;; - [문원명]
* 일단 테스트 무시하고 해. JUnit사용하는 방법은 나중에 알려줄테니깐. - [상욱]
* JUnit 4.1을 추천합니다. 3~4년 후에는 4.1이 일반화 되어 있겠죠. 사용하다 보니, 4.1은 배열간의 비교까지 Overloading되어 있어서 편합니다. 다음의 예제를 보세요. SeeAlso [http://neocoin.cafe24.com/cs/moin.cgi/JUnit JUnit in CenterStage] --NeoCoin
JUnit 4.1 밑의 비교가 성공함
import org.junit.Test;
import static org.junit.Assert.*;
public class JUnit41Test {
JUnit 3.8 밑의 비교를 할수 없음 (마지막 줄에서 실패)
import junit.framework.TestCase;
public class JUnit38Test extends TestCase {
- ClassifyByAnagram/김재우 . . . . 4 matches
import unittest
class AnagramTest( unittest.TestCase ):
unittest.main()
using NUnit.Framework;
import junit.framework.TestCase;
- EightQueenProblem/강석천 . . . . 4 matches
import unittest
class BoardTestCase (unittest.TestCase):
suite = unittest.makeSuite (BoardTestCase, "test")
runner = unittest.TextTestRunner ()
- JUnit . . . . 4 matches
Java 언어를 위한 UnitTest Framework.
* http://junit.org
* http://www.yeonsh.com/index.php?display=JUnit - 연승훈씨의 홈페이지. Cook Book (주소변경)
* http://huniv.hongik.ac.kr/~yong/moin.cgi/JunitSampleCode - 박응용씨의 위키페이지. JUnit 간단한 예제.
그리고 배치화일 디렉토리에 path 를 걸어놓고 쓰고 있죠. 요새는 JUnit 이 포함되어있는 IDE (["Eclipse"], ["IntelliJ"] 등등)도 많아서 이럴 필요도 없겠지만요. ^^ --석천
java junit.textui.TestRunner %1
java junit.swingui.TestRunner %1
JUnit 에서 UnitTest (PyUnit) 에서처럼 testing message 나오게 하려면 어떻게 해야 하죠..? -임인택
PyUnit 에서 argument 로 -v 를 주면 testing message 가 나오지 않습니까..?
- Memo . . . . 4 matches
import unittest
class TestObserverPattern(unittest.TestCase):
class TestCompany(unittest.TestCase):
unittest.main(argv=('','-v'))
- MineSweeper/Leonardong . . . . 4 matches
import unittest
class MineSweeperTestCase(unittest.TestCase):
class MineGroundTestCase(unittest.TestCase):
## unittest.main()
- NUnit/C#예제 . . . . 4 matches
1. 솔루션 탐색기를 열어 현재 프로젝트의 참조 -> PopUp 참조추가 NUnit 의 nunit.framework 추가
1. NUnit gui나 console 브라우져로 빌드후 나온 dll 혹은 exe를 로딩해서 Test를 실행한다.
using NUnit.Framework;
namespace NUnitByCShop
|| Upload:NunitByC#ExampleGui.gif ||
|| Upload:NunitByC#ExampleConsole.gif ||
== 단축키로 콘솔에서 UnitTest 실행하기 ==
이대로 쓰기에는 다른 xUnit에 비하면 사용이 불편하다. 하지만 몇 가지 설정을 해 놓으면 콘솔 실행을 자동으로 수행할 수 있다.
1. 아래에 있는 Title에는 자기가 적고 싶은 이름( 예:NUnit Test(Console) )을 적는다.
1. Command에는 설치한 NUnit 콘솔 프로그램의 경로를 적어준다.(예:C:\Program Files\NUnit 2.2\bin\nunit-console.exe)
1. Show Command Containing 밑에 있는 박스에서 방금 추가한 실행도구를 선택한다. 이 때 명령의 이름이 나오지 않으므로 NUnit을 실행하는 것이 몇 번째 실행 명령(External Command)인지 알아두어야 한다. 처음 실행 도구를 추가했다면 아마 External Command8 일 것이다. (VS2005경우는 외부명령1이 첫번째 External Tools임)
[NUnit]
- NUnit/C++예제 . . . . 4 matches
* 속성 페이지 가서 C/C++로 간다음, #using 참조확인에다가 NUnit이 깔린 폴더의 bin 폴더를 넣어준다.
* NUnit이 깔린 폴더의 bin안에 보면 NUnit-gui.exe을 실행한다. 컴파일해서 나온 dll을 로딩해주고 run하면 테스트들을 실행해준다.
// NUnit6.h
#using <nunit.framework.dll>
using namespace NUnit::Framework;
namespace NUnitSamples
// NUnit6.cpp
#include "NUnit6.h"
namespace NUnitSamples {
// NUnit6.h
#using <nunit.framework.dll>
using namespace NUnit::Framework;
// NUnit6.cpp
#include "NUnit6.h"
VC++ 7.0의 MFC에서 NUnit을 써보자. 이것보다 좋은 방법이 있을듯한데... 인수군은 이방법밖에는 만들어내지 못했다.
3. 테스트 프로젝트의 속성으로 들어가서 #using 참조에 nunit\bin폴더를 넣어준다.
평소대로 하자면 이렇게 하면 될것이다. 하지만 현재 프로젝트는 [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmxspec/html/vcmanagedextensionsspec_16_2.asp Managed C++ Extensions]이다. 이것은 C++을 이용해서 .Net을 Platform위에서 프로그래밍을 하기 위하여 Microsoft에서 C++을 확장한 형태의 문법을 제안된 추가 문법을 정의해 놓았다. 이를 이용해야 NUnit이 C++ 코드에 접근할수 있다. 이경우 NUnit 에서 검증할 클래스에 접근하기 위해 다음과 같이 클래스 앞에 [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmxspec/html/vcmanagedextensionsspec_16_2.asp __gc] 를 붙여서 선언해야 한다.
__gc의 가 부여하는 능력과 제약 사항에 대해서는 [http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcmxspec/html/vcmanagedextensionsspec_4.asp __gc] 을 참고하자. NUnit 상에서 테스트의 대상 클래스는 무조건 포인터형으로 접근할수 있다. 이제 테스트 클래스의 내용을 보자.
#using <nunit.framework.dll>
using namespace NUnit::Framework;
- ProjectPrometheus/AT_BookSearch . . . . 4 matches
import unittest
class TestAdvancedSearch(unittest.TestCase):
class TestSimpleSearch(unittest.TestCase):
unittest.main(argv=('','-v'))
- ProjectPrometheus/AT_RecommendationPrototype . . . . 4 matches
import unittest
class TestCustomer(unittest.TestCase):
class TestRecommendationSystem(unittest.TestCase):
unittest.main(argv=('', '-v'))
- ProjectTriunity . . . . 4 matches
=== ProjectTriunity ===
NaverDic:Triunity ? 3인조...
|| Upload:ProjectTriunity.zip || 이상규 || 최종 ||
|| Upload:ProjectTriunity2.zip || 이상규 || 최종 ||
- SeminarHowToProgramIt/Pipe/vendingmachine.py . . . . 4 matches
import unittest
class TestVendingMachine(unittest.TestCase):
class TestVendingMachineVerification(unittest.TestCase):
unittest.main()
- TFP예제/WikiPageGather . . . . 4 matches
import unittest
class WikiPageGatherTestCase (unittest.TestCase):
suite = unittest.makeSuite (WikiPageGatherTestCase, "test")
runner = unittest.TextTestRunner ()
- Vending Machine/dooly . . . . 4 matches
import junit.framework.Test;
import junit.framework.TestSuite;
//$JUnit-BEGIN$
//$JUnit-END$
import junit.framework.TestCase;
import junit.framework.TestCase;
- XMLStudy_2002/Start . . . . 4 matches
<currency><country>영국</country><name>파운드</name><unit>£</unit></currency>
<currency><country>일본</country><name>엔</name><unit>¥</unit></currency>
- 데블스캠프2011/다섯째날/HowToWriteCodeWell/강소현,구자경 . . . . 4 matches
import static org.junit.Assert.*;
import org.junit.Test;
import static org.junit.Assert.*;
import org.junit.Test;
- ClassifyByAnagram/박응주 . . . . 3 matches
import unittest
class AnagramTestCase(unittest.TestCase):
#unittest.main(argv=('', '-v'))
- ClassifyByAnagram/재동 . . . . 3 matches
import unittest
class AnagramTestCase(unittest.TestCase):
#unittest.main()
- CubicSpline/1002/test_lu.py . . . . 3 matches
import unittest
class TestLuDecomposition(unittest.TestCase):
unittest.main()
- CubicSpline/1002/test_tridiagonal.py . . . . 3 matches
import unittest
class TestTridiagonal(unittest.TestCase):
unittest.main()
- EightQueenProblem/Leonardong . . . . 3 matches
import unittest
class EightQueenTestCase(unittest.TestCase):
unittest.main()
- EightQueenProblem/김형용 . . . . 3 matches
import unittest, random, pdb
class TestEightQueenProblem(unittest.TestCase):
unittest.main(argv=('','-v'))
- ErdosNumbers/임인택 . . . . 3 matches
import unittest
class TestErdos(unittest.TestCase):
#unittest.main(argv=('','-v'))
- GuiTestingWithMfc . . . . 3 matches
CppUnit 을 이용한 MFC 에서의 GuiTesting (시도중. 결과는?)
Dialog Based 의 경우 Modal Dialog 를 이용하게 된다. 이 경우 Dialog 내에서만 메세지루프가 작동하게 되므로, DoModal 함수로 다이얼로그를 띄운 이후의 코드는 해당 Dialog 가 닫히기 전까지는 실행되지 않는다. 고로, CppUnit 에서의 fixture 를 미리 구성하여 쓸 수 없다.
#include "cppunit\ui\mfc\TestRunner.h"
CppUnit::MfcUi::TestRunner runner;
#include <cppunit/TestCase.h>
#include <cppunit/Extensions/HelperMacros.h>
class GuiTestCase : public CppUnit::TestCase {
CPPUNIT_TEST_SUITE(GuiTestCase);
CPPUNIT_TEST ( test1One );
CPPUNIT_TEST ( test2GuiOne );
CPPUNIT_TEST ( test3ListAdd );
CPPUNIT_TEST_SUITE_END();
CPPUNIT_ASSERT_EQUAL (10, 10);
CPPUNIT_ASSERT_EQUAL (true, pDlg->m_bFlag);
CPPUNIT_ASSERT_EQUAL (1, pDlg->m_ctlList.GetCount());
CPPUNIT_ASSERT ( isSameString(str, "Testing..."));
CPPUNIT_ASSERT_EQUAL (2, pDlg->m_ctlList.GetCount());
CPPUNIT_ASSERT ( isSameString(str, "Testing2..."));
CPPUNIT_ASSERT_EQUAL(0, pDlg->m_ctlList.GetCurSel());
CPPUNIT_ASSERT_EQUAL(1, pDlg->m_ctlList.GetCurSel());
- GuiTestingWithWxPython . . . . 3 matches
import unittest
class TestFrame(unittest.TestCase):
unittest.main(argv=('','-v'))
- IpscLoadBalancing . . . . 3 matches
import unittest, shlex
class TestLoadBalancing(unittest.TestCase):
unittest.main(argv=('','-v'))
- JTDStudy/첫번째과제/원명 . . . . 3 matches
집에서 놀다가 우연히 여기를 와서 고쳐봅니다. 조금 더 생각해 보시면 되지요. 저에게 재미있는 경험을 주었는데, 문원명 후배님도 보시라고 과정을 만들어 두었습니다. 선행학습으로 JUnit이 있어야 하는데, http://junit.org 에서 궁금하시면 [http://www.devx.com/Java/Article/31983/0/page/2 관련문서]를 보시고 선배들에게 물어보세요.
* 오해가 있을 것 같아서 코멘트 합니다. TDD는 별로 중요하지 않습니다. 결정적으로 저는 '''TDD로 하지 않았습니다.''' 그냥 Refactoring시 Regression Test를 위해서 JUnit 을 썼을 뿐이에요.--NeoCoin
import static org.junit.Assert.assertEquals;
import org.junit.Test;
- JUnit/Ecliipse . . . . 3 matches
= Eclipse 에서의 JUnit 설치 =
Eclipse 에서는 기본적으로 JUnit을 내장하고 있습니다. (참고로 저는 Eclipse 3.0 M9 버전을 사용하였습니다.)
따라서 별도의 다운로드 및 인스톨 과정없이 보다 편하게 JUnit을 사용할 수 있는 강점이 있으며, 실제로 마우스의 클릭 몇번으로 대부분의 클래스 및 메서드를 생성해 주는 강력한 기능을 지원합니다.
먼저 Eclipse 에서 JUnit 을 사용하기 위한 세팅법입니다.
Name : 은 JUNIT 으로..
clipse/plugins/org.junit_3.8.1/junit.jar
이것으로 Junit을 사용하기 위한 준비는 끝입니다.
위의 샘플 클래스를 JUnit을 통하여 테스트 해보도록 하겠습니다.
이클립스의 Workspace 중 Pakage Expolorer 를 보시면 Ch03_01.java 파일이 있습니다. 여기서 마우스 오른쪽 버튼을 클릭 -> NEW -> JUnit Test Case 를 선택합니다.
테스팅을 원하는 코드를 추가했으므로, Urs As -> JUnit Test 메뉴를 클릭하여 실행합니다.
나머지 두개의 Error는 JUnit이 모든 테스트를 독립적으로 실행하기 때문에 발생하는 것 입니다.
[JUnit]
- JollyJumpers/Leonardong . . . . 3 matches
import unittest
class JollyJumperTestCase(unittest.TestCase):
## unittest.main()
- LoadBalancingProblem/Leonardong . . . . 3 matches
import unittest
class SuperComputerTestCase(unittest.TestCase):
unittest.main()
- LoadBalancingProblem/임인택 . . . . 3 matches
import junit.framework.*;
import junit.textui.*;
import junit.framework.*;
- Ones/1002 . . . . 3 matches
import unittest
class OnesTest(unittest.TestCase):
#unittest.main(argv=('','-v'))
- PNGFileFormat/FormatUnitTestInPythonLanguage . . . . 3 matches
import unittest
class TestPngFormat(unittest.TestCase):
unittest.main(argv=('', '-v'))
- PrimaryArithmetic/Leonardong . . . . 3 matches
import unittest
class TemplateTestCase(unittest.TestCase):
unittest.main()
- RandomWalk2/ExtremePair . . . . 3 matches
import unittest
class ManTestCase(unittest.TestCase):
#unittest.main()
- ReverseAndAdd/남상협 . . . . 3 matches
import unittest
class testPalindrome(unittest.TestCase):
unittest.main()
- ReverseAndAdd/신재동 . . . . 3 matches
import unittest
class ReverseAndAdderTestCase(unittest.TestCase):
#unittest.main()
- ReverseAndAdd/황재선 . . . . 3 matches
import unittest
class ReverseAndAddTestCase(unittest.TestCase):
#unittest.main()
- Slurpys/박응용 . . . . 3 matches
import unittest
class UnitPattern:
class Word(UnitPattern):
class And(UnitPattern):
class Or(UnitPattern):
class More(UnitPattern):
class SlurpyTest(unittest.TestCase):
unittest.main(argv=('', '-v'))
- Slurpys/신재동 . . . . 3 matches
import unittest
class SlurpysTestCase(unittest.TestCase):
#unittest.main()
- Slurpys/황재선 . . . . 3 matches
import unittest
class SlurpysTestCase(unittest.TestCase):
#unittest.main(argv=('', '-v'))
- SpiralArray/임인택 . . . . 3 matches
import unittest
class MyTest(unittest.TestCase):
#unittest.main(argv=('','-v'))
- TheTrip/Leonardong . . . . 3 matches
import unittest
class TheTripTestCase(unittest.TestCase):
unittest.main()
- TugOfWar/남상협 . . . . 3 matches
import unittest
class testTugOfWar(unittest.TestCase):
unittest.main()
- UglyNumbers/황재선 . . . . 3 matches
import unittest
class UglyNumbersTestCase(unittest.TestCase):
#unittest.main()
- VonNeumannAirport/Leonardong . . . . 3 matches
import unittest
class TestDistance(unittest.TestCase):
unittest.main()
- WeightsAndMeasures/황재선 . . . . 3 matches
import unittest
class WeightsAndMeasuresTestCase(unittest.TestCase):
## unittest.main()
- ZP&COW세미나 . . . . 3 matches
=== Python Unit Test 예제 ===
import unittest
class AppleTest(unittest.TestCase):
unittest.main()
- 데블스캠프2010/다섯째날/ObjectCraft/미션1/허준 . . . . 3 matches
struct unit {
unit zeli1={5,0,50};
unit zeli2={5,0,50};
- 데블스캠프2011/다섯째날/HowToWriteCodeWell/박정근,김수경 . . . . 3 matches
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
- 몸짱프로젝트/CrossReference . . . . 3 matches
import unittest
class CrossReferenceTestCase(unittest.TestCase):
unittest.main()
- 몸짱프로젝트/InfixToPrefix . . . . 3 matches
import unittest
class ExpressionConverterTestCase(unittest.TestCase):
unittest.main()
- 실시간멀티플레이어게임프로젝트 . . . . 3 matches
import unittest
class CalculatorTestCase(unittest.TestCase):
unittest.main()
- 영호의해킹공부페이지 . . . . 3 matches
at last. Entertainment at the expense of the hacker community. Who says we
aren't united, man? I *Love* these guys...
[dialup server code]-[subnet unit]-[port assigned].[province].saix.net
- 최소정수의합/임인택 . . . . 3 matches
import unittest
class TestMinInt(unittest.TestCase):
#unittest.main(argv=('','-v'))
- Boost/SmartPointer . . . . 2 matches
// some translation units using this header, shared_ptr< implementation >
// shared_ptr_example2.cpp translation unit where functions requiring a
- BoostLibrary/SmartPointer . . . . 2 matches
// some translation units using this header, shared_ptr< implementation >
// shared_ptr_example2.cpp translation unit where functions requiring a
- EightQueenProblem/da_answer . . . . 2 matches
unit Unit1;
unit Unit1;
- HaskellLanguage . . . . 2 matches
* [http://hunit.sourceforge.net/ hunit] - Haskell Unittest
- MajorMap . . . . 2 matches
ALU is is a part of the execution unit, a core component of all CPUs. ALUs are capable of calculating the results of a wide variety of basic arithmetical computations such as integer and floating point arithmetic operation(addition, subtraction, multiplication, and division), bitwise logic operation, and bit shitf operation. Therefore the inputs to the ALU are the data to be operated on (called operands) and a code from the control unit indicating which operation to perform. Its output is the result of the computation.--from [http://en.wikipedia.org/wiki/ALU]
- MatrixAndQuaternionsFaq . . . . 2 matches
rotation space forms a unit sphere.
Because the rotation axis is specifed as a unit direction vector,
- MoreEffectiveC++/Techniques1of3 . . . . 2 matches
( DeleteMe Translation unit의 해석이 불분명하다.)
또 이 둘의 다른 취약점은 초기화 되는 시간이다. 우리는 함수의 경우에 초기화 시간을 정확히 알수 있다. 아예 처음 이니까 하지만 멤버 메소드로 구현시에는 모호하다. C++는 확실히 특별하게 해석해야 할 부분(단일 객체에서 소스 코드 몸체 부분 따위)은 정적 인자들에 대한 초기화 순서가 보장 된다. 하지만 서로 다른 해석 부분(translation unit)에 있는 정적 객체들의 초기화 순서에 대해서는 말할수가 없다. 이것은 머리를 아프게만 할뿐이다.
- PrimaryArithmetic/sun . . . . 2 matches
import junit.framework.TestCase;
import junit.framework.TestCase;
- ProjectZephyrus/ThreadForServer . . . . 2 matches
[http://zeropage.org/~neocoin/ProjectZephyrus/data/junit.jar jUnit Lib] [[BR]]
java junit.textui.TestRunner AllTests
- SummationOfFourPrimes/1002 . . . . 2 matches
class PrimeNumberTest(unittest.TestCase):
#unittest.main(argv=('','-v'))
- TdddArticle . . . . 2 matches
TDD 로 Database TDD 진행하는 예제. 여기서는 툴을 좀 많이 썼다. [Hibernate] 라는 O-R 매핑 툴과 deployment DB는 오라클이지만 로컬 테스트를 위해 HypersonicSql 이라는 녀석을 썼다고 한다. 그리고 test data 를 위해 DBUnit 쓰고, DB Schema 제너레이팅을 위해 XDoclet 와 Ant 를 조합했다.
* http://www.dallaway.com/acad/dbunit.html
* http://dbunit.sourceforge.net
- WhyWikiWorks . . . . 2 matches
So that's it - insecure, indiscriminate, user-hostile, slow, and full of difficult, nit-picking people. Any other online community would count each of these strengths as a terrible flaw. Perhaps wiki works because the other online communities don't. --PeterMerel
- zennith/MemoryHierarchy . . . . 2 matches
순차적으로 구성된 데이터의 흐름이 필요한 경우가 있다. 그러므로, 한번 하위 계층에서 데이터를 가져올 때, 연속된 데이터의 unit 을 가져올 경우, 순차적인 다음번에 위치한 데이터가 요구될때 하위 계층에 다시 접근하지 않아도 된다.
A: 각각의 계층마다 다릅니다. 캐쉬에서 쓰이는 unit 과 가상메모리에서 쓰이는 page 의 크기 차이는 큽니다. 다만, spartial locality 를 위해서 사용된다는 점은 같겠죠.. 좀더 상세한 설명을 원하신다면.. 제게 개인적으로 물어보시거나, 아니면 공부 하시길 -["zennith"]
- 데블스캠프2010/다섯째날/ObjectCraft/미션1/김상호 . . . . 2 matches
}unit;
unit a[2];
- 데블스캠프2010/다섯째날/ObjectCraft/미션2/변형진 . . . . 2 matches
void init_unit_stats() {
init_unit_stats();
- 데블스캠프2011/다섯째날/HowToWriteCodeWell/권순의,김호동 . . . . 2 matches
import static org.junit.Assert.*;
import org.junit.Test;
- 데블스캠프2011/다섯째날/HowToWriteCodeWell/송지원,성화수 . . . . 2 matches
import static org.junit.Assert.*;
import org.junit.Test;
- 데블스캠프2011/다섯째날/HowToWriteCodeWell/정의정,김태진 . . . . 2 matches
import static org.junit.Assert.*;
import org.junit.Test;
- 데블스캠프2011/첫째날/후기 . . . . 2 matches
* 2009년에 Java와 JUnitTest를 주제로 진행했을 때 실습 미션을 잘못 준비해오고 시간이 많이 비었던 뼈아픈 기억 때문에 시간이 부족했음에도 불구하고 나름 신경을 많이 썼던 섹션이었는데 오히려 타임오버가 되었네요;; 프로그래밍보다 수학 시간이 되었던거 같은 실습시간.. (그래서 처음에 겉넓이를 뺐던 것이었는데 팀이 많아서 추가하고 으헝헝) 그리고 다들 프로그래밍을 잘해서 '''Unit Test를 굳이 하지 않아도 버그가 없었던''' 프로그램을 완성하는 바람에.. Unit Test의 필요성을 많이 체감하지 못한것 같아서 좀 아쉬웠어요. 역시 '''적절한 예제'''를 만들기는 어려운것 같아요.
* java를 이번학기에 수강을 하였기 때문에 어느정도 자신이 있었습니다만, 지원누나의 설명을 들으면서 역시 알아야 할것은 많구나 라는 생각이 들었습니다. 특히 SVN을 사용한 커밋과 JUnit은 팀플할때에도 많은 도움이 될 것 같아 좀더 공부해 보고 싶어졌습니다. 저번 java팀플때는 Github을 사용했었는데 SVN과 무슨 차이점이 있는지도 궁금해 졌구요. JUnit Test는 제가 실제로 프로그래밍 하면서 사용하였던 원시적인 test와 많은 차이가 있어서 이해하기 힘들었지만 이 또한 더 사용하기 좋은 기능인것 같아 점 더 공부해 봐야겠습니다.
* 코드 중심의 팀프로젝트 경험이 없어서 SVN을 쓰게 된지 얼마 안됐는데. 참 유용한듯 싶습니다. 둘이서 할때는 커밋이나 업데이트에 문제가 거의 없었는데, 규모가 커지면 심각한 문제를 야기할 수 있다는 사실을 알게 됐습니다..-_-;; JUnit도 유익한 시간이었습니다. 테스트 기법에 대해서는 더 공부를 해봐야겠지만. 극히 일부분의 테스트케이스를 직접 입력한다는 점에는 조금 의문이 있었습니다.. 대량의 테스트케이스를 자동으로 생성하는 부분에 관심이 가네요. 또 저는 메인으로 실행하지 않아도 된다는 점보다 문서화가 용이하다는데에 느낌이 확 오더군요. 유효한 테스트케이스가 축적될수록 유지보수하는데 도움이 될테니까요.
* junit으로 TDD를 해 보았다는 점이 좋았습니다. 다들 자바정도야 이클립스 정도야 해볼수 있겠지만 junit까지는 안해봤을 것 같아서..
* 조성래 교수님의 수업을 듣고서도 자바에 대한 자신감이 그닥 크게 있지는 않았습니다. 하지만 지원이 누나의 강의를 들으면서 여러가지 많이 배웠습니다. 특히 JUnit Test라는 녀석 매우 신기했습니다. 다음부터 열심히 써먹어야겠어요.
* 자바 기본 + 이클립스 + JUnit. 사실 다른 의미로 상당히 아쉬운 세미나였습니다. 뭐가 아쉬웠냐 하면 1학년들한테 필요한 세미나일텐데 1학년이 적었다는 점 -_- Subclipse는 활용도가 무척 높아 보입니다. 쓰는 버릇을 들여두는 것이 좋을 것 같아요.
* 새내기들과 tool을 접해보지 않은 학생들이 듣기에 적합했던 세미나였다고 생각합니다. 새내기에게는 C가 아닌 언어의 문법을, 다른 학생들에게는 JUnit과 Subversion실습을 할 수 있었던게 좋았습니다. 개인적으로는 태진이와 PP를 해서 좋았습니다. 그리고 농담식으로 나왔던 "선 커밋을 해라." 라는 말이 정말 인상이 깊었습니다. 왜일까요. 이 말을 들었을 때 '신뢰를 보낸다'는 메시지처럼 느껴지기도 하고, '내 책임은 아니야'라는 메시지처럼 느껴지기도 했습니다. VCS을 사용하다보면 '커밋분쟁, 커밋갈등'이 일어날 수 있다는 걸 깨닫게 되기도 했습니다.
* 앗 이 후기를 쓰지 않았다니! 자바를 처음으로 제가 코딩해볼 수 있었던 시간이었습니다. 전날까지 잘 몰랐던(ㅋㅋㅋㅋㅋㅋㅋ) '박' 성현이 형과 같이 진행했죠. 누구랑 같이 할지 선택하라고 했을때 성현이형을 보자마자 찰나의 고민도 없이 '아! 성현이형이랑 해야겠군!' 이라는 생각이 들엇달까요 ㅎㅎㅎㅎ. 개인적으로 지금은 새발의 피만큼 클래스와 객체의 개념에 대해서 좀 더 이해되는거 같습니다. 책보며 공부하고 있는데도 아직 어려움이 많네요. JUnit이라는 (뒤에가서 TDD도 배웠지만) 분산해서 프로그램 짜는걸 실습해볼 수 있어서 좋았습니다. 세미나가 3시간인게 정말 아쉬웠지요 ㅠㅠ 좀 더 시간이 많아서 많은걸 들을 수 있었다면 좋았을텐데 라는 아쉬움아닌 아쉬움이 남는 지원누나의 최고의 세미나였습니다.
- 미로찾기/상욱&인수 . . . . 2 matches
import junit.framework.TestCase;
import junit.framework.TestCase;
JButton mazeUnit[][] = new JButton[20][30];
mazeUnit[i][j] = new JButton();
mazeUnit[i][j].setBackground(Color.BLACK);
mazeUnit[i][j].setBackground(Color.WHITE);
getContentPane().add(mazeUnit[i][j]);
mazeUnit[pt.y-1][pt.x-1].setBackground(Color.RED);
- 오목/인수 . . . . 2 matches
import junit.framework.TestCase;
import junit.framework.TestCase;
- 2006신입생/연락처 . . . . 1 match
|| 고준영 || gojoyo at unitel.co.kr || 016-9870-0913 ||
- APlusProject/QA . . . . 1 match
Upload:TestChase.zip - n-unit 테스트 한거 정리한 한글파일입니다-- 윤주 6월4일 이거는 다른 사람이 다운 받을 필요 없는 제 정리 문서입니다.
Upload:APP_UnitTestPlan_0401-0507.zip -- 이전문서
Upload:APP_UnitTestPlan_0508.zip -- 최종문서 - 수정끝QA승인끝
Upload:APP_UnitTestResult_0516-0530.zip - 이전문서
Upload:APP_UnitTestResult_0601.zip - 최종문서 - 수정끝
Upload:APP_UnitTestResult_0609.zip -- index랑 페이지수 몇개 틀렸길래 수정해서 올립니다 -- QA승인끝
- AnC . . . . 1 match
Ability and Community 의 줄임말로
- BabyStepsSafely . . . . 1 match
The test cases for the GeneratePrimes class are implemented using the JUnit testing framework. The tests are contained in class called TestGeneratePrames. There are a 5 tests for each return type (array and List), which appear to be similiar. Our first step to insure보증하다, 책임지다 that we are starting from a stable base is to make sure what we have works.
import junit.framework.*;
- CToAssembly . . . . 1 match
마이크로컴퓨터 시스템의 구성요소가 무엇인가? 마이크로컴퓨터 시스템은 마이크로프로세서 장치 (microprocessor unit, MPU), 버스 시스템, 메모리 하위시스템, 입출력 하위시스템, 모든 구성요소들간의 인터페이스로 구성된다. 전형적인 대답이다.
- ClassifyByAnagram/Passion . . . . 1 match
import junit.framework.TestCase;
- CleanCode . . . . 1 match
* Chapter 9 Unit Tests
* 아름다운 걸로 하자면 unit sphere 같은 게 아름다울 것 같긴 한데... 그건 좀 아닌 것 같죠 -_-;; - [서민관]
- Counting/황재선 . . . . 1 match
import junit.framework.TestCase;
- DPSCChapter1 . . . . 1 match
Welcome to ''The Design Patterns Smalltalk Companion'' , a companion volume to ''Design Patterns Elements of Reusable Object-Oriented Software'' by Erich Gamma, Richard Helm, Ralph Johnson, and Jogn Vlissides(Gamma, 1995). While the earlier book was not the first publication on design patterns, it has fostered a minor revolution in the software engineering world.Designers are now speaking in the language of design patterns, and we have seen a proliferation of workshops, publications, and World Wide Web sites concerning design patterns. Design patterns are now a dominant theme in object-oriented programming research and development, and a new design patterns community has emerged.
- Eclipse . . . . 1 match
||Ctrl+Space ||자동완성. 퀵픽스에 버금가는 사기 기능. 내가 무슨 기능을 쓸 수 있는지 자바독과 함께 보여주며 엔터만 치면 구현을 끝내주는 역할을 한다. 혹자는 퀵픽스와 자동완성, 그리고 JUnit만 있으면 어떤 프로그램이든 만들 수 있다고 한다.||
* 기능으로 보나 업그레이드 속도로 보나 또하나의 Platform; 플러그인으로 JUnit 이 아에 들어간것과 리펙토링 기능, Test Case 가 new 에 포함된 것 등 TDD 에서 자주 쓰는 기능들이 있는건 반가운사항. (유난히 자바 툴들에 XP 와 관련한 기능들이 많이 추가되는건 어떤 이유일까. MS 진영에 비해 자바 관련 툴의 시장이 다양해서일까) 아주 약간 아쉬운 사항이라면 개인적으로 멀티 윈도우 에디터라면 자주 쓸 창 전환키들인 Ctrl + F6, Ctrl + F7 은 너무 손의 폭 관계상 멀어서 (반대쪽 손이 가기엔 애매하게 가운데이시고 어흑) ( IntelliJ 는 Alt + 1,2,3,.. 또는 Alt + <- , ->) 단축키들이 많아져 가는 상황에 재정의하려면 끝도 없으시고. (이점에서 최강의 에디터는 [Vi] 이다;) 개인적 결론 : [Eclipse] 는 Tool Platform 이다; --석천
Eclipse is an open platform for tool integration built by an open community of tool providers. ...
* J-Creator가 초보자에게 사용하기 좋은 툴이였지만 조금씩 머리가 커가면서 제약과 기능의 빈약이 눈에 띕니다. 얼마전 파이썬 3차 세미나 후 Eclipse를 알게 되면서 매력에 푹 빠지게 되었습니다. 오늘 슬슬 훑어 보았는데 기능이 상당하더군요. 상민형의 칭찬이 괜히 나온게 아니라는 듯한 생각이...^^;;; 기능중에 리펙토링 기능과 JUnit, CVS 기능이 역시 눈에 제일 띄는군요 --재동
* 올초 Eclipse를 처음 접하고, 좀 큰 프로젝트에 Eclipse를 적용해 보았다. CVS, JUnit, Ant사항을 반영하고 대형 상용 Package를 사용하는 관계로 setting할 것도 많았지만, 개발이 종료된 지금 결과적으로는 매우 성공적인 적용으로 볼 수 있다. 팀프로젝트시 모듈로 나누어 그룹 개발이 될 경우에 매우 효율적이니, 강추함. 앞으로 발전되는 모양을 지켜보거나 참여하면 더 좋을 듯... -- [warbler]
* quick fix, UnitTest, [Refactoring], [CVS], 그리고 방대하고 다양한 플러그인들이 제일 마음에 든다. 툴을 사용하는 재미가 있다. - [임인택]
- EightQueenProblem/밥벌레 . . . . 1 match
unit Unit1;
- ErdosNumbers/황재선 . . . . 1 match
import junit.framework.TestCase;
- FocusOnFundamentals . . . . 1 match
and other projects should provide students with the opportunity to use the most popular tools and
- FortuneCookies . . . . 1 match
* You will be recognized and honored as a community leader.
- Gof/Singleton . . . . 1 match
* (c) C++ 은 global 객체의 생성자가 translation unit를 통하면서 호출될때의 순서를 정의하지 않는다[ES90]. 이러한 사실은 singleton 들 간에는 어떠한 의존성도 존재할 수 없음을 의미한다. 만일 그럴 수 있다면, 에러를 피할 수 없다.
- HowManyFibs?/황재선 . . . . 1 match
import junit.framework.TestCase;
- HowManyZerosAndDigits/임인택 . . . . 1 match
import junit.framework.TestCase;
- IntelliJ . . . . 1 match
* http://intellij.org - IntelliJ Community Wiki
http://www.intellij.net/eap - [IntelliJ] Early Access Program. Aurora project 가 진행중. JUnit Runner 추가.(이쁘다!) CVS 지원. AspectJ 지원. Swing GUI Designer 지원 (IntelliJ에서는 UI Form 기능). Plugin Manager 기능 추가.
- InternalLinkage . . . . 1 match
그것은 바로 InternalLinkage 때문이다. InternalLinkage 란, 컴파일 단위(translation unit -> Object Code로 생각해 보자) 내에서 객체나 함수의 이름이 공유되는 방식을 일컫는다. 즉, 객체의 이름이나 함수의 이름은 주어진 컴파일 단위 안에서만 의미를 가진다.
예를들어, 함수 f가 InternalLinkage를 가지면, 목적코드(Translation Unit) a.obj 에 들어있는 함수 f와 목적코드 c.obj 에 들어있는 함수 f는 동일한 코드임에도 별개의 함수로 인식되어 중복된 코드가 생성된다.
- JTDStudy/첫번째과제/장길 . . . . 1 match
import junit.framework.TestCase;
- JollyJumpers/신재동 . . . . 1 match
import junit.framework.TestCase;
- JollyJumpers/임인택 . . . . 1 match
import junit.framework.TestCase;
- JollyJumpers/황재선 . . . . 1 match
import junit.framework.TestCase;
- MineFinder . . . . 1 match
* 개발툴 : Visual C++ 6.0, cppunit 1.62, SPY++, 지뢰찾기 2000, 98버전
* 지뢰찾기 프로그램의 윈도우 핸들을 얻고 해당 메세지를 보내어서 지뢰찾기 프로그램을 구동하는 루틴 관련 SpikeSolution. (아.. UnitTest 코드 넣기가 애매해서 안넣었다. 궁리해봐야 할 부분같다.)
* CppUnit 를 쓸때에는 MFC 라이브러리들이 static 으로 링킹이 안되는 것 같다. 좀 더 살펴봐야겠다.
* CppUnit - 이번 플밍때 윈도우 메세지 관련 처리에 대해서는 코드를 작성못했다. (이 부분에 대해서는 전통적인 Manual Test방법을 쓸 수 밖에. GUI Testing 관련 글을 더 읽어봐야 겠다. 아직 더 지식이 필요하다.) 단, 나중에 비트맵 분석부분 & Refactoring 시에 TFP 를 할 수 있게 되었다.
- MineSweeper/황재선 . . . . 1 match
import junit.framework.TestCase;
- MockObjects . . . . 1 match
UnitTest를 위한 일종의 보조객체.
사용 예2) Datatbase 와 관련된 프로그래밍에 대해서 UnitTest를 할때, DB Connection 에 대한 MockObject를 만들어서 DB Connection을 이용하는 객체에 DB Connection 객체 대신 넣어줌으로서 해당 작업을 하게끔 할 수 있다. 그리고 해당 함수 부분이 제대로 호출되고 있는지를 알기 위해 MockObject안에 Test 코드를 넣어 줄 수도 있다.
그리고 위와 같은 경우 UnitTest 코드의 중복을 가져올 수도 있다. 이는 상속과 오버라이딩을 이용, 해결한다.
* [http://www.pragmaticprogrammer.com/starter_kit/ut/mockobjects.pdf Using Mock Objects] (extracted from pragmatic unit testing)
["ExtremeProgramming"], ["UnitTest"]
- NotToolsButConcepts . . . . 1 match
concentration, unit tests, and always trying to improve on yourself help
- OptimizeCompile . . . . 1 match
프로그램(translation unit)은 진행방향이 분기에 의해 변하지 않는 부분의 집합인 basic block 들로 나눌 수 있는데 이 각각의 block 에 대하여 최적화 하는 것을 local optimization 이라 하고, 둘 이상의 block 에 대하여, 혹은 프로그램 전체를 총괄하는 부분에 대하여 최적화 하는 것을 global optimization 이라고 한다.
- ProjectPrometheus/CookBook . . . . 1 match
=== ZeroPageServer 에서 UnitTest ===
ZeroPageServer 에 릴리즈 한뒤 UnitTest 하기.
.../Prometheus$ java -cp "$CLASSPATH:./bin" junit.textui.TestRunner org.zeropage.prometheus.test.AllAllTests
* ["Ant"] 에서 ["JUnit"] 을 실행시키는 방법이 있다고 한다. 추후 알아볼것.~!
- ProjectZephyrus/ServerJourney . . . . 1 match
* mm.mysql과 Junit 의 라이브러리를 프로젝트 내부에 넣고, 패키지를 network, information, command 로 구분 --상민
- PyIde/Exploration . . . . 1 match
http://free1002.nameip.net:8080/pyki/upload/PyUnitRunnerRedBar.gif http://free1002.nameip.net:8080/pyki/upload/PyUnitRunnerGreenBar.gif
unittest 모듈을 프린트하여 Code 분석을 했다. 이전에 cgi 로 test runner 돌아가게끔 만들때 구경을 해서 그런지 별로 어렵지 않았다. (조금 리팩토링이 필요해보기는 코드같긴 하지만.. JUnit 의 경우 Assert 가 따로 클래스로 빠져있는데 PyUnit 의 경우 TestCase 에 전부 implementation 되어서 덩치가 약간 더 크다. 뭐, 별 문제될 부분은 아니긴 하다.
Eric 의 Qt Unittest 모듈이랑, PyUnit Tkinter 코드를 보니, 거의 바로 답이 나와버린 것 같긴 하다.
- RSSAndAtomCompared . . . . 1 match
within the [http://www.ietf.org/ IETF], as reviewed and approved by the IETF community and the
- Self-describingSequence/황재선 . . . . 1 match
import junit.framework.TestCase;
- SmallTalk/강좌FromHitel/소개 . . . . 1 match
(software community)에 의해 매우 중요한 객체지향 프로그래밍 환경으로 여겨
- SmallTalk_Introduce . . . . 1 match
(software community)에 의해 매우 중요한 객체지향 프로그래밍 환경으로 여겨
- TestDrivenDatabaseDevelopment . . . . 1 match
import junit.framework.TestCase;
- UnityStudy . . . . 1 match
* Unity 3D를 들어는 봤지만 정작 써본적이 없다! 유니티란 무엇인가? 우리가 파헤쳐본다!
* Unity 3D 4.1 : http://me2.do/FyLfWHez ([김민재]의 NDrive)
* Unity에 대해서 알아보기
* Unity와 Unity Pro 버전과의 차이점
* Unity Android, iOS도 유료다.
unity 가 섬세하게 조절해야 될 것이 많다는 것을 알았습니다. 이게 광원까지 모든 부분을 설정해야 되기 때문에 조금 어려울 것 같습니다. 그래도 열심히 배워야 겠습니다.
* 아 그리고 집에서 찾아보니 Unity 4 부터는 리눅스를 지원하기 시작했네요.
* Unity 3D 이용해서 간단한 게임을 만들어 보자.
- WikiWikiWeb . . . . 1 match
The [wiki:Wiki:FrontPage first ever wiki site] was founded in 1994 as an automated supplement to the Wiki:PortlandPatternRepository. The site was immediately popular within the pattern community, largely due to the newness of the internet and a good slate of Wiki:InvitedAuthors. The site was, and remains, dedicated to Wiki:PeopleProjectsAndPatterns.
- ZeroPageServer/set2002_815 . . . . 1 match
* [[HTML( <STRIKE> jvm, jdk, mm.mysql, junit, servlet 설치, 경로 </STRIKE> )]] JDK 1.4.01
- 데블스캠프2006/월요일/연습문제/웹서버작성/변형진 . . . . 1 match
* 내가 PHP 도 약간 해보고, JSP 나 Java 도 약간 해봤서 대충 심정을 알듯.. 나도 JSP랑 Java 써서 이번에 DB 프로젝트 개발 해보기전에는 웹에서는 PHP로 짜는게 가장 편하게 느껴졌었거든. 그래서 DB 프로젝트도 웹은 PHP 응용은 Java 이렇게 해 나갈려고 했는데 PHP가 Oracle 지원은 버전 5.x 부터 되서 걍 Jsp로 하게 됐지. 둘다 해본 소감은 언어적인 면에서는 뭐 PHP로 하나 Jsp로 하나 별 상관이 없는거 같고, 다만 결정 적인것은 개발환경및 Jsp 에서는 java 클래스를 가져다가 사용할수 있다는 점이었스. Jsp에서 하면 Junit 을 사용하여 Unit 테스트를 하면서 작성하기 수월했고, 또한 디버깅 환경도 Visual Studio 에서 디버깅 하듯이 웹을 한다는게 정말 좋았지. 또 java 클래스를 가져다가 사용할 수 있어서 여러 오픈 소스를 활용하기에도 좋고.(예를 들면 Lucene 같은 자바로 만든 오픈소스 검색 엔진..). 특히 Eclipse 라는 강력한 개발 환경이 있어서 Visual Studio 보다 더 개발이 수월할 정도..
- 만년달력/인수 . . . . 1 match
import junit.framework.TestCase;
JButton dayUnit[][] = new JButton[6][7];
dayUnit[i][j] = new JButton(" ");
dayUnit[i][j].setBackground(Color.WHITE);
add(dayUnit[i][j]);
dayUnit[i][j].setText( " " + Integer.toString(monthArr[i * 7 + j]) );
dayUnit[i][j].setText( Integer.toString(monthArr[i * 7 + j]) );
dayUnit[i][j].setText( " " );
- 무엇을공부할것인가 . . . . 1 match
concentration, unit tests, and always trying to improve on yourself help
- 상규 . . . . 1 match
* [ProjectTriunity] (2003.10.26 ~ 2003.12.12)
- 영어학습방법론 . . . . 1 match
See Also [http://community.freechal.com/ComService/Activity/PDS/CsPDSList.asp?GrpId=1356021&ObjSeq=6 일반영어공부론], Caucse:일반영어공부론, Caucse:영어세미나20021129
- 전문가되기세미나 . . . . 1 match
* opportunities for repetition and correction fo errors
- 정모/2012.4.30 . . . . 1 match
* mock, TDD, unit test, refactoring, maven 등 자바에 대해 깊은 부분까지 다룰 예정.
- 제12회 한국자바개발자 컨퍼런스 후기 . . . . 1 match
* 주최 : JCO (Java Community.Org)
- 조영준 . . . . 1 match
* [http://steamcommunity.com/id/skywavetm 스팀 사용자]입니다.
* Unity
Found 148 matching pages out of 7555 total pages (5000 pages are searched)
You can also click here to search title.