E D R , A S I H C RSS

BackLinks search for "TestRunner"

BackLinks of TestRunner


Search BackLinks only
Display context of search results
Case-sensitive searching
  • CppUnit
          http://zeropage.org/~reset/zb/data/TestRunner.jpg
          * Project Setting - Link - General - object/library 에 cppunitd.lib, testrunnerd.lib 를 추가해준다.
          * 해당 프로젝트가 있는 곳의 debug 등의 디렉토리에 해당 lib 디렉토리에 있는 testrunnerd.dll 을 복사해준다. 이는 Project Setting - Post-Build-step 의 Post-build-command 에 다음을 추가해주면 컴파일 할때마다 dll 화일을 자동으로 복사해준다.
         copy c:cppunitlibtestrunnerd.dll .
         #include <msvc6/testrunner/testrunner.h>
          TestRunner runner;
         CPPUNIT_TEST_SUITE_REGISTRATION( ExampleTestCase ); // TestSuite 를 등록하기. TestRunner::addTest 가 필요없다.
         #include <cppunit/ui/text/TestRunner.h>
          CppUnit::TextUi::TestRunner runner;
         #include <cppunit/ui/text/TestRunner.h>
         #include <cppunit/ui/mfc/TestRunner.h>
         로 수정한뒤, testrunnerd.dll 를 해당 프로젝트화일에 복사해주면 된다.
          CppUnit::MfcUi::TestRunner runner;
          CppUnit::TextUi::TestRunner runner;
         #include <cppunit/ui/text/TestRunner.h>
          CppUnit::TextUi::TestRunner runner;
          * 전 "Project Setting - Link - General - object/library 에 cppunitd.lib, testrunnerd.lib 를 추가해준다."라고 해서 추가 해줬더니
          * VC6에서 작업하고 있는데요. CFileDialog를 통해 파일 path를 받으려고 하는데, TestRunner가 CFileDialog 명령을 수행하는 것보다 먼저 동작해 파일 경로를 받을 수 없습니다.. TestRunner가 실행되는 시점을 조절할 수 있나요? --[FredFrith]
         Win32 API환경에서 MFC TestRunner를 사용하는 방법을 찾았으면 좋겠군요. 여러가지로 시도해보았는데 MFC에 대한 지식이 너무 부족해서 계속 실패하네요. --[이응준]
         copy c:cppunitlibtestrunnerd.dll .
  • PyUnit
         PyUnit test framework는 테스트를 수행하기 위해 'TestRunner' 클래스를 사용한다. 가장 일반적인 TestRunner는 TextTestRunner이다.
         runner = unittest.TextTestRunner ()
         기본적으로 TextTestRunner는 sys.stderr에 출력한다. TextTestrunner 같은 클래스는 Python interpreter session과 상호작용하면서 test들을 실행시켜볼 수 있는 이상적인 방법이다.
Found 2 matching pages out of 7540 total pages

You can also click here to search title.

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
Processing time 0.0062 sec