Home » Archives for Yuan Ji

Author Archives: Yuan Ji

Yuan is a passionate Java programmer and open source evangelist. He is eager to learn new technologies and loves clean and beautiful application design. He lives in Edmonton, Canada as an independent consultant and contractor.

Unit Test AngularJS Controller With Jasmine

Last time I demonstrated how to Consume RESTful API With Angular-HAL, and now I want to show you how to unit test my AngularJS controller code withJasmine, a behavior-driven development framework for testing JavaScript code. BDD and Jasmine I’m a big fan of Test-Driven Development (TDD). And I always want to write unit test for my code. But not everyone ...

Read More »