
Defensive programming is a set of techniques/guidance on best practices to ensure your applications are secure, as bug free as possible, and respond gracefully to unexpected events (i.e. software exceptions).
Defensive programming is a set of techniques/guidance on best practices to ensure your applications are secure, as bug free as possible, and respond gracefully to unexpected events (i.e. software exceptions).
Jasmine provides a simple behaviour-driven development testing model that is simple to set up and execute. Where things become slightly clouded is when you need to deal with asynchronous events. For example, how do you test your modals work?