About the course:
Our instructor-led Test-Driven Development with Java training course is aimed at individuals and teams who are transitioning from developing Java applications using more traditional methods such as the Waterfall model. You'll get hands-on Unit Testing experience with tools such as jUnit, and continuous integration and build automation with Jenkins, SVN and Maven.
Test Driven Development (TDD) is synoymous with Agile software development, and as its name suggests, promotes a "test-first" mentality. Test Driven Development aims to produce better code from the outset, driving towards more efficient and leaner software, getting to market faster, and with less time spent fixing bugs after release.
If you are interested in custom / on-site Test Driven Development with Java training for any size of team, please get in touch - we would be glad to help build a course that meets your learning requirements.
We can take into account your existing technical skills, preferred development tools, project requirements and timeframes, and specific topics of interest to tailor the most relevant and focussed course for you.
By the end of this course, you will have learnt about:
- TDD Essentials
- Refactoring Code
- Unit Testing with jUnit
- Decoupling Test Data from Test Code
- Test Automation
- Continuous Integration
Who should attend
Java developers who are looking to understand and employ Test Driven Development techniques to shake up and improve the software development lifecycle.
Prerequistes
Hands-on experience developing Java applications.
On-site Java TDD Training
If you need your teamandnbsp;to learn the best practices ofandnbsp;coding using TDD then an on-site course deliveryandnbsp;could be the perfect solution!
We can take into account your existing technical skills, project requirements and timeframes, and specific topics of interest to tailor the most relevant and focussed course for you.We can evenandnbsp;base the practical elements of the course on your source code to give the exercises a solid grounding in your 'real world'.
Course Syllabus
Introduction to Testing and Test Driven Development (TDD)
- The importance of Testing
- XP, Agile and TDD
- Testing vs Debugging
- Overview of Unit Testing
- Rhythm - Red, Green, Refactor
- Obvious Implementation or Fake It
- Mock Objects
Refactoring Java Code
- What, when and why
- Whodunnit: Bad Smells
- Decomposition and delegation
- Refactoring legacy code
Unit Testing Java code with jUnit
- Test cases, test suites, fixtures.
- What to test
- Testing for Exceptions
- Testing Isolations
- Test Coverage
- IDE integration - Eclipse, Netbeans
- Integration with Ant
Decoupling
- Separating Test Data from Test Code
- Layered Architecture
- Dependency Injection
- Dependency Inversion / IoC Containers
Automating Tests / Continuous Integration
- Introduction to Jenkins CI
- Checking out & Commiting code
- SVN Best Practices
- Building with Maven
- Building with Ant