Thursday 18 February 2016

Bristol DUG Report - Spring '16 Preparation Quiz (With TEST SLAYER!)

On Wednesday 10th February, the Bristol Developer User Group met at the Desynit offices. In the city you could go outside at 5pm without it being pitch black, and no more ice patches were waiting to greet you outside your door, which meant only one thing, spring was just around the corner. How appropriate then, that this edition of the DUG covered the Spring '16 release, focusing on some of the new cool features coming to all Salesforce orgs.

Local Salesforce MVP Simon Lawrence kicked things off with a presentation on some of the new cool Apex code features arriving in Spring '16. The presentation included the awesome ability to set the created dates on test methods (my favourite portion of the release), and also create test suites of re-runnable tests. The presentation also mentioned how developers also now have the ability to stop test runs that already have failing tests registered, making the rerun cycle cover much less time. This ability to halt tests doesn't have an official name, so Simon created the name TEST SLAYER, which I really hope Salesforce adopt!

Simon also covered some additional enhancements, including global picklists and API enhancements. An important concept with the Spring '16 is that from this release forward, all results returned from SOQL queries will be formatted in the locale of the executing user. This could be very significant for multi-national orgs who have to present information to users in different formats, not only from a functionality standpoint, but also from a testing perspective. So be aware that you may have to make some changes!

Here are Simon's presentation slides:

After the presentation, it was time to check if the attendees were ready for the release exam, with a quick fire 10 question quiz. The quiz focused on the features contained in the slides.

While Simon busily marked all the attendees scores, I provided a presentation with live demos of some of the great new features coming to Lightning Experience as part of Spring '16. A new feature that will interest developers is the introduction of new user level global variables for the intended and actual theme displayed to users. Prior to this release, the process of distinguishing which UI theme (LEX, Classic or other) users were viewing content with through code was a tricky business involving interrogating the existence of the javascript global. Now with the new UITheme and UIThemeDisplayed variables, available through both the $User global variable and the Userinfo Apex class, this process has been made much more simple and reliable.

Here are my presentation slides:

As soon as my presentation and accompanying demos were completed, Simon read out the answers to the quiz questions and announced the winner. Congratulations to Käbi from Desynit, who scooped the top prize of a Starbucks voucher. The award was presented by Salesforce MVP Simon Goodyear, fresh and buzzing from co-running the massive Londons Calling SF community event!

Thanks to all those who attended, great to see you all, we hope to see you again next month. If you are an existing or aspiring Salesforce developer, why not come along to our next meetup, details here:

For those who fancy testing their knowledge for the Spring release before the release are available exams, here are the questions and answers from the quiz (no cheating using the slides haha):

1. The last/end date of the Spring '16 production roll out?

2. When using a global picklist on a custom field, can you use Profile settings to exclude some values from displaying to certain users?

3. How many test classes can you include in a test suite?

4. For two points: What is the exact, and correct syntax to set the created date of a contact, called “c” to the second of July 1984, in a United Kingdom locale org?

5. What would you enter to make a test exit as soon as the first test fails?

6. Can you delete a Global Picklist definition once it’s created?

7. What API number is Spring’16?

8. Can you set the CreatedDate on a record to be “in the future”?

9. What setup menu item is “Picklists” under?

10. Bonus Question (used as a tie breaker) : How many points does the original “provide universal picklists” ideas exchange post have?

1) Sat. Feb 13th 2016
2) No
3) 200
4) Test.setCreatedDate(c.Id, DateTime.newInstance(1984,07,02));
5) 0
6) Yes
7) 36
8) Yes
9) Create
10) 44340


  1. I love Bristol DUG quizzes! They're the best...

  2. Thanks for providing the information it will helpful so much

    Pressure Vessel Design Course is one of the courses offered by Sanjary Academy in Hyderabad. We have offer professional Engineering Course like Piping Design Course,QA / QC Course,document Controller course,pressure Vessel Design Course,Welding Inspector Course, Quality Management Course, #Safety officer course.
    Document Controller course
    Pressure Vessel Design Course
    Welding Inspector Course
    Safety officer course
    Quality Management Course
    Quality Management Course in India

  3. Good Information
    Sanjary kids is the best playschool, preschool in Hyderabad, India. Start your play school,preschool in Hyderabad with sanjary kids. Sanjary kids provides programs like Play group,Nursery,Junior KG,Serior KG,and Teacher Training Program.
    play school in hyderabad
    Preschool in hyderabad
    Preschool teacher training course in hyderabad
    pre and primary teacher training course in hyderabad


  4. Visit DARU CLICK

    دارو کلیک یک فروشگاه اینترنتی محصولات بهداشتی و زیبایی به همراه تجهیزات پزشکی و محصولات ارتوپدی می باشد که باهدف تمرکز بر بالاترین کیفیت خدمات دهی به مشتریان و بهترین قیمت در ارائه ی محصولات ایجاد شد است. جهت درسترسی به فروشگاه از لینک زیر استفاده کنید.
    داروکلیک | داروخانه اینترنتی | ارسال به سراسر ایران (

    شامپو مناسب موهای چرب - داروکلیک (

  5. They can leave a film on your hands. If they get on your lenses, your eyes could get irritated or your vision might be blurry.Dry your hands with a clean, lint free towel.If you use hair spray, use it before you put in your contacts. It's also a good idea to keep your fingernails short and smooth so you won't damage your lenses or scratch your eye.Put on eye makeup after you put in your lenses.

    21, 2017" > >Raising a teen son Cheap Michael Kors Handbags How to talk to him when he not motivatedCheryl Stritzel McCarthyKnow any teen boys who do just Best Yeezys enough to get by Who have time for YouTube but not Coach Outlet Online homework or household chores Who aren't in real trouble, just disengaged An "opt out" teen is like MK Outlet Online a Chinese finger trap: the harder you push, the more he'll resist, says Adam Price, a psychologist with a practice. 15, 2018" > >Take aways from the Chicago stop of Michelle Obama Ray Ban Outlet book Jordan Shoes For Sale tourPeter SlevinIt was Coach Outlet Clearance Sale "The Michelle Obama Show" in front of 14,000 cheering fans as the lights went down and spotlights blazed skyward for the former first lady entrance. Through a sound system befitting Beyonc Obama called out Nike Air Force 1 Cheap Outlet from backstage at the United Center, "Hey, Chicago! I so happy to be back home..