Presentation is loading. Please wait.

Presentation is loading. Please wait.

Agile Tridion development Tridion developer summit 2014.

Similar presentations


Presentation on theme: "Agile Tridion development Tridion developer summit 2014."— Presentation transcript:

1 Agile Tridion development Tridion developer summit 2014

2 AGILE TRIDION DEVELOPMENT - Tridion Developer Summit 2014 Dominic Cronin - INDIVIRTUAL | 15-05-2014 Dominic Cronin http://www.dominic.cronin.nl/weblog http://www.indivirtual.nl/blog https://code.google.com/p/tridion-practice/

3 Agenda History of agile Tridion development Where are we now? Test Techniques o Templating-based approaches o Transform-based approaches o Validation techniques Discussion Dominic Cronin - INDIVIRTUAL | 15-05-2014 AGILE TRIDION DEVELOPMENT - Tridion Developer Summit 2014

4 History 2001 Agile manifesto … gradual adoption of agile approaches in mainstream software development 2011 Agile Tridion Seminar o hardly any adoption within Tridion community at that time Present day Dominic Cronin - INDIVIRTUAL | 15-05-2014 AGILE TRIDION DEVELOPMENT - Tridion Developer Summit 2014

5 Present day o Agile o Done it or doing it o Thinking about it – want to do it o Sceptical o Flavours  Scrum  Kanban  Other Dominic Cronin - INDIVIRTUAL | 15-05-2014 AGILE TRIDION DEVELOPMENT - Tridion Developer Summit 2014

6 Techniques Technical aspects of agile work are mostly about testing. The test techniques fall into three main types o Testing the template (building block) o Testing the transform (end to end) o Output validation Dominic Cronin - INDIVIRTUAL | 15-05-2014 AGILE TRIDION DEVELOPMENT - Tridion Developer Summit 2014

7 Templating-based testing (OO) Mocking the package o Microsoft Fakes (formerly known as Moles)  detours method calls to delegates o Typemock  can mock pretty much anything … represents a fair amount of work writing the tests. Everything that Tridion does for you needs to be faked. AGILE TRIDION DEVELOPMENT - Tridion Developer Summit 2014

8 However….. Bjorn van Dommelen o Automated unit testing of assembly template building blocks o Tridion Developer Summit 2014 AGILE TRIDION DEVELOPMENT - Tridion Developer Summit 2014

9 Templating-based testing (t-cubed) https://github.com/DominicCronin/T-cubed Framework to give a structured way to o modify the content of a package, o make assertions about the content of the package. Dominic Cronin - INDIVIRTUAL | 15-05-2014 AGILE TRIDION DEVELOPMENT - Tridion Developer Summit 2014

10 Templating-based testing (t-cubed) Dominic Cronin - INDIVIRTUAL | 15-05-2014 AGILE TRIDION DEVELOPMENT - Tridion Developer Summit 2014

11 T-cubed demo Base classes in the GAC o C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Trid ion.Extensions.Testing Out-of-the-box TBBs Dominic Cronin - INDIVIRTUAL | 15-05-2014 AGILE TRIDION DEVELOPMENT - Tridion Developer Summit 2014

12 Test data Dominic Cronin - INDIVIRTUAL | 15-05-2014 AGILE TRIDION DEVELOPMENT - Tridion Developer Summit 2014

13 Demo - Creating test data Dominic Cronin - INDIVIRTUAL | 15-05-2014 AGILE TRIDION DEVELOPMENT - Tridion Developer Summit 2014

14 Web testing Various approaches, but the winner is…. Selenium … which has matured considerably over the last few years o Selenium IDE (Firefox add-in) o Selenium remote control o Selenium Web Driver o Selenium Grid Dominic Cronin - INDIVIRTUAL | 15-05-2014 AGILE TRIDION DEVELOPMENT - Tridion Developer Summit 2014

15 Dominic Cronin - INDIVIRTUAL | 15-05-2014 AGILE TRIDION DEVELOPMENT - Tridion Developer Summit 2014

16 Dominic Cronin - INDIVIRTUAL | 15-05-2014 AGILE TRIDION DEVELOPMENT - Tridion Developer Summit 2014

17 Summary Agile development OO testing – mocking the package Testing TBB transforms with T-Cubed Testing end-to-end rendering with Selenium Automatic generation of test data Output validation Dominic Cronin - INDIVIRTUAL | 15-05-2014 AGILE TRIDION DEVELOPMENT - Tridion Developer Summit 2014

18 Dominic Cronin - INDIVIRTUAL | 15-05-2014 AGILE TRIDION DEVELOPMENT - Tridion Developer Summit 2014


Download ppt "Agile Tridion development Tridion developer summit 2014."

Similar presentations


Ads by Google