Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 4.0
-
Fix Version/s: 4.1-milestone-1
-
Component/s: Build, Infrastructure and Tests
-
Labels:None
-
Documentation in Release Notes:
-
Similar issues:
XRENDERING-203Support Syntaxes with multiple inputs leading to the same result in the Compatibility Test Suite XRENDERING-103Introduce new xwiki-rendering-test module to contain shared rendering test framework classes XRENDERING-139Honor the test order defined in rendering test files (*.test files) XRENDERING-186 Implement a Markdown Renderer XRENDERING-102Align rendering tests module name by renaming it xwiki-rendering-integration-tests XRENDERING-125Rendering Test framework incorrectly report errors for subsequent tests after a test has failed XRENDERING-97 Implement JIRA macro for new rendering XRENDERING-126Add support for regexes in the Rendering Test Framework XRENDERING-146Make it simple to add Icon Transformation mappings when using the Rendering in standalone mode XRENDERING-292New Syntax: Renderer for LaTex via TeX4ht
Description
The idea is that when we add a new syntax it would be nice to be able to quickly run all the tests on that new syntax to verify what works/what doesn't work.
Also having a CTS has several other pros:
- tests are closer to their parser/renderers since they are in the same module
- those tests are unit tests, which means early failures if parser/renderer is broken (incidentally this means higher TPC on nemo too
) - scales better with # of syntaxes
- Allows specific code to handle situation like PDF testing
- know precisely what works and what doesn't since all tests are executed and doesn't depend on the user having added the test or not
Issue Links
- depends on
-
XRENDERING-196
Add ability to get well-known Syntax types
-
Activity
Vincent Massol
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Vincent Massol [ vmassol ] |
Vincent Massol
24/Apr/12 13:55
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Very first pass at implementing a CTS
master
... 13 more files not shown
Vincent Massol
24/Apr/12 13:55
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Very first pass at implementing a CTS
master
... 13 more files not shown
Vincent Massol
24/Apr/12 16:23
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Change file names and introduce an inout file format
master
... 4 more files not shown
Vincent Massol
24/Apr/12 16:23
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Change file names and introduce an inout file format
master
... 4 more files not shown
Vincent Massol
24/Apr/12 16:36
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Fix bug
master
Vincent Massol
24/Apr/12 16:36
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Fix bug
master
Vincent Massol
24/Apr/12 20:58
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Removed leftover
Vincent Massol
24/Apr/12 20:58
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Removed leftover
Vincent Massol
25/Apr/12 22:13
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Make it more generic by allowing to specify both input and output CTS content to test against
master
... 3 more files not shown
Vincent Massol
25/Apr/12 22:13
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Make it more generic by allowing to specify both input and output CTS content to test against
master
... 3 more files not shown
Vincent Massol
25/Apr/12 22:39
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Added one more test to the CTS
master
Vincent Massol
25/Apr/12 22:39
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Added one more test to the CTS
master
Vincent Massol
25/Apr/12 22:39
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Added one more test to the CTS
master
Vincent Massol
26/Apr/12 22:54
View full commit
Revert "XRENDERING-187: Implement a Rendering Compatibility Test Suite"
This reverts commit 9af7ca9861e67bfdf41a0f0fa59a4f547c9e04a2.
master
Vincent Massol
28/Apr/12 18:28
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Merged from master after syntax module changes
master
Vincent Massol
28/Apr/12 23:28
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Exclude rendering test file for now from License checks
master
+12
-
pom.xml
Vincent Massol
29/Apr/12 21:39
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Use XDOM+XML syntax for CTS
* Added javadoc
* Improve unit test
Vincent Massol
30/Apr/12 09:26
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Mark test as ignored when there's no syntax data for a CTS test
* Fixed some checkstyle errors
Vincent Massol
30/Apr/12 09:48
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* No more checkstyle errors nor license errors
master
... 1 more files not shown
Vincent Massol
30/Apr/12 10:22
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Use xdom+xml/current for the CTS syntax
* It's really verbose and needs to be simplified a lot more for the CTS (could be another variant of the XDOM+XML syntax)
Vincent Massol
30/Apr/12 10:31
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* We can have comments in the CTS test files :)
Vincent Massol
made changes -
| Status | Open [ 1 ] | Closed [ 6 ] |
| Fix Version/s | 4.1-milestone-1 [ 13141 ] | |
| Resolution | Fixed [ 1 ] |
Vincent Massol
30/Apr/12 10:46
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Fixed license configuration
master
+1
-
pom.xml
Vincent Massol
30/Apr/12 10:49
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Fixed license configuration
master
+1
-
pom.xml
Vincent Massol
30/Apr/12 11:07
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Fixed CTS suite when there's no Scope annotation
Vincent Massol
30/Apr/12 11:17
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Added CTS tests for the confluence syntax
master
Vincent Massol
30/Apr/12 11:29
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Don't show as Ignored tests for which there's no Parser or Renderer available
Vincent Massol
30/Apr/12 16:46
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Added DocBook as an XML syntax in the CTS framework
* Add a CTS for Creole and DocBook
master
... 2 more files not shown
Vincent Massol
30/Apr/12 19:11
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Add a CTS for Event syntax
* Added ability to have Velocity scripts in test data
* Bind the current Syntax to the Velocity Context
master
... 3 more files not shown
Vincent Massol
made changes -
| Link |
This issue depends on |
Vincent Massol
30/Apr/12 20:00
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Add a CTS for XHTML syntax
master
Vincent Massol
30/Apr/12 20:33
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Better class name. Replace notion of Generation by that of Parsing
Vincent Massol
01/May/12 20:45
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Added support for ignore tests in a configuration file
* Added a CTS suite for the Plain Text Renderer
* Some refactoring
Vincent Massol
01/May/12 21:39
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Added a CTS suite for the TWiki Parser
master
Vincent Massol
01/May/12 21:50
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Added a CTS suite for the JSPWiki Parser
master
Vincent Massol
01/May/12 21:58
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Added a CTS suite for the MediaWiki Parser
master
Vincent Massol
02/May/12 12:30
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Make the CTS tests be found when executed from Maven
Vincent Massol
02/May/12 13:58
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Fixed failing build
Vincent Massol
02/May/12 14:40
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Ignore TeX tests since they produce a wrong output, see XRENDERING-198
Vincent Massol
02/May/12 14:50
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Rename test class
Vincent Massol
02/May/12 14:51
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Removed no longer neccessary tests (since they've been moved to the CTS)
Vincent Massol
02/May/12 17:49
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Move bold2.test to CTS
Vincent Massol
03/May/12 00:29
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Add support for test descriptions (so that we're able to extract them later on when we generate syntax reports)
* API refactorings
Vincent Massol
11/May/12 11:20
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Separate notion of not applicable test from the notion of failing test
* Added explanation in the test name when a test is ignored (note that this will be needed to generate the CTS Syntax Report)
master
+2
-2
xwiki-rendering-syntaxes/xwiki-rendering-syntax-plain/src/test/resources/plain10/config.properties
+3
-3
xwiki-rendering-syntaxes/xwiki-rendering-syntax-tex/src/test/resources/tex10/config.properties
+9
-1
xwiki-rendering-test/src/main/java/org/xwiki/rendering/test/cts/IgnoredRenderingTestClassRunner.java
... 4 more files not shown
Vincent Massol
12/May/12 19:14
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Added Test suites for XWiki 2.1, XWiki 1.0 and HTML 4.01 syntaxes
master
Vincent Massol
12/May/12 19:54
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Make bold2 test not applicable for Confluence 1.0. See http://jira.xwiki.org/browse/XRENDERING-201
Vincent Massol
12/May/12 20:00
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Implement bold2 test for Creole and JSPWiki syntaxes
Vincent Massol
12/May/12 21:49
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Add inherit syntax feature
Vincent Massol
12/May/12 22:24
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Add inherit for the HTML syntax
* Provide safety to make the test not applicable if no parser or renderer exists for the syntax
Vincent Massol
13/May/12 09:58
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Add new CTS test (bold3, which is the old bold8.test, now removed)
Vincent Massol
13/May/12 10:03
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Add missing test description + improve existing descriptions
Vincent Massol
13/May/12 10:20
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Fix description id
Vincent Massol
13/May/12 14:05
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Pass names of test files in the test description so that external tools can create links to test files
Vincent Massol
14/May/12 09:43
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Add bold3 tests for syntaxes
master
Vincent Massol
14/May/12 09:44
View full commit
XRENDERING-187: Implement a Rendering Compatibility Test Suite
* Fix notapplicable regex after change of description format
Vincent Massol
made changes -
| Documentation in Release Notes | http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise41M1#HFordevelopers | |
| Documentation | http://rendering.xwiki.org/xwiki/bin/view/Main/CompatibilityTestSuite |
Work started on branch "cts" in xwiki-rendering github repo.