Home / WordWebNav / Development-Docs Comments

1 How to run the regression tests

2 Testing work for WWN’s original development

3 Testing tools, to run WWN for multiple files

 

Regression-Testing Notes

 

 

1  How to run the regression tests

·         The regression-test Word files are listed and described here:

o      word-web-nav\docs\development-docs\WWN--testing.docx

o      See the section below, “2  Testing work done in the original development”

§  It lists the 9 regresssion-test files

 

·         The regression-test files are here:

o      NOTE:  these directories have the regression-test files, plus additional files

o      The .doc* files are at:

Web-site-development\Word-to-HTML\automation-dev--and--WWN-testing\testing\test-Word-files\Other-Internet-Word-files

o      The Word HTML files are here:

Web-site-development\Word-to-HTML\automation-dev--and--WWN-testing\testing\test-Word-files\Other-Internet-Word-files\WordWebNav--Word-HTML

 

·         Delete the WWN web-pages and folders at:

Web-site-development\Word-to-HTML\automation-dev--and--WWN-testing\testing\test-Word-files\Other-Internet-Word-files\WordWebNav--HTML

 

·         Create the WWN web-pages;

o      Run: batch_create_web_page.py

§  Need to create the input .yml file: batch_create_web_page.yml

§  Specify the directory for the Word HTML files

Description:

* For each .htm* file at the specified directory:

  * Creates a .yml file

  * Calls create_web_page.py, for the .yml file

 

·         If the .yml files exist for the Word HTML files

o      Run: create_web_page_for_all_yml_files.py

§  Specify the directory for the Word HTML files

Description:

* Calls create_web_page.py, for the all of the *.yml files at the specified directory.

 

 

2  Testing work for WWN’s original development

·         Testing work described:  word-web-nav\docs\development-docs\WWN--testing.docx

o      The regression test files are listed and described, under:

§  “5  Regresssion-test test-files”

·         “5.2  Word files from the Internet”

o      Describes each file used for testing

o      For each file, this list item describes what to check for the test

§  “Program tests, using file:  “

o      The regression-test files (9):

§  example-book-formatting--added-features.doc

§  MS-tech-report--Sequential File--original.doc

§  MS-tutorial--Deep Learning --original.docx

§  computer-concepts--original.html

§  python-lab-instructions--original.docx

§  physics-tutorial--original.docx

§  python-tutorial--original.docx

§  pesticide-report--fixed.docx

§  software-install-guide--fixed.docx

 

3  Testing tools, to run WWN for multiple files

o      Location:  word-web-nav\tools

o      batch_create_web_page.py

Description:

* For each .htm* file at the specified directory:

  * Creates a .yml file

  * Calls create_web_page.py, for the .yml file

 

o      create_web_page_for_all_yml_files.py

Calls create_web_page.py, for the all of the *.yml files at the specified directory.