-
Notifications
You must be signed in to change notification settings - Fork 0
Testing
Maciej Kołek edited this page Jan 14, 2016
·
1 revision
#Testing
##Requirements
To perform unit test cases prepared in this repository, you need to create and fill a file called environment.plist
with the structure we've listed below.
You can also find template of this file in the root directory of this repository.
The contact_name_format
and contact_email_format
fields needs to have a %@
format inside of the string to create a random contact name and email.
###Required file structure
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>test_campaign_id</key>
<string>TEST_CAMPAIGN_ID_HERE</string>
<key>test_contact_id</key>
<string>TEST_CONTACT_ID_HERE</string>
<key>test_contact_email</key>
<string>TEST_CONTACT_EMAIL_HERE</string>
<key>contact_name_format</key>
<string>TEST_CONTACT_NAME_FORMAT_HERE</string>
<key>contact_email_format</key>
<string>TEST_CONTACT_EMAIL_FORMAT_HERE</string>
<key>test_campaign_name</key>
<string>TEST_CAMPAIGN_NAME_HERE</string>
<key>api_key</key>
<string>API_KEY_HERE</string>
</dict>
</plist>