FrontPage 

TB Wiki

Login

Regression Test

Expected HTML for page "Regression_Test_Dev_Notes"


expected html
nothing
t1Here are some design notes for the regression test feature of tbwiki:t
2<p>
3This is basically all done - see <a href="/tbwiki/Regression_Test_Dev_Notes?action=RegressionCheck.help">Processor RegressionCheck</a>
4<p>
5<h1><a name="done">done</a>
6<span align=right class="section_edit_link">[<a href="/tbwiki/Regression_Test_Dev_Notes?action=edit&section=done">edit section</a>]</font></span>
7</h1>
8<h2><a name="Desired_Features">Desired Features</a>
9<span align=right class="section_edit_link">[<a href="/tbwiki/Regression_Test_Dev_Notes?action=edit&section=Desired_Features">edit section</a>]</font></span>
10</h2>
11<ul><li>process a set of tests automatically, and report any regressions
12<li>save an existing HTML for a wiki page as a "good" reference for the output for particular markup
13<li>have specific unit tests, with markup, and expected html
14<ul><li>process those in a batch
15</ul>
16</ul>
17<p>
18<ul><li>have a collection of pages with HTML 'expected result' files
19<li>this feature overlaps with caching
20<ul><li>generation of html file
21<li>checking status of html file
22</ul>
23</ul>
24<p>
25<h2><a name="Design_of_regression_test_feature">Design of regression test feature</a>
26<span align=right class="section_edit_link">[<a href="/tbwiki/Regression_Test_Dev_Notes?action=edit&section=Design_of_regression_test_feature">edit section</a>]</font></span>
27</h2>
28<ul><li>run the regression test inside a Processor
29</ul>
30<p>
31<ul><li>forms needed:
32<ul><li>show list of pages and their status:
33<ul><li>green = tbwiki current engine is producing expected output
34<li>red = tbwiki current engine is not producing expected output
35<li>orange = there is not expected output file
36</ul><li>allow saving a page's current output as the expected output
37<ul><li>should convert to green
38</ul></ul><li>create a directory:
39<ul><li>expected_html
40</ul><li>need compare_with_expected_output function
41<li>can replace expected_output pages with a link
42</ul>
43<p>
44<h2><a name="Some_other_notes">Some other notes</a>
45<span align=right class="section_edit_link">[<a href="/tbwiki/Regression_Test_Dev_Notes?action=edit&section=Some_other_notes">edit section</a>]</font></span>
46</h2>
47<ul><li>may need to run with some variables different
48<ul><li>need to run with different user?, cookies?, theme?
49</ul>
50</ul>
51<p>
52<h2><a name="done___2">done</a>
53<span align=right class="section_edit_link">[<a href="/tbwiki/Regression_Test_Dev_Notes?action=edit&section=done___2">edit section</a>]</font></span>
54</h2>
55<ul><li>ProcessorRegressionCheck.py
56<ul><li>by default, show list of all pages, with status of each page
57<li>show a link for each page, to update the expected output
58</ul>
59</ul>
60<p>
61<p>
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op

Differences for page "Regression_Test_Dev_Notes"


expected html
generated html
t No Differences Found t No Differences Found 
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op

Update saved output

Back to diff page

Return to Regression_Test page
Categories: Features|Testing
TBWiki engine 2.0.1 by Tim Bird