Sunday 14 November 2010 1:19:18 am - 1 reply

Introduction

In my last post, I described how to get a testing environment for your eZ Publish developments. This was in my previous post.

Now it's time to go further on write your first test and run it.

This is not a PHPUnit tutorial the goal is to give you a first step and some clues to avoid brainstorming gapes.

» Read full blog post

Author Message

Nicolas Pastorino

Monday 15 November 2010 3:31:31 am

A good post helping daily eZ Publish developers industrialize their developments, thanks for this Jean-Luc. I am looking forward to the second one !

Cheers,

PS : for readers who did not notice the first post on this subject, here is a how-to set-up the unit testing framework for eZ Publish : http://share.ez.no/blogs/jean-luc-chassaing/how-about-unit-testing-your-code

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 05:11:20
Script start
Timing: Jan 18 2025 05:11:20
Module start 'layout'
Timing: Jan 18 2025 05:11:20
Module start 'content'
Timing: Jan 18 2025 05:11:20
Module end 'content'
Timing: Jan 18 2025 05:11:20
Script end

Main resources:

Total runtime0.1153 sec
Peak memory usage4,096.0000 KB
Database Queries61

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 587.9141152.6250
Module start 'layout' 0.00670.0034 740.539139.4531
Module start 'content' 0.01010.1038 779.9922602.6719
Module end 'content' 0.11390.0014 1,382.664114.3984
Script end 0.1152  1,397.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00363.0885160.0002
Check MTime0.00141.1820160.0001
Mysql Total
Database connection0.00100.861410.0010
Mysqli_queries0.058951.1097610.0010
Looping result0.00060.5255590.0000
Template Total0.081070.220.0405
Template load0.00191.667220.0010
Template processing0.079068.557720.0395
Template load and register function0.00020.155310.0002
states
state_id_array0.00131.135420.0007
state_identifier_array0.00141.239730.0005
Override
Cache load0.00211.8496110.0002
Sytem overhead
Fetch class attribute name0.00191.627330.0006
Fetch class attribute can translate value0.00050.416310.0005
class_abstraction
Instantiating content class attribute0.00000.009930.0000
XML
Image XML parsing0.00050.433710.0005
General
dbfile0.00100.8430160.0001
String conversion0.00000.009540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplforum_topic/full.tplextension/community_design/design/suncana/override/templates/forum_topic/full.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs