You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.8 KiB
57 lines
1.8 KiB
gUnit
|
|
Feb 21, 2009
|
|
|
|
Leon, Jen-Yuan Su
|
|
leonsu at mac com
|
|
|
|
INTRODUCTION
|
|
|
|
Welcome to gUnit! I've been working on gUnit from 2007 summer and
|
|
this is a project in USF CS, sponsored by professor Terence Parr.
|
|
|
|
You should use the latest ANTLR v3 with gUnit:
|
|
|
|
http://www.antlr.org/download.html
|
|
|
|
See the wiki document:
|
|
|
|
http://www.antlr.org/wiki/display/ANTLR3/gUnit+-+Grammar+Unit+Testing
|
|
|
|
Per the license in LICENSE.txt, this software is not guaranteed to
|
|
work and might even destroy all life on this planet:
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
|
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
|
|
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
|
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
|
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
EXAMPLES
|
|
|
|
See the wiki tutorial of gUnit:
|
|
|
|
http://www.antlr.org/wiki/display/ANTLR3/gUnit+-+Grammar+Unit+Testing
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
What is gUnit?
|
|
|
|
gUnit is an unit testing framework for ANTLR grammars. It provides a
|
|
simple way to write and run automated tests for grammars in a manner
|
|
similar to what jUnit does for unit testing.
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
How do I install gUnit?
|
|
|
|
It is included in ANTLR v3; it needs both ANTLR and StringTemplate jars
|
|
in CLASSPATH.
|