Understand the purpose of testing and test-driven development.
- [Voiceover] Test-Driven Development is a software methodology that emphasizes the role of testing within the software development process. Although Test-Driven Development can be considered a separate methodology, most of the principles from Test-Driven Development can easily be incorporated into a light weight process such as Agile, or a complex process such as the Capability Maturity Model. This course will not adhere strictly to Test-Driven Development principles, but we will create tests for most of the Java code that we write.
The major idea behind testing and Test-Driven Development, is that a team has a continuous proof of correctness for code. Proof of correctness may be too strong a term in a formal, or mathematical sense, but indication of correctness is appropriate. The idea is that you and your team create a suite of tests. This suite enables you to be confident of your ability to write new code that is compatible with previously written code. Also, you will be confident in your ability to make changes to the previously written code.
One benefit of this testing, is that it helps you and your team to catch errors early in the software creation process. The earlier that you catch errors, the easier and the less expensive it is to correct them. Think about automotive recalls. After a car has been delivered to a dealer and sold to a customer, it is very expensive to recall the car, make repairs, and return it to the customer. Similar principles apply to software development. Another benefit of writing extensive tests, is the creation of executable documentation.
In contrast to static documentation, that describes what code does, executable documentation illustrates how code works. This is valuable for other people who will use your code, and it's also valuable for yourself. On many occasions, I return to code that I wrote a long time ago. The first thing that I do, is to look at the test code to remind myself of my thought processes while I was originally developing the code.
- The IMQAV model
- Downloading software
- Installing and setting up a Java coding environment
- Mock tests
- Code coverage
- Using windows, views, and modes in IntelliJ IDEA
- Creating classes and attributes
- Creating constructors
- Casting variables
- Matching literals with regular expressions
- Regular expressions
- Design patterns
Skill Level Intermediate
Java: Database Integration with JDBCwith David Gassner2h 51m Intermediate
NumPy Data Science Essential Trainingwith Charles Kelly3h 54m Intermediate
1. Getting Started with Java
2. Test-Driven Development
3. IntelliJ IDEA
4. Object-Oriented Java
6. Regular Expressions (Regex)
8. Design Patterns
9. Applying Data Science
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.