You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jv...@apache.org on 2008/12/18 05:29:15 UTC

svn commit: r727638 - /maven/components/trunk/maven-project/src/test/java/org/apache/maven/project/builder/PomConstructionTest.java

Author: jvanzyl
Date: Wed Dec 17 20:29:15 2008
New Revision: 727638

URL: http://svn.apache.org/viewvc?rev=727638&view=rev
Log:
o notes on how to improve the test so that it's easy to get others involved in adding/correcting the spec and accompanying tests.

Modified:
    maven/components/trunk/maven-project/src/test/java/org/apache/maven/project/builder/PomConstructionTest.java

Modified: maven/components/trunk/maven-project/src/test/java/org/apache/maven/project/builder/PomConstructionTest.java
URL: http://svn.apache.org/viewvc/maven/components/trunk/maven-project/src/test/java/org/apache/maven/project/builder/PomConstructionTest.java?rev=727638&r1=727637&r2=727638&view=diff
==============================================================================
--- maven/components/trunk/maven-project/src/test/java/org/apache/maven/project/builder/PomConstructionTest.java (original)
+++ maven/components/trunk/maven-project/src/test/java/org/apache/maven/project/builder/PomConstructionTest.java Wed Dec 17 20:29:15 2008
@@ -36,6 +36,12 @@
         mavenTools = lookup( MavenTools.class );
     }
 
+    // Some better conventions for the test poms needs to be created and each of these tests
+    // that represent a verification of a specification item needs to be a couple lines at most.
+    // The expressions help a lot, but we need a clean to pick up a directory of POMs, automatically load
+    // them into a resolver, create the expression to extract the data to validate the Model, and the URI
+    // to validate the properties. We also need a way to navigate from the Tex specification documents to
+    // the test in question and vice versa. A little Eclipse plugin would do the trick.
     public void testThatAllPluginExecutionsWithIdsAreJoined()
         throws Exception
     {