• DocumentCode
    1727508
  • Title

    Work in Progress: A Test-First Approach to Teaching CS1

  • Author

    Girard, C. Dudley ; Wellington, Carol

  • Author_Institution
    Comput. Sci., Shippensburg Univ., PA
  • fYear
    2006
  • Firstpage
    19
  • Lastpage
    20
  • Abstract
    Test-driven development is a design strategy where a set of tests over a class is defined prior to the implementation of that class. The goal is to use the tests to exercise the class being developed, to provide immediate feedback of the overall quality of the code, and to identify and correct bugs as they are written. This paper presents a method to teaching CS1 using a "test-first" approach that will be tried in fall 2006. The test-first approach requires students to think about the problem, identify corner cases, analyze ways their code may fail, and evaluate their design. Further, a proposed evaluation is presented for determining the success of the approach
  • Keywords
    computer science education; teaching; CS1 teaching; introductory computer science; test-driven development; test-first approach; Automatic testing; Computer bugs; Computer errors; Computer science; Education; Error correction codes; Failure analysis; Feedback; Java; Writing; CS1; JUnit; Test-First;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Frontiers in Education Conference, 36th Annual
  • Conference_Location
    San Diego, CA
  • ISSN
    0190-5848
  • Print_ISBN
    1-4244-0256-5
  • Electronic_ISBN
    0190-5848
  • Type

    conf

  • DOI
    10.1109/FIE.2006.322743
  • Filename
    4117064