improving untestable code

7

Click here to load reader

Upload: tony-bibbs

Post on 28-Jun-2015

480 views

Category:

Technology


0 download

DESCRIPTION

All developers run into this. You inherit code, a lot of it and some of it decades old. When the system is a revenue stream you can't simply rewrite it so what is a geek to do? Follow through how The GForge Group is working to take the rough edges out of their code and their process.

TRANSCRIPT

Page 1: Improving Untestable Code

Improving Untestable Code

Page 2: Improving Untestable Code

Background

Challenges we faced with existing Codebase:

● Code diversity

● Dependency issues

● Codebase size

● Team size

● Subversion

● Thirst for Innovation

Page 3: Improving Untestable Code

The End Game

● Test automation (phpUnit, Selenium)

● Build automation (Jenkins)

● Code Reviews

● Live code rolls to gforge.com

Page 4: Improving Untestable Code

Taking the First Steps

● Migrating SVN to Git

● Focused, Functional Testing

● Code Reviews

● Code rolls to gforge.com

Page 5: Improving Untestable Code

Moving Forward

Short term:

● Add REST API

● Jenkins Integration

Long term:

● Add Selenium Tests

● Server-side Code Reviews

● Code Refactoring

Page 6: Improving Untestable Code

Recap

Page 7: Improving Untestable Code

Questions?

twitter.com/gforgegroup

twitter.com/tonybibbs

linkedin.com/company/gforge-group-inc-

https://gforgegroup.com

http://blog.gforgegroup.com