• Title/Summary/Keyword: Mock Framework

Search Result 7, Processing Time 0.019 seconds

Building Test Codes for Unit Test Automation of Java Programs (단위 테스트 자동화를 위한 자바 프로그램 테스트 코드 구축)

  • Yoon, Hoijin
    • Journal of Software Engineering Society
    • /
    • v.23 no.4
    • /
    • pp.141-149
    • /
    • 2010
  • Agile development is mentioned a lot by developers these days. XP or Scrum is one of the popular development processes, and it says that unit test automation would drive an agile development successful. The success of unit test automation depends on how well to compare an execution result to its own expected result. that is why this paper focuses on the comparison part. This paper introduces how to build test codes for unit testing, and then concludes with mentioning two considerations of unit testing automation. First, test codes for void-typed methods need Mock Framework to monitor their behavior. Second, the comparison of execution results and expected results is hard to implement in case of testing void-typed methods. We check every sentences of a test path to decide if the testing is fail or pass.

  • PDF

A Method of Integration Testing for Federation using Mock Object Patterns (모형 객체 패턴을 이용한 Federation 통합시험 방법)

  • Shim, Jun-Yong;Lee, Young-Heon;Lee, Seung-Young;Kim, Seh-Hwan
    • Journal of the Korea Society for Simulation
    • /
    • v.20 no.4
    • /
    • pp.41-48
    • /
    • 2011
  • The act of writing a unit test is more an act of design than of verification. It is also more an act of documentation than of verification. The act of writing a unit test closes a remarkable number of feedback loops, the least of which is the one pertaining to verification of function. Unit testing is a fundamental practice in Extreme Programming, but most non-trivial code is difficult to test in isolation. Normal unit testing is hard because It is trying to test the code from outside. On the other hand, developing unit tests with Mock Objects leads to stronger tests and to better structure of both domain and test code. In this paper, I first describe how Mock Objects are used for unit testing of federation integration. Then I describe the benefits and costs of Mock Objects when writing unit tests and code. Finally I describe a design of Mock federate for using Mock objects.

An Assessment of Field Application of Elementary Technology for Reducing Construction Duration in the Apartment Housing Construction (공동주택 골조공기단축을 위한 요소기술의 현장 적용성 평가)

  • Kim, Kyu-Hoi;Park, Moon-Seo;Lee, Hyun-Soo;Park, Song-Woo;Joo, Sun-Woo
    • Proceedings of the Korean Institute Of Construction Engineering and Management
    • /
    • 2007.11a
    • /
    • pp.368-372
    • /
    • 2007
  • Recently, construction companies prefer to use large scale system forms to prepare for lacking of skilled workers, aging and the chances of application of pre-build&post-sale policy. In result of the effort and interest, the duration for framework of domestic high rise buildings has been accomplished to 3-4days per floor but for the apartment housing which form over 90% of the domestic construction industry, and especially the middle story RC apartments which is the main part, the duration for framework is only about 6-8days per level. This is only about 50% of the duration per level of RC residential buildings in North America. In previous researches elementary technology, which has potential of duration reduction, was proposed and this research suggest the applicability in construction sites and ways to improve it using elementary technology applied Mock-up Test. Furthermore, we analyze the productivity and T/C usage rate of the 6day-Cycle and suggest an improved model.

  • PDF

Domain decomposition for GPU-Based continuous energy Monte Carlo power reactor calculation

  • Choi, Namjae;Joo, Han Gyu
    • Nuclear Engineering and Technology
    • /
    • v.52 no.11
    • /
    • pp.2667-2677
    • /
    • 2020
  • A domain decomposition (DD) scheme for GPU-based Monte Carlo (MC) calculation which is essential for whole-core depletion is introduced within the framework of the modified history-based tracking algorithm. Since GPU-offloaded MC calculations suffer from limited memory capacity, employing DDMC is inevitable for the simulation of depleted cores which require large storage to save hundreds of newly generated isotopes. First, an automated domain decomposition algorithm named wheel clustering is devised such that each subdomain contains nearly the same number of fuel assemblies. Second, an innerouter iteration algorithm allowing overlapped computation and communication is introduced which enables boundary neutron transactions during the tracking of interior neutrons. Third, a bank update scheme which is to include the boundary sources in a way to be adequate to the peculiar data structures of the GPU-based neutron tracking algorithm is presented. The verification and demonstration of the DDMC method are done for 3D full-core problems: APR1400 fresh core and a mock-up depleted core. It is confirmed that the DDMC method performs comparably with the standard MC method, and that the domain decomposition scheme is essential to carry out full 3D MC depletion calculations with limited GPU memory capacities.

The Roles of Information Load and Information Quality in Online Apparel Shopping (온라인 의류쇼핑에서 정보부하와 정보품질의 역할)

  • Park, Min-Jung
    • Journal of the Korean Home Economics Association
    • /
    • v.47 no.9
    • /
    • pp.101-110
    • /
    • 2009
  • The purpose of this study was to examine the effect for information load on perceived information quality and website quality, and the relationships among perceived information quality, website quality and behavioral intentions in online apparel shopping contexts. The information load theory provided the theoretical framework for this study. The research strategy employed an online experimentation using an apparel mock website. The total of 647 responses were used for data analyses. The model of the study was tested by MANOVA and SEM. The results of MANOVA revealed the effect of information load on perceived information quality and website quality. The medium level of information load was perceived as having more positive information quality and website quality as compared to the low or high level of information load. The findings of SEM revealed the positive effect of information quality on website quailty, the positive effect of website quality on WOM and willingness to pay more, and the negative effect of website quailty on willingness to switch. Online apparel retailers and website designers need to manage information quantity and quality by understanding the importance of information load.

Online Product Information and Visual Imagery: Effects on Mood and Perceived Product Quality (온라인 제품정보와 시각적 심상 : 감정과 제품품질지각에 미치는 영향)

  • Park, Min-Jung
    • Journal of the Korean Home Economics Association
    • /
    • v.47 no.5
    • /
    • pp.23-34
    • /
    • 2009
  • The purpose of this study was to e${\times}$amine the effect of visual imagery stimulated by product information on consumer responses in online shopping conte${\times}$ts. Dual coding theory provided the theoretical framework of the study. The proposed model of the study was e${\times}$amined by conducting an e${\times}$periment using mock apparel websites with a between-subject factorial design: [2 (pictorial information: detailed views vs. no detailed views) ${\times}$ 2 (verbal information: detailed descriptions vs. abstract descriptions)]. A total of 439 female college students participated in the e${\times}$periment, and 433 responses were ultimately used to test the hypotheses. The findings from the results revealed: (1) the main effects of the pictorial and verbal information on visual imagery, and (2) positive relationships between (a) visual imagery and mood, (b) visual imagery and perceived product quality, (c) mood and perceived product quality, and (d) perceived quality and purchase intentions.