1 gUnit 2 Feb 21, 2009 3 4 Leon, Jen-Yuan Su 5 leonsu at mac com 6 7 INTRODUCTION 8 9 Welcome to gUnit! I've been working on gUnit from 2007 summer and 10 this is a project in USF CS, sponsored by professor Terence Parr. 11 12 You should use the latest ANTLR v3 with gUnit: 13 14 http://www.antlr.org/download.html 15 16 See the wiki document: 17 18 http://www.antlr.org/wiki/display/ANTLR3/gUnit+-+Grammar+Unit+Testing 19 20 Per the license in LICENSE.txt, this software is not guaranteed to 21 work and might even destroy all life on this planet: 22 23 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 24 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 25 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 26 DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, 27 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 29 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 31 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 32 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 33 POSSIBILITY OF SUCH DAMAGE. 34 35 ---------------------------------------------------------------------- 36 37 EXAMPLES 38 39 See the wiki tutorial of gUnit: 40 41 http://www.antlr.org/wiki/display/ANTLR3/gUnit+-+Grammar+Unit+Testing 42 43 ---------------------------------------------------------------------- 44 45 What is gUnit? 46 47 gUnit is an unit testing framework for ANTLR grammars. It provides a 48 simple way to write and run automated tests for grammars in a manner 49 similar to what jUnit does for unit testing. 50 51 ---------------------------------------------------------------------- 52 53 How do I install gUnit? 54 55 It is included in ANTLR v3; it needs both ANTLR and StringTemplate jars 56 in CLASSPATH. 57