Search

Hi,

I'm currently trying to create a phpUnit test suite to work with our CI server.

As part of that I want to create a test that will attempt to render all the pages in order to see if there are any XSLT errors (so it can halt the build).

This all needs to be run from the commandline, and I'm having errors regarding a lack of an XSLT processor?

Has anyone (a) had any luck with phpUnit and Symphony? (b) managed to render Symphony pages using phpcli? (c) got any ideas as to how I might go about all this?

Thanks very much for your help :-) any ideas are greatly appreciated!

Tom

Hi Tom,

Out of interest which Ci server are you using? I've seen someone set up an Ant instance successfully recently.

I bet it's jenkins :)

Your best bet is probably to run it all in a headless browser to render the pages.

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details