Skip to end of metadata
Go to start of metadata

When and Where

November 16 - 17
9:00am - 5:30pm

Mitchell Kapor Foundation
543 Howard Street, 5th Floor
San Francisco, CA, 94105

Lunch will be provided.

Who

This sprint is intended for CiviCRM / Drupal / Joomla / PHP developers. You do NOT need to have prior CiviCRM development experience, but you must be comfortable writing PHP and SQL code.

Preparing for the code sprint:

Sprint Agenda

Day 1 - BAO Test Assignments

Session

Time

Intros and Team Setup

9-10

Session 1: Simple BAO Test Assignments
1-2 methods, work with an existing test file

10 - 12

Session 2: BAO Test Assignments

1 - 3

Session 3: Advanced BAO Test Assignments
look at specific examples and tackle writing a test.  For example:
http://tests.dev.civicrm.org/stable/coverage/CRM_Event_BAO_ParticipantPayment.php.html (lines 79-80)

3:30 - 5:00

Debrief and Day 2 Planning

5 - 5:20

Day 2 - Higher-level Functional Unit Tests

for example, write a functional unit test that tests custom search.

the test:
tests/phpunit/CRM/Contact/Form/Search/Custom/
the results: http://tests.dev.civicrm.org/stable/results/CRM_Contact_Form_Search_Custom_GroupTest.html

Labels
  • None

Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 United States Licence.