TQ01 TQ02      
Code Duration Cost ºñ °í
TQ02

ÁÖ°£ : 1 Days

190,000¿ø

¾ß°£ : 2 Days
Overview

°³¹ß ´Ü°è¿¡¼­ÀÇ Unit TestingÀÇ ±âÃÊ¿Í ±â¼ú¿¡ ´ëÇØ¼­ ÇнÀÇÏ°í ¸¹ÀÌ »ç¿ëµÇ°í ÀÖ´Â Test Code »ý¼º ÇÁ·¹ÀÓ¿öÅ©ÀÎ JUnit¿¡ ´ëÇØ¼­ ÀÚ¼¼È÷ ¾Ë¾Æº»´Ù. À̿ܿ¡µµ HttpUnit°ú TestNG¿Í °°Àº Testing Frameworkµµ ¶ÇÇÑ ÇнÀÇÑ´Ù. ¸¶Áö¸·Àº ´ÜÀ§Å×½ºÆÃÀ» ÀÚµ¿È­ÇÏ´Â Àü·«°ú ±¸Ã¼ÀûÀÎ µµ±¸µé¿¡ ´ëÇÑ ³»¿ëµµ Ãß°¡ ÇÑ´Ù.

Intended Audience
  • ÀÚ¹Ù ½Ã½ºÅÛ °³¹ßÀÚ
  • QA ±×·ì
  • ½Ã½ºÅÛ À¯Áöº¸¼ö
  • Application Tuning ±×·ì
Duration
  • ÁÖ°£ÄÚ½º 1 Days
  • ¾ß°£ÄÚ½º 2 Days
Course Outline
Module1

Fundamental of Unit Testing

  • What is Unit Testing
  • The benefit of Unit Testing
  • Unit Testing Process
  • Needs for automated Unit Testing
  • JTest eats JUnit
Module2

Intro of Java Based Unit Testing Framework

  • JUnit
  • HttpUnit
  • TestNG
  • JUnitEE
  • Cactus

Java Based Unit Testing Technique Intro

  • Test your equals¡¯ method
  • Test a method that returns nothing
  • Test a constructor
  • Test a getter
  • Test a setter
  • Test an interface
  • Test a Java Bean
  • Test throwing the right exception
  • Test a big object for equality
  • Test an object that instantiates other objects
Module3

Organizing and Building JUnit tests

  • Build tests using Ant
  • Create a separate source tree for test code
  • Move special case tests to a separate test fixture

Testing Design Pattern

  • Test an Observer (Event Listener)
  • Test an Observable (Event Source)
  • Test a Singleton
  • Test an Object Factory
  • Test a template method¡¯s implementation
Module4

Unit Testing Strategy

  • Too Simple to Break
  • Strangeness and transitivity
  • solate expensive tests
  • The mock objects landscape

Automated Unit Testing by JTest

  • Code Inspections ( Wizard & Rule Checking)
  • Quick Fix vs. Manual Fix
  • Generate Test Case
  • Making Custom Test Case
  • Measure of Test case using Code Coverage
  • Management Test Case Directory
  • Execute Test Case