Giter Club home page Giter Club logo

xslt-benchmarking-xsltmark-ii's People

Contributors

brohee avatar masicek avatar

Stargazers

 avatar  avatar

Watchers

 avatar

xslt-benchmarking-xsltmark-ii's Issues

web layout

Make web layout for generating tests, runnig tests and present results

Controlor

Control output of test to expected output.
Canonize before comparing

RunnerConsole

Class for runnig benchmark form console:

  • help
  • generating tests by input values / params.xml
  • runnig testing
  • generate results

Prams of test in file by DriverContainer

set as atribut of test setting in params file

(a) set name without extension
(b) set name with extension => by extension select driver
(c) both => default (without extension) is xml

Repare tests: mkdir()

Use recursiveli making direcotry by third parameter. ... make own function $this->mkdir($path)
Make own function for recursively deleting empty directory ... $this->rmdir($path)

SmartyGenerator -> nicer output

generate output with better indent

  • try filtered in XMLSimple (DOMDocument)
  • clean whitespace on place, where have no reason

RunnerHttp

Class for runnig benchmark form web. Like RunnerConsole.

Documentation

  • Add complete theses XSLT Benchmarking
  • Post API documentation on Web
  • Complete README.markdown

index.php

Run RunnerConsole or RunnerHttp based on place of calling

Make instance of "$testsGenerator = new XSLTBenchmark\TestsGenerator\Generator('./TestsTemplates', './Tests', './Tmp');"
Make instance of "$testsRunner = new XSLTBenchmark\TestsRunner\Runner(????);"
Make instance of "$runner = new XSLTBenchmark\RunnerConsole\Runner($testsGenerator, $testsRunner);"

Call $runner->generateTests();
Call $runner->runTests();
...

Directory structure

  • XSLTBenchmarking
    • TestsGenerator
    • RunnerConsole
    • Exceptions.php
    • DriversContainer.php
    • index.php
  • Libs
  • Data
    • TestsTemplates
    • Tests
    • Reports
  • Tmp
  • Tools
  • README.markdovn

Report: nice HTML generator from XML reports

  • main HTML with table with reposts
  • link into files with highliting (like PhpDocs)
  • Error => link to show DIFF between expected output and generated output (=> into reports generate diff (separated dir) and copy XML files (separated dir))

Define setting of XSLT Benchmarking in ini/neon/xml file

Need for setting of file name with params (default __params.xml) for templates and tests

using "-c" or "--config":

php index.php -g -c "config.ini"
php index.php -r -c "config.ini"
php index.php -p -c "config.ini"
php index.php -g -r -p -c "config.ini"

for each test can be defuined name of file with params (this value is optional)

Reports: merger

Class for merging XML reports file together into one XML file

Skeleton

Make runner of genereted tests and save reports to files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.