blob: 6324cfc840cdd3d661ce8c5fb65187ecb0b9a38f [file] [log] [blame]
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="../../../../../..//default_style.css" type="text/css">
<link rel="stylesheet" href="../../../../../..//webtools/wtp.css" type="text/css">
<title>WTP Milestone 5</title>
</head>
<body>
<table width="100%" cellspacing="5" cellpadding="2" border="0">
<tbody>
<tr>
<td width="60%" align="left"><font class="indextop">XML Test Plan</font>
<br>
<font class="indexsub">WTP Milestone 5</font></td><td width="40%"><img width="120" hspace="50" height="86" align="middle" src="../../../../../..//images/Idea.jpg"></td>
</tr>
</tbody>
</table>
<table width="100%" cellspacing="5" cellpadding="2" border="0">
<col width="16">
<col width="*">
<tbody>
<tr>
<td valign="top" bgcolor="#0080c0" align="left" colspan="2"><b><font face="Arial,Helvetica" color="#ffffff">Status of this Plan</font></b></td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>Proposed Plan (2005-09-16)</p>
</td>
</tr>
<tr>
<td valign="top" bgcolor="#0080c0" align="left" colspan="2"><b><font face="Arial,Helvetica" color="#ffffff">Overall goals</font></b></td>
</tr>
<tr>
<td valign="top" align="right"><img width="16" height="16" border="0" src="../../../../../..//images/Adarrow.gif"></td><td>
<b>New for 1.0M8</b>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>
Not much has been added in terms of new functionality for
1.0M8. Most of the work done was in the areas of cleaning up
dead code, and cleaning up APIs,particularly
ViewerConfiguration.
<br>
<br>
Tests addressing areas where we had problems last milestone
have been added as links at the end of this plan.
<br>
<br>
The M5 test plan should have sufficient coverage for 1.0M8.
</p>
</td>
</tr>
<tr>
<td valign="top" align="right"><img width="16" height="16" border="0" src="../../../../../..//images/Adarrow.gif"></td><td>
<b>Co-developer Testing</b>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>
We will inspect "runtime" version of build to be
sure extra source is not included, and more important, we'll
inspect and test importing SDK version to be sure all
relevant "open source" is included in that SDK
build and that it correctly imports into a development
environment.
</p>
</td>
</tr>
<tr>
<td valign="top" align="right"><img width="16" height="16" border="0" src="../../../../../..//images/Adarrow.gif"></td><td>
<b>API Testing</b>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>
Here in 1.0M8 we don't consider we have any official API yet
(since not spec'd as such) but will reserve this space for
future plans to details were API Unit tests are, their
coverage, etc.
</p>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>
We do have several hundred unit tests which we expect to be
running and passing for 1.0M8, which test various aspects of
parsing, model creation, and correct charset handling, among
other things.
</p>
</td>
</tr>
<tr>
<td valign="top" align="right"><img width="16" height="16" border="0" src="../../../../../..//images/Adarrow.gif"></td><td>
<b>End User Testing</b>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>
The nature of the end-user testing is intentionally planned
to be "ad hoc" instead of specifying step by step "how to"
directions and specific "expected results" sections often
seen in test cases. This is done because its felt leads to
greater number of "paths" being tested, and allows end-users
more motivation for logging "bugs" if things didn't work as
<i>they</i>
expected, even if it is working as designed.
</p>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>
As we progress through milestones, we'll add more and more
detail for special cases, special files, special projects,
etc.When we do have special or sample test files and
projects, we will keep those stored in CVS, as projects
under a
<i>testdata</i>
directory under the
<i>development</i>
directory of relevant component so that testers (from
immediate team, or community) can easily check out into the
environment being tested.
</p>
</td>
</tr>
<tr>
<td valign="top" align="right"><img width="16" height="16" border="0" src="../../../../../..//images/Adarrow.gif"></td><td>
<b>Platform Testing</b>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>
While we do not have any platform specific code, or
function, we will have some team members do end-user tests
on Linux, some on Windows. We will also confirm unit tests
pass on both platforms.
</p>
</td>
</tr>
<tr>
<td valign="top" align="right"><img width="16" height="16" border="0" src="../../../../../..//images/Adarrow.gif"></td><td>
<b>Performance Testing</b>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>
We have added (some) automated performance tests along the
lines of the Eclipse base performance unit tests in future
milestones. These are currently in the
<b>org.eclipse.wst.*.ui.tests.performance</b>
and
<b>org.eclipse.jst.jsp.ui.tests.performance</b>
plugins.
<br>
<br>
We will continue to add more test cases in upcoming
milestones.
</p>
</td>
</tr>
<tr>
<td valign="top" bgcolor="#0080c0" align="left" colspan="2"><b><font face="Arial,Helvetica" color="#ffffff">
<b>New for 1.0M8</b>
</font></b></td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>
<a href="../../sse/M8/viewerconfig-test.html">
Structured Text Viewer Configuration tests
</a>
<br>
<a href="../../sse/M8/action-test.html">
Structured Text Editor Action tests
</a>
</p>
</td>
</tr>
<tr>
<td valign="top" bgcolor="#0080c0" align="left" colspan="2"><b><font face="Arial,Helvetica" color="#ffffff">XML Tests</font></b></td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<ul>
<li>
check Source Editing features from feature
<a href="../../sse/M8/milestone_test_plan.html#matrix">
matrix
</a>
<br>
check samples of range of types of web resources
(web.xml, tld files, schema source, etc)
<br>
especially any we (WTP) generate
</li>
<li>
test Design page, Source page, Outline view, Properties
view synchronization
</li>
<li>
check content assist and source validation using content
model from the following source:
<ul>
<li>
inferred content model (XML with no DOCTYPE or
schema specified)
</li>
<li>DTD from XML catalog</li>
<li>DTD from URI</li>
<li>schema from XML catalog</li>
<li>schema from URI</li>
<li>
basic schema (with lots of complex types, and
lots of 'includes')
</li>
<li>advanced schema (with lots of namespaces)</li>
</ul>
</li>
<li>
A quick sanity check that preferences have effect, and
do no harm. Only quick check, since many changes planned
in this are for future milestones.
</li>
</ul>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>
<ul>
<li>
as you type validation:
<ul>
<li>
job based, make sure squiggles show up when
they should and are removed when problems
are fixed
</li>
<li>
test various partition types in the document
</li>
<li>
new Xerces-style validators (for
as-you-type)
</li>
<li>XSD validator (for as-you-type)</li>
</ul>
</li>
<li>
hyperlink open on:
<ul>
<li>schema location, dtd location</li>
</ul>
</li>
<li>
preferences:
<ul>
<li>
how we use the preferences in the "All Text
Editors" preference page now.
</li>
<li>make sure preferenes work</li>
<li>after shutdown and restart</li>
</ul>
</li>
<li>
run performance unit tests:
<ul>
<li>
record results for comparison with future
milestones
</li>
</ul>
</li>
<li>
profiling:
<ul>
<li>
test basic editor functions and look for
problem areas (large memory consumption,
intense cpu usage)
</li>
</ul>
</li>
</ul>
</p>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top"><B>General Scenario</B></td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<UL>
<LI>
Validate an invalid document and ensure problems are
shown as annotations in the editor's source ruler and
margin
</LI>
<LI>
Check that error messages are listed in the problems
view
</LI>
<LI>Check that navigation works for error markers</LI>
<LI>Check that line numbers match error markers</LI>
<LI>
Correct errors and revalidate and ensure all markers and
messages are removed
</LI>
<LI>
Ensure popup message dialog appear with the correct
validation message
</LI>
</UL>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top"><B>XML Catalog</B></td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<UL>
<LI>Test that validation works with the XML Catalog</LI>
</UL>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top"><B>Referenced Files</B></td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<UL>
<LI>Test errors in referenced files</LI>
<LI>
good xml, bad xsd. ie. XSD errors should not show in XML
resource. There should be however one message to
indicate that there are errors in the referenced file
</LI>
<LI>Test similarly also for good xml, bad dtd</LI>
</UL>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top"><B>Validation Preferences</B></td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<UL>
<LI>Test validate on file save</LI>
<LI>Turn it on and off</LI>
<LI>Test global vs project settings</LI>
<LI>Test maximum number of messages</LI>
</UL>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top"><b>XML Examples</b></td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<UL>
<LI>
Create the Editing and validating XML files Examples
</LI>
<LI>
Verify that the sample files are created in the
designated folder
</LI>
</UL>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top"><B>XML Tutorials</B></td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<UL>
<LI>Excercise XML Catalog tutorial</LI>
<LI>Excercise XML Validation tutorial</LI>
<LI>Excersice Creating XML Documents tutorial</LI>
</UL>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>
Problem icons (batch validation) should gray out in the
editor when fixed.
</p>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>Tab Preferences</p>
</td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<ul>
<li>
Web and XML-&gt;Content Type Files -&gt; Content Type Source
-&gt; Indent using tabs / Indent using spaces -&gt;
Indentation size
</li>
<li>Verify the correct tab character is used</li>
<li>Verify the correct number of tab characters is used</li>
<li>
Verify Source-&gt;Shift Left/Shift Right and the
Shift-Tab/Tab key follow the preferences
</li>
<li>With nothing selected</li>
<li>With multiple lines selected</li>
<li>Verify Format follow the preferences</li>
<li>
Verify when using tab characters, the displayed tab
width preference is followed (General-&gt;Editors-&gt;Text
Editors -&gt; Displayed tab width)
</li>
</ul>
</td>
</tr>
<tr>
<td valign="top" bgcolor="#0080c0" align="left" colspan="2"><b><font face="Arial,Helvetica" color="#ffffff">
<b>Regression Tests</b>
</font></b></td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>
<a href="../../../../../wst/components/sse/M4/formatting-test.html">
Formatting tests
</a>
<br>
</p>
</td>
</tr>
<tr>
<td valign="top" bgcolor="#0080c0" align="left" colspan="2"><b><font face="Arial,Helvetica" color="#ffffff">Source Editing Test Plans</font></b></td>
</tr>
<tr>
<td valign="top" align="right">&nbsp;</td><td valign="top">
<p>
<a href="../../sse/M8/milestone_test_plan.html">
org.eclipse.wst.sse
</a>
<br>
<a href="milestone_test_plan.html">
org.eclipse.wst.xml
</a>
<br>
<a href="../../html/M8/milestone_test_plan.html">
org.eclipse.wst.html
</a>
<br>
<a href="../../css/M8/milestone_test_plan.html">
org.eclipse.wst.css
</a>
<br>
<a href="../../dtd/M8/milestone_test_plan.html">
org.eclipse.wst.dtd
</a>
<br>
<a href="../../javascript/M8/milestone_test_plan.html">
org.eclipse.wst.javascript
</a>
<br>
<a href="../../../jst/jsp/M8/milestone_test_plan.html">
org.eclipse.jst.jsp
</a>
</p>
</td>
</tr>
</tbody>
</table>
</body>
</html>