Group: LibreDWG/TestSuite

From LibrePlanet
Jump to: navigation, search
Line 14: Line 14:
  
 
When the Test Suite runs, it converts all dwg files into svg files. If there are errors in conversion, then an error file is created instead of svg file. Finally the result is seen in form of a webpage where the original PNG files are shown next to the svg file. If both appear similar then the test for that particular file is successful. In case of errors the error message is shown.
 
When the Test Suite runs, it converts all dwg files into svg files. If there are errors in conversion, then an error file is created instead of svg file. Finally the result is seen in form of a webpage where the original PNG files are shown next to the svg file. If both appear similar then the test for that particular file is successful. In case of errors the error message is shown.
 +
 +
 +
==== Running the testsuite ====
 +
* ...
 +
 +
==== Viewing the results ====
 +
* ...

Revision as of 15:24, 6 May 2010

Test Suite for LibreDwg

The aim of the Test Suite is to test the reading and writing capabilities of LibreDwg for various versions of DWG files.


Test Suite using testSVG script.

Test suite contains various dwg files. Each dwg file contains one single object like Line, Ray, Construction Line, etc.

Test Suite also contains a png file for each dwg file.

testSVG is script that converts a dwg file into a svg file.

When the Test Suite runs, it converts all dwg files into svg files. If there are errors in conversion, then an error file is created instead of svg file. Finally the result is seen in form of a webpage where the original PNG files are shown next to the svg file. If both appear similar then the test for that particular file is successful. In case of errors the error message is shown.


Running the testsuite

  • ...

Viewing the results

  • ...