SigTest

(Difference between revisions)
(APITest tool)
Line 2: Line 2:
==[[APITest | APITest]] tool==
==[[APITest | APITest]] tool==
-
This is the tool behind [[SignatureTest | SignatureTest]] infrastructure. It checks for incompatibilities and is currently done by [http://hg.netbeans.org/apitest/ NetBeans' own version] of an OpenJDK [http://sigtest.java.net/ sigtest tool] tool. This adds a standard Ant task to check for binary backward compatibility, mutual signature compatibility. The binary compatibility check ignores generic types. Its [http://hg.netbeans.org/apitest/ sources] are distributed together with its Mercurial repository and are available under GPL version 2.  
+
This is the tool behind [[NetBeans]] [[SignatureTest | signature testing]] infrastructure. It checks for incompatibilities between different versions of the same [[API]]. [[NetBeans]] uses the [[APITest]] tool as an Ant task to check for binary backward compatibility, mutual signature compatibility. There is however also a version released as a [http://search.maven.org/#search|ga|1|a%3A%22sigtest-maven-plugin%22|Maven Plugin] ready for use in your own project. The [http://hg.netbeans.org/apitest/ sources] are in its own dedicated Mercurial repository and are available under GPL version 2.  
 +
 
 +
 
 +
 
====Download====
====Download====
Binary Builds are available from our [http://deadlock.netbeans.org/hudson/job/apitest/ hudson builder]. Get the sources with
Binary Builds are available from our [http://deadlock.netbeans.org/hudson/job/apitest/ hudson builder]. Get the sources with
-
<pre>
+
<source lang="bash">
   hg clone http://hg.netbeans.org/apitest/
   hg clone http://hg.netbeans.org/apitest/
   cd apitest
   cd apitest
   ant jar test
   ant jar test
   # open in NetBeans
   # open in NetBeans
-
</pre>
+
</source>
====Why another API test tool?====
====Why another API test tool?====

Revision as of 16:19, 15 July 2016

APITest tool

This is the tool behind NetBeans signature testing infrastructure. It checks for incompatibilities between different versions of the same API. NetBeans uses the APITest tool as an Ant task to check for binary backward compatibility, mutual signature compatibility. There is however also a version released as a Plugin ready for use in your own project. The sources are in its own dedicated Mercurial repository and are available under GPL version 2.



Download

Binary Builds are available from our hudson builder. Get the sources with

  hg clone http://hg.netbeans.org/apitest/
  cd apitest
  ant jar test
  # open in NetBeans

Why another API test tool?

  • We need our own extended Ant task - it would be the best if sigtest could use Ant task with the same setters and behaviour
  • There does not seem to be many tests in original sigtest, we need the sigtest to pass our

tests.

  • The sources of sigtest cannot be smoothly opened in NetBeans. Until that is changed, we need to keep the project skeleton in some public repository

Existing patches to sigtest

  • All were accepted.
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo