Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/1352135.1352316acmconferencesArticle/Chapter ViewAbstractPublication PagessigcseConference Proceedingsconference-collections
research-article

Supporting student-written tests of gui programs

Published: 12 March 2008 Publication History

Abstract

Tools like JUnit and its relatives are making software testing reachable even for introductory students. At the same time, however, many introductory computer sciences courses use graphical interfaces as an "attention grabber" for students and as a metaphor for teaching object-oriented programming. Unfortunately, developing software tests for programs that have significant graphical user interfaces is beyond the abilities of typical students (and, for that matter, many educators). This paper describes a framework for combining readily available tools to create an infrastructure for writing tests for Java programs that have graphical user interfaces. These tests are level-appropriate for introductory students and fit in with current approaches in computer science education that incorporate testing in programming assignments. An analysis of data collected during actual student use of the framework in a CS1 course is presented.

References

[1]
Vegso, J. Interest in CS as a major drops among incoming freshmen. Computing Research News, 17(3), 2005.
[2]
Edwards, S. H. Improving student performance by evaluating how well students test their own programs. J. Educational Resources in Computing, 3(3): 1--24, 2003.
[3]
JUnit Website. Available from: http://www.junit.org/index.htm
[4]
Wick, M., D. Stevenson, and P. Wagner. Using testing and JUnit across the curriculum. In Proc. 36th SIGCSE Tech. Symp. Computer Science Education. ACM, 2005.
[5]
Allowatt, A. and S. H. Edwards. IDE support for test-driven development and automated grading in both Java and C++. In Proc. 2005 OOPSLA Workshop on Eclipse Tech. Exchange. ACM Press, New York, NY, pp. 100--104.
[6]
Bruce, K., A. Danyluk, and T. Murtagh. A library to support a graphics-based object-first approach to CS1. In 32nd SIGCSE Tech. Symp. Computer Science Education. ACM, 2001.
[7]
Bruce, K., A. Danyluk, and T. Murtagh, Java: An Eventful Approach. Prentice-Hall: Upper Saddle River, NJ, 2005.
[8]
Goldwasser, M. H. A gimmick to integrate software testing throughout the curriculum. In Proc. 33rd SIGCSE Tech. Symp. Computer Science Education. ACM, 2002.
[9]
Jones, C. G. Test-driven development goes to school. J. Computing in Small Colleges, 20(1): 220--231, 2004.
[10]
Jones, E. L. Software testing in computer science curriculum - A holistic approach. In Proc. Autralasian Computing Education Conf. ACM Press, 2000.
[11]
Edwards, S. H. Rethinking computer science Education from a test-first perspective. In Addendum to 2003 Proc. Conf. Object-Oriented Programming, Systems, Languages, and Applications. ACM, 2003.
[12]
Abbot Java GUI Test Framework Home Page. Available from: http://abbot.sourceforge.net/
[13]
Dutta, S. Abbot - A friendly JUnit extension for GUI testing. Java Developer Journal. April 2003, p. 8--12.
[14]
BlueJ-The Interactive Java Environment. Available from: http://www.bluej.org/.

Cited By

View all
  • (2022)Automated Assessment in Computer Science Education: A State-of-the-Art ReviewACM Transactions on Computing Education10.1145/351314022:3(1-40)Online publication date: 9-Jun-2022
  • (2020)Teaching Practices of Software Testing in Programming Education2020 IEEE Frontiers in Education Conference (FIE)10.1109/FIE44824.2020.9274256(1-9)Online publication date: 21-Oct-2020
  • (2018)Who Tests the Testers?Proceedings of the 2018 ACM Conference on International Computing Education Research10.1145/3230977.3230999(51-59)Online publication date: 8-Aug-2018
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGCSE '08: Proceedings of the 39th SIGCSE technical symposium on Computer science education
March 2008
606 pages
ISBN:9781595937995
DOI:10.1145/1352135
Permission to make digital or hard copies of all or part 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 components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 12 March 2008

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. JUnit
  2. automated grading
  3. objectdraw
  4. test-driven development
  5. test-first coding
  6. unit testing
  7. web-CAT

Qualifiers

  • Research-article

Conference

SIGCSE '08

Acceptance Rates

Overall Acceptance Rate 1,595 of 4,542 submissions, 35%

Upcoming Conference

SIGCSE Virtual 2024
1st ACM Virtual Global Computing Education Conference
December 5 - 8, 2024
Virtual Event , NC , USA

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)27
  • Downloads (Last 6 weeks)3
Reflects downloads up to 22 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2022)Automated Assessment in Computer Science Education: A State-of-the-Art ReviewACM Transactions on Computing Education10.1145/351314022:3(1-40)Online publication date: 9-Jun-2022
  • (2020)Teaching Practices of Software Testing in Programming Education2020 IEEE Frontiers in Education Conference (FIE)10.1109/FIE44824.2020.9274256(1-9)Online publication date: 21-Oct-2020
  • (2018)Who Tests the Testers?Proceedings of the 2018 ACM Conference on International Computing Education Research10.1145/3230977.3230999(51-59)Online publication date: 8-Aug-2018
  • (2017)Challenges to integrate software testing into introductory programming courses2017 IEEE Frontiers in Education Conference (FIE)10.1109/FIE.2017.8190557(1-9)Online publication date: Oct-2017
  • (2016)A Strategy to Combine Test-Driven Development and Test Criteria to Improve Learning of Programming SkillsProceedings of the 47th ACM Technical Symposium on Computing Science Education10.1145/2839509.2844633(443-448)Online publication date: 17-Feb-2016
  • (2014)Work-in-progressProceedings of the first ACM conference on Learning @ scale conference10.1145/2556325.2567888(215-216)Online publication date: 4-Mar-2014
  • (2014)Automatic Grading of 3D Computer Animation Laboratory AssignmentsIEEE Transactions on Learning Technologies10.1109/TLT.2014.23408617:3(280-290)Online publication date: 1-Jul-2014
  • (2014)Test driven development contribution in universities in producing quality software: A systematic reviewThe 5th International Conference on Information and Communication Technology for The Muslim World (ICT4M)10.1109/ICT4M.2014.7020666(1-6)Online publication date: Nov-2014
  • (2013)Adding software testing to programming assignments2013 26th International Conference on Software Engineering Education and Training (CSEE&T)10.1109/CSEET.2013.6595283(371-373)Online publication date: May-2013
  • (2011)LIFTProceedings of the 42nd ACM technical symposium on Computer science education10.1145/1953163.1953343(643-648)Online publication date: 9-Mar-2011
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media