{"id":27011555,"url":"https://github.com/pcon/bulkhandson","last_synced_at":"2026-01-31T09:02:41.232Z","repository":{"id":19996312,"uuid":"23263657","full_name":"pcon/bulkhandson","owner":"pcon","description":"Hands-on practice for testing triggers with bulk data in Salesforce","archived":false,"fork":false,"pushed_at":"2015-01-06T19:28:18.000Z","size":172,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-22T22:42:07.013Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Apex","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pcon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-23T18:53:17.000Z","updated_at":"2015-01-06T19:28:18.000Z","dependencies_parsed_at":"2022-07-22T03:46:59.276Z","dependency_job_id":null,"html_url":"https://github.com/pcon/bulkhandson","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pcon/bulkhandson","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcon%2Fbulkhandson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcon%2Fbulkhandson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcon%2Fbulkhandson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcon%2Fbulkhandson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcon","download_url":"https://codeload.github.com/pcon/bulkhandson/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcon%2Fbulkhandson/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28936100,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T08:53:31.997Z","status":"ssl_error","status_checked_at":"2026-01-31T08:51:38.521Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-04T11:29:45.709Z","updated_at":"2026-01-31T09:02:41.212Z","avatar_url":"https://github.com/pcon.png","language":"Apex","funding_links":[],"categories":[],"sub_categories":[],"readme":"Bulk Data Testing - Hands On Training\n--\n\n[![GPL](https://img.shields.io/badge/license-GPL-blue.svg?style=flat)](https://github.com/pcon/bulkhandson/blob/master/LICENSE)\n\n1. [Signup](http://bit.ly/bulkhandson) for Developer Edition Org\n  * __Email:__ Any email address you can currently reach\n  * __Username:__ Anything in the form of an email _(Example: bob+bulkhandson@example.com)_\n2. Add a custom field to your Lead object\n  1. Navigate to setup → Customize → Leads → Fields → New\n  2. Select Text\n  3. Enter data and click Next\n     * __Field Label:__ Web Form\n     * __Length:__ 255\n     * __Field Name:__ WebForm\n  4. Click Next\n  5. Click Save\n3. Copy the [trigger](src/triggers/AutoConverter.trigger)\n4. Copy the [test](src/classes/AutoConverter_Test.cls)\n5. Review the trigger and test code.\n  * Note the following methods\n     * __createLead:__ This methods generates a test lead\n     * __makeFreeTrial:__ This methods makes a lead a 'Free Trial' lead\n     * __fetchLeads:__ Queries all of your leads\n6. Create a new test that inserts 200 leads at one time that are all 'Not Free Trail' leads\n7. Create a new test that inserts 200 leads at one time that are all 'Free Trail' leads\n8. Run that tests and note the errors\n9. Update the trigger to not error when you insert your list of leads\n10. Compare your [solution](solution)\n\n_Need help? Checkout some [hints](HINTS.md)_\n\nBonus\n--\n* Write a bulk test that creates 200 leads. Half are 'Free Trial' half not. Assert in your test that all 'Free Trial' leads have been auto converted while your 'Not Free Trial' leads are not.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcon%2Fbulkhandson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcon%2Fbulkhandson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcon%2Fbulkhandson/lists"}