Using Automated Testing to Keep Bugs out of the Classroom

code.org - Using Automated Testing to Keep Bugs out of the Classroom
Think back—way back to when you were first exposed to programming, or software testing. Maybe you were in college, or being introduced to the latest developments in technology during your first job.

Now imagine what it might be like if, as a kid, during your normal elementary, middle, or high school classes, your teacher looked at the clock, and said “alright, let’s head to the computer lab and do some coding!” And you went on to learn how to code, debug, problem solve, and make apps, games, and websites you could share with your parents—during the school day!

At Code.org, this vision is rapidly becoming a reality in classrooms in the US and worldwide.

Launched in 2013, Code.org is a non-profit dedicated to expanding access to computer science, and increasing participation by women and underrepresented students of color. Our vision is that every student in every school should have the opportunity to learn computer science. We believe computer science should be part of core curriculum, alongside other courses such as biology, chemistry or algebra.

Code Studio is our online, open source, interactive computer science curriculum platform tied to in-person professional development programs for teachers. Over 300,000 teachers have signed up to teach our intro courses on Code Studio and over 10 million students are enrolled.



Working as a small team to continuously develop and improve Code Studio—a game-like platform using browser features like SVG and Canvas while supporting Chrome, IE, Firefox, iOS and Android—presented some interesting challenges when moving toward completely automated tests.

Building on top of open source tools like Selenium Webdriver, and cloud-testing services like Sauce Labs, Applitools and CircleCI, new changes to our website trigger full play-throughs of levels, and our website is being continuously monitored for symptoms of issues. Developers (both in-house and contributors to our open source project) write tests for their own features as they are developed.

If you want to hear more about how Code.org is making an impact on computer science education and using automated testing to keep bugs out of the classroom, join me for my talk on April 6th, 11:30am-12:30pm at STPCon 2016.


Brian Jordon - Code.orgJoin Brian Jordan for his session From Concept to Classroom: Continuously Testing Online, Interactive Curriculum at Code.org on Wednesday from 11:30am-12:30pm.