| Previous · Next | |
| User | Message |
|
rogier
|
Date: 7/8/2009 11:17 am · Subject: New templates to be added to 7.7.14 beta · Rating: 0
Hi everyone, you haven't heard from me in a while, so: time for a status report. I just sent the first set of templates to Colin, who will take care of committing them and writing the neccessary upgrade scripts. It consists of 29 templates for the Article, File, Folder, Image, Navigation, Layout, Poll, Search and Syndicated Content assets (more details in attached file) and will be going into 7.7.14. Next week, I'll get the template site back up and then let's start planning where to go from here: first we need to review this set of 29; then we'll adress the other templates with this set as examples/reference. For now: thanks to all of you for your work so far!
Rogier | United Knowledge Attached Files |
| Back to Top |
Rate [ | ]
|
|
preaction
|
Date: 7/8/2009 12:17 pm · Subject: Re: New templates to be added to 7.7.14 beta · Rating: 0
Is there any type of automated testing we can do on these new templates? Are there standards we want to reach like XHTML and CSS validation? Pretty soon I'll be doing some major improvements to WebGUI's Quality Assurance, which includes as much automated testing as I can do, so any ideas you all have for what we can test about the templates will be appreciated. Anything that a web browser can do, we can duplicate, so don't worry if your idea sounds outlandish. We can probably do it. Thanks for all your hard work on this! |
| Back to Top |
Rate [ | ]
|
|
rogier
|
Date: 7/8/2009 12:38 pm · Subject: Re: New templates to be added to 7.7.14 beta · Rating: 0
Yes, and the Web Quality Guidelines, which also has an automated test.
I have been thinking about testing, but have not really come to any conclusions. What I can think of right now: HTML, CSS and WebQ. Guideline validation tests with different permutations of content; by this I mean checking (for instance) an article for validation with:
I don't know if this can be automated for any asset (article is an easy example) but it's would be a very thorough way to check validation. Is this the sort of idea you're looking for? Anyway, I'll think on it some more.
Rogier | United Knowledge |
| Back to Top |
Rate [ | ]
|
|
preaction
|
Date: 7/8/2009 1:30 pm · Subject: Re: New templates to be added to 7.7.14 beta · Rating: 0
Yes, this is exactly the ideas I'm looking for. Any other ideas, no matter how far-fetched, we'll try to work on. I want WebGUI to be locked down either before 8.x development or during 8.0.x development. There's something called "Selenium IDE" which allows you to record your actions in a web browser and then run it as an automated test. We'll be using it shortly, so I might enlist some people to perform Selenium tests. |
| Back to Top |
Rate [ | ]
|
|
arjan
|
Date: 9/15/2009 3:45 am · Subject: Re: New templates to be added to 7.7.14 beta · Rating: 0
Hi Doug,Perhaps I'm stating a few things you knew already: - The automated webguidelines test can be installed locally. It's distributed under the European Union Public Licence (EUPL). Right now it's in Dutch only, but I've just asked them to translate it and if thy don't I will if you need it. I've attached the zip. - You knew that a HTML validator can be installed locally? http://validator.w3.org/source/ http://validator.w3.org/docs/install.html And a CSS validator? http://jigsaw.w3.org/css-validator/DOWNLOAD.html http://lists.w3.org/Archives/Public/www-validator-css/2003Jan/0037.html http://dev.w3.org/cvsweb/2002/css-validator/ I know Tim - in cc - is interested in working with Selenium to do automated testing, just so you know. And I know that Diona has plans to do something with it in her company. Kind regards, Arjan. doug@plainblack.com wrote: > preaction wrote: > > Yes, this is exactly the ideas I'm looking for. Any other ideas, no > matter how far-fetched, we'll try to work on. I want WebGUI to be > locked down either before 8.x development or during 8.0.x development. > > There's something called "Selenium IDE" which allows you to record > your actions in a web browser and then run it as an automated test. > We'll be using it shortly, so I might enlist some people to perform > Selenium tests. > > > > http://www.webgui.org/design/template-working-group/new-templates-to-be-added-to-7_7_14-beta/3 > > ------------------------------------------------------------------------ > > > > Attached Files |
| Back to Top |
Rate [ | ]
|
|
rogier
|
Date: 7/8/2009 3:17 pm · Subject: Re: New templates to be added to 7.7.14 beta · Rating: 0
Very cool. I'll just post the ideas when they come to mind, OK? I'm just brainstorming now. Next one: There is some code that almost all new templates have in common. This is what I'm working with (as a sort of "template for a template"):
<div id="[assetname]<tmpl_var assetId>" class="[assetname] [name of specific asset]">
Other recurring code is for attachments and pagination. It would be nice to have a list of all templates where one could see if a template contains this code. Then you can easily check new templates for consistency and find spelling mistakes (things like <div class="desrciption"> will not match).
Rogier | United Knowledge |
| Back to Top |
Rate [ | ]
|
|
arjan
|
Date: 9/16/2009 5:29 am · Subject: Re: New templates to be added to 7.7.14 beta · Rating: 0
Dear Doug, I reread an earlier bugreport triggered by this discussion. The first you might perhaps read, but short summary: code puts in a non-validating stylesheet, it cannot be solved because it's part of the forms system. Since we're redoing the forms system we should perhaps check if css files are put in the head like so:
$self->session->style->setLink($self->session->url->extras('yui/build/calendar/assets/skins/sam/calendar.css'),
{ rel=>"stylesheet", type=>"text/css", media=>"all" }); Of course the ultimate solution for this still has to be discovered. We'll start a thread about it on the dev-list. But knowing that there's unreplacable css in the output is something to report in a test. Kind regards, Arjan Widlak United Knowledge |
| Back to Top |
Rate [ | ]
|
|
preaction
|
Date: 9/16/2009 12:09 pm · Subject: Re: New templates to be added to 7.7.14 beta · Rating: 0
Yes, this is the kind of thing I'm thinking about. Though I was overruled on the full front-end testing requirement, it doesn't mean we can't do more (it's just not required, which means only those of us with brave hearts and strong backs will do it). Being able to do sweeping tests across all templates for standard features is an excellent start (the basic tags Rogier pointed out, CSS and HTML validations). Hopefully I'll be able to (or find someone else to) add these to smoke.plainblack.com in the coming months. |
| Back to Top |
Rate [ | ]
|
|
rogier
|
Date: 9/18/2009 6:42 am · Subject: Re: New templates to be added to 7.7.14 beta · Rating: 0
I'm going to do some more thinking on possible testing tools. If you need anything, want to bounce ideas, let us know. If you could also keep us informed about your progress (just a post here will do) that would be great too. Thanks Doug!
Rogier | United Knowledge |
| Back to Top |
Rate [ | ]
|