
front and back-end web development, Leeds, UK
Richard's Blog - Design, coding and life in Japan
Testing
Testing controllers in Lithium
Submitted by Richard on Thu, 02/02/2012 - 18:19There is often a need to test your controllers for higher level functional tests. In Lithium using its own test suite this is easy.
For this I am using @daschl's fixtures plugin which can be found here.
Tags:
Testing output JSON data from a RESTful API with Cucumber
Submitted by Richard on Mon, 11/02/2009 - 14:27Some of the following is in Japanese so please excuse this a little, but I am setting up an Restful API in Rails that outputs JSON data, I wanted to check the multi-level JSON objects contained specific data.
Tags:
Recent Blog Posts
- Testing controllers in Lithium 2nd Feb 12, 18:19
- Practical Internationalization in Lithium 31st Dec 11, 02:06
- Using OAuth in Lithium 30th Dec 11, 23:47
- How to add your own Tokens from CCK fields in Druapl 7 17th Jun 11, 04:49
- Weaving Lithium #li3 into a legacy PHP application incrementally 5th Oct 10, 11:54