• Title/Summary/Keyword: Unit Testing

Search Result 616, Processing Time 0.022 seconds

Unit Testing of Java Program using JUnit Text UI Test Runner (JUnit 텍스트 UI 테스트 러너를 활용한 자바 프로그램 단위 테스트 고찰)

  • Lee, Chae-Young;Yoon, Hoi-Jin;Park, Young-Cheol
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2012.06b
    • /
    • pp.258-260
    • /
    • 2012
  • 본 논문은 오픈소스 자바 어플리케이션인 JTopas를 대상으로 단위 메소드 테스트를 수행하고, 기존의 IDE 중심의 JUnit 테스트 환경이 아닌 텍스트 UI 테스트 러너 기반으로 테스트를 수행함으로써 얻는 효과를 기술한다. 또한 리눅스 환경을 활용하여 쉘 프로그램으로 테스트 실행 프로그램을 작성하였으며, 이를 통하여 테스트 실행 결과 분석을 용이하게 할 수 있다. 동시에 테스트 코드와 테스트 대상 소스 코드를 관리하는 패키지 구성 방법을 보임으로써, TDD등에서 요구하는 테스트 코드 작성과 소스 코드 작성을 동시에 수행하는 환경을 지원하는 효과가 있다.

Unit test for highly hardware-dependent Embedded Software Using open-source testing tools (공개 소스 테스팅 도구를 활용한 하드웨어 의존도가 높은 임베디드 소프트웨어 단위 테스트 기법)

  • Shin, Hee-Jung;Long, Jin;An, So-Jin;Lee, Jean-Ho;Choi, Jin-Young
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2012.06b
    • /
    • pp.123-125
    • /
    • 2012
  • 임베디드 소프트웨어에서의 테스팅은 하드웨어에 의존도가 높기 때문에 일반적인 소프트웨어에서의 테스팅과 달리 다양한 테스트 기법과 도구를 활용한 기술 집약적 테스트가 미약하고, 다른 펌웨어에서 테스팅 할 경우 테스팅이 제대로 되지 않는다. 본 논문에서는 하드웨어 의존도가 높은 임베디드 소프트웨어의 모듈을 펌웨어가 다른 x86의 환경에서 테스팅 할 수 있도록, 레지스터, 포트 등을 참조하는 부분을 로그로 출력하고, 모듈끼리의 의존성이 없도록 소스 코드를 수정하여, 공개 소스 테스팅 도구를 활용하여 단위 테스트 할 수 있도록 하였다.

PERFORMANCE INDEX-An Assessment Indicator of Concrete Bridges (콘크리트 교량의 상태 평가를 위한 성능지수)

  • Kim, Kyoung-Soo;Cabrera, J.G.
    • Journal of the Korea institute for structural maintenance and inspection
    • /
    • v.1 no.2
    • /
    • pp.131-140
    • /
    • 1997
  • 콘크리트 교량을 저렴하고 신속하게 상태 평가를 하기 위하여 성능 지수(Performance Index)를 제안한다. 이 기법은 육안 검사에 의하여 발견된 결함의 범위와 심각도를 사용하여 콘크리트 교량의 전반적인 상태를 신속하게 등급화 하고 콘크리트 교량의 노출 조건을 고려하여 콘크리트 성능을 정량적으로 평가한다. 또한 본 연구에서는 상기한 성능 지수 기법의 타당성을 증명할 수 있는 정밀 안전 진단 시험결과를 활용하여 6개의 주요 노후화 원인을 고려하는 또 다른 성능 지수를 제안한다. 이러한 두 상태 평가 방법이 영국의 실제 교량 상태 평가 자료를 바탕으로 한 상태 평가 결과를 퍼지 집합 이론(fuzzy set theory)으로 분석한 결과와 비교하여 방법의 정당성 및 신뢰성을 논의한다.

  • PDF

A Mechanism Design of the 3-axial Road Simulator Linkage (3축 로드 시뮬레이터 링크부의 메카니즘 설계)

  • 정상화;류신호;김종태;이규태;장완식
    • Transactions of the Korean Society of Automotive Engineers
    • /
    • v.11 no.2
    • /
    • pp.140-147
    • /
    • 2003
  • Full scale durability test in the laboratory is an essential of any fatigue life evaluation of components or structures of the automotive vehicle. Component testing is particularly important in today's highly competitive industries where the design to reduce weight and production costs must be balanced with the necessity to avoid expensive service failure. Generally, hydraulic road simulator is used to carry out the fatigue test and the vibration test. In this paper, the link unit which is able to realize the 3 element forces such as vertical force, lateral force, and longitudinal force that are applied to the road simulator is designed. Also, the designed link is verified with kinematics and inverse-kinematics. From this results, the designed factor satisfied the maximum stroke so that it satisfied the requirements for 3-axial road simulator.

Studies on the Light Fastness of Dyeings. (II) Fading Rate Curve (染色物의 日光에 對한 堅牟性에 關한 硏究 (第2報) 褪色速度 曲線에 對하여)

  • Ha, Wan-Shik
    • Journal of the Korean Chemical Society
    • /
    • v.8 no.4
    • /
    • pp.142-146
    • /
    • 1964
  • The author proposed an equation of fading rate, expressed as ${\Delta}E$=${\Delta}E_{1{\infty}}({{1-e^{-k}}_1}^t)+k_2t$, where ${\Delta}E$=fading of dye (colour difference of N.B.S. unit), ${\Delta}E_{1{\infty}}$=extremity value of fading of molecularly dispersed dye, $k_1$, $k_2$=constants, t=exposure (hours). The validity of above equation, which is connected with the state of dye in fibre, was confirmed by experimental in a range of 2-3 colour fading in grey scale value for assessing change in colour visually, except the case of increasing the fading rate with the time resulted from the break-down of dye particles through the heat effect of light; it was also discussed about possiblity of evaluating of fastness to light of dye in early stage.

  • PDF

Wheel Off-loading test procedure and result (단차 상태 차량 윤중 감소율 시험 절차 및 결과)

  • 김진태;이원상
    • Proceedings of the KSR Conference
    • /
    • 2002.10b
    • /
    • pp.857-862
    • /
    • 2002
  • The bogie, when run on the twist track develops the wheel off-loading factor. This will be comfirmed by testing under different loading conditions and air springs inflated and deflated in all conditions. Under the most extreme twist track condition, EMU (Electrical Multiple Unit) shall not over the wheel off-loading requirement 60% defined on UIC / ORE report. This paper describes the wheel off-loading test procedure according to UIC / ORE and test result of DMRC EMU of INDIA carried out to find out to meet the requirement defined in UIC / ORE.

  • PDF

A study on simplified Textile testing apparatus for teaching high school students (중고등학교 피복재료 학습효과를 높이기 위한 시험장치 개발에 관한 연구)

  • 장경연
    • Journal of the Korean Home Economics Association
    • /
    • v.26 no.2
    • /
    • pp.69-79
    • /
    • 1988
  • This study was to increase the experimental learning effect of textile materials in middle and high school. To this study, three kinds of simply devised apparatus were used for warmth retaining test, air permeability test and static electricity test. Two classes were chosen in a girls' high school comparing learning effect and classified the theoretical learning group and the experimental learning group. In the experimental group, a teaching plan to teach the properties of textile materials was made to use these apparatuses. The results were. 1. In the interest on the unit either the theoretical learning group or the experimental learning group were not different significantly. 2. In the items facilitation of motivation, unsatisfied desires and prevention of failure, effect of transfer and development of inquiry power, both groups were significant. 3. For the purpose of comparing the learning effect, two groups were examined for determining the level of understanding after teaching properties of textile materials. The mean value of the experimental learning group was higher than that of the theoretical learning group. The experimental learning group had more higher markers(over the point of 90) than the theoretical learning group.

  • PDF

MICROTHERMAL INSTRUMENT FOR MEASURING SURFACE LAYER SEEING

  • Li, Xue-Bao;Zheng, Yan-Fang;Deng, Lin Hua;Xu, Guang
    • Journal of The Korean Astronomical Society
    • /
    • v.45 no.1
    • /
    • pp.19-24
    • /
    • 2012
  • Microthermal fluctuations are introduced by atmospheric turbulence very near the ground. In order to detect microthermal fluctuations at Fuxian Solar Observatory (FSO), a microthermal instrument has been developed. The microthermal instrument consists of a microthermal sensor, which is based on a Wheatstone bridge circuit and uses fine tungsten filaments as resistance temperature detectors, an associated signal processing unit, and a data collection, & communication subsystem. In this paper, after a brief introduction to surface layer seeing, we discuss the instrumentation behind the microthermal detector we have developed and then present the results obtained. The results of the evaluation indicate that the effect of the turbulent surface boundary layer to astronomical seeing would become sufficiently small when installing a telescope at a height of 16m or higher from the ground at FSO.

The Effect of A Creativity Method on Team-level Idea Generation (창의성 방법론이 팀의 아이디어 발생에 미치는 영향)

  • Cho, Namjae;Ko, Dae-Kyung;Oh, Seunghee
    • Journal of Information Technology Applications and Management
    • /
    • v.20 no.4
    • /
    • pp.279-291
    • /
    • 2013
  • Companies need to secure strong methods of new product development in a rapidly changing competitive environment. They overly focusing on the perception of consumers can not lead radical changes. They need to generate sufficient creative ideas in the early stages of new product development to make radical change. The purpose of this study is to examine the effect of a creative method on the generation of creative ideas. An enhanced creativity method was designed considering existing methodology and cognitive elements. This study specifically focused on team rather than individual level creativity. This arrangement reflects the fact that companies in practice rely on team unit in NPD process. The contribution of the study is two fold : enhancing existing methodology, and testing the effect of conceptual distance on making of creative ideas. The experimental results showed that appropriate conceptual distance help to make best creative output and that ABIS attribute is proved to be more effective than traditional association.

Economic Analysis of Installing Fixed and Removable Insulation for Pipe Wall Thinning Management (배관감육 관리를 위한 고정식 및 탈착식 보온재 설치 경제성 분석)

  • Hwang, Kyeongmo;Yun, Hun
    • Corrosion Science and Technology
    • /
    • v.15 no.6
    • /
    • pp.320-325
    • /
    • 2016
  • To perform ultrasonic testing (UT) thickness measurement of the secondary side piping installed in nuclear power plants, the insulation for preventing heat loss should be removed. The type of insulation can be divided into fixed and removable insulation. Fixed and removable insulation have their own strengths and weaknesses. Removable insulation has been installed in the components susceptible to wall thinning caused by FAC and erosion from Shin-Kori unit 1, which commenced its commercial operation in 2011. In this paper, the number of repeated inspections of components and the number of replacements of fixed insulation were estimated and a more economical way was identified based on the manufacturing and installation costs for fixed and removable insulation.