Category:Testing >> Category:Core 

TB Wiki

Login

Regression Test Dev Notes in split format

Here are some design notes for the regression test feature of tbwiki:
Here are some design notes for the regression test feature of tbwiki:
This is basically all done - see Processor RegressionCheck
This is basically all done - see [[Regression_Test_Dev_Notes?action=RegressionCheck.help|Processor RegressionCheck]]

done [edit section]

= done === Desired Features == * process a set of tests automatically, and report any regressions * save an existing HTML for a wiki page as a "good" reference for the output for particular markup * have specific unit tests, with markup, and expected html   * process those in a batch
  • have a collection of pages with HTML 'expected result' files * this feature overlaps with caching * generation of html file * checking status of html file
 * have a collection of pages with HTML 'expected result' files * this feature overlaps with caching   * generation of html file   * checking status of html file

Design of regression test feature [edit section]

== Design of regression test feature == * run the regression test inside a Processor
  • forms needed: * show list of pages and their status: * green = tbwiki current engine is producing expected output * red = tbwiki current engine is not producing expected output * orange = there is not expected output file * allow saving a page's current output as the expected output * should convert to green * create a directory: * expected_html * need compare_with_expected_output function * can replace expected_output pages with a link
 * forms needed:   * show list of pages and their status:     * green = tbwiki current engine is producing expected output     * red = tbwiki current engine is not producing expected output     * orange = there is not expected output file   * allow saving a page's current output as the expected output      * should convert to green * create a directory:   * expected_html * need compare_with_expected_output function * can replace expected_output pages with a link

Some other notes [edit section]

== Some other notes == * may need to run with some variables different   * need to run with different user?, cookies?, theme?

done [edit section]

== done == * ProcessorRegressionCheck.py   * by default, show list of all pages, with status of each page   * show a link for each page, to update the expected output
{{Category(Features,Testing)}}
Categories: Features|Testing
TBWiki engine 2.0.1 by Tim Bird