skip to main content
10.1145/2157136.2157327acmconferencesArticle/Chapter ViewAbstractPublication PagessigcseConference Proceedingsconference-collections
tutorial

The absolute beginner's guide to JUnit in the classroom (abstract only)

Published:29 February 2012Publication History

ABSTRACT

Software testing has become popular in introductory courses, but many educators are unfamiliar with how to write software tests or how they might be used in the classroom. This workshop provides a practical introduction to JUnit for educators. JUnit is the Java testing framework that is most commonly used in the classroom. Participants will learn how to write and run JUnit test cases; how-to's for common classroom uses (as a behavioral addition to an assignment specification, as part of manual grading, as part of automated grading, as a student-written activity, etc.); and common solutions to tricky classroom problems (testing standard input/output, randomness, main programs, assignments with lots of design freedom, assertions, and code that calls exit()). Laptop recommended.

Index Terms

  1. The absolute beginner's guide to JUnit in the classroom (abstract only)

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in
          • Published in

            cover image ACM Conferences
            SIGCSE '12: Proceedings of the 43rd ACM technical symposium on Computer Science Education
            February 2012
            734 pages
            ISBN:9781450310987
            DOI:10.1145/2157136

            Copyright © 2012 Copyright is held by the owner/author(s)

            Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 29 February 2012

            Check for updates

            Qualifiers

            • tutorial

            Acceptance Rates

            SIGCSE '12 Paper Acceptance Rate100of289submissions,35%Overall Acceptance Rate1,595of4,542submissions,35%

            Upcoming Conference

            SIGCSE Virtual 2024
          • Article Metrics

            • Downloads (Last 12 months)0
            • Downloads (Last 6 weeks)0

            Other Metrics