Search found 5 matches

by peter.kehl
Mon May 05, 2014 8:27 am
Forum: Development
Topic: Automated functional testing
Replies: 11
Views: 5649

Re: Automated functional testing

I’ve updated the test framework for Serendipity 2.0. I’ve added some more tests. It only performs optimistic tests - no attempt of SQL injection etc. - login/logout as a specified user - create a user with a given access (editor, chief or admin) with -- random realname, username, password and -- som...
by peter.kehl
Fri Apr 25, 2014 9:48 am
Forum: Development
Topic: Automated functional testing
Replies: 11
Views: 5649

Escaping and treatment of permalinks

When Serendipity generates permalink to an entry (with standard permalinkStructure archives/%id%-%title%.html), it replaces/removes some characters from 'title' field. What I've found so far: replace space with a hyphen - remove & ' " / \ <> ` * $ £ ? = # : | ^ ( ) [ ] { } url-escape % Are there any...
by peter.kehl
Mon Apr 21, 2014 4:24 am
Forum: Development
Topic: Automated functional testing
Replies: 11
Views: 5649

Re: Automated functional testing

Hi Garvin and Mattsches, I'll update the framework and docs for Serendipity 2.0. I'll try to make it honour configuration of permalinks and various paths (as per Configuration - http://www.s9y.org/66.html). I see that there are themes in Spartacus. As Garvin suggested, those can modify HTML of the f...
by peter.kehl
Thu Apr 17, 2014 9:02 am
Forum: Development
Topic: Automated functional testing
Replies: 11
Views: 5649

Re: Automated functional testing

Hi Garvin and others, I'm working on the test framework. It's still a work in progress. The API and the framework are likely to change. If you'd like to get a feel of it, follow https://code.google.com/p/selite/wiki/SerendipityFramework. Currently it can login/logout as a specified user. It posts an...
by peter.kehl
Tue Apr 01, 2014 8:49 am
Forum: Development
Topic: Automated functional testing
Replies: 11
Views: 5649

Automated functional testing

If you'd like automated browser-based functional/regression testing of Serendipity, you may be interested in SeLite. It extends Selenium IDE. It allows your tests to access (read and write to) a test DB (isolated from the DB of the tested application). It's open source. It could work very well for y...