Lighting talk CiviCon London 2013

399 views

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
399
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Lighting talk CiviCon London 2013

  1. 1. 3 Oct 2013 CiviCon London 2013 We need unit testings in CiviCRM
  2. 2. WHO AM I? •Erawat Chamanont •Technical Lead, Compucorp (UK) Ltd. •CiviBooking Lead Developer.
  3. 3. WHY WE NEED UNIT TESTING? •Improve accuracy of the software. •Save the development time (debug, isolate bugs). •Living document. •Increase test coverage. •Users can smile. :-) *
  4. 4. UNIT TESTS IN CIVICRM? •Every APIs has unit tests. •Most of business functions/component also have unit tests •CiviCRM has automated test in web layer too. •CiviCRM also does continuous integration testing *
  5. 5. CONTINUOUS INTEGRATION TESTING https://test.civicrm.org/
  6. 6. You should write unit test for your extension too! *
  7. 7. WHAT MY SESSION WILL BE? •What is unit testing? •What can we do with CiviCRM? •How to set up? •How does it work? •Convention? •Create the test class •Create test function •Run test and see the result •Web test •Jenkins is awesome •Question? *
  8. 8. Talk to me: •Twitter: @erawat •Linkedin: http://www.linkedin.com/in/erawat •Email: erawat@compucorp.co.uk

×