Testing Framework

From AbiWiki

(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by Unotefuca (Talk) to last revision by Hub)
 
(One intermediate revision not shown)
Line 1: Line 1:
-
>== Unit Test ==
+
== Unit Test ==
[[Unit Test]] of individual classes of AbiWord. This is the first step. If [[Unit Test]] does not pass, then there is problem.
[[Unit Test]] of individual classes of AbiWord. This is the first step. If [[Unit Test]] does not pass, then there is problem.
The basic problem with AbiWord and unit testing is that most of the classes in both the [[Piece Table]] and the [[Formatter]] are too interdependent, therefor hard to unit tese.
The basic problem with AbiWord and unit testing is that most of the classes in both the [[Piece Table]] and the [[Formatter]] are too interdependent, therefor hard to unit tese.
-
 
-
----
 
-
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
-
----
 
-
=[http://yleqydepyt.co.cc UNDER COSTRUCTION, PLEASE SEE THIS POST IN RESERVE COPY]=
 
-
----
 
-
=[http://yleqydepyt.co.cc CLICK HERE]=
 
-
----
 
-
</div>
 
== Regression Test ==
== Regression Test ==

Current revision as of 13:19, 27 November 2010

Contents

Unit Test

Unit Test of individual classes of AbiWord. This is the first step. If Unit Test does not pass, then there is problem.

The basic problem with AbiWord and unit testing is that most of the classes in both the Piece Table and the Formatter are too interdependent, therefor hard to unit tese.

Regression Test

Regression testing should be done for:

  1. file import export
  2. text backend.

Such a test suite should be run and pass before a release, either stable or development.

File import / export

The idea is to import defined set of documents and check the output.

When a new import feature is added, the test is modified to check that. It should help is track any possible side effects.


Text backend

Ideally, each backend bug should have a test written for it. That way you can validate the fix, and ensure it does not reappear.

Personal tools