CSC/ECE 517 Fall 2009/wiki1b 12 testFrmwk: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 32: Line 32:
[http://sente.epfl.ch/software/ocunit OCUnit] is a XUnit style testing framework for testing Objective C language based applications.  
[http://sente.epfl.ch/software/ocunit OCUnit] is a XUnit style testing framework for testing Objective C language based applications.  


[ObjcUnit http://oops.se/objcunit] is another testing framework based on JUnit, adapted for Objective C
[http://oops.se/objcunit ObjcUnit] is another testing framework based on JUnit, adapted for Objective C


[http://wincent.com/a/products/wotest WOTest] is an unit testing framework for Objective C which integrates fully with XCode
[http://wincent.com/a/products/wotest WOTest] is an unit testing framework for Objective C which integrates fully with XCode

Revision as of 03:22, 21 September 2009

Testing frameworks for object-oriented languages

Groovy

Groovy is a dynamic language built to run on Java Virtual machine. This language has additional features that are inspired by languages like python, Ruby and smalltalk. Groovy simplifies testing by providing unit test (using JUnit) and mock frameworks as part of the built in features.

Test'N'Groove - 'Test and Groove' framework is the integration of Groovy and TestNG frameworks.

Groovy Mocks - This framework is built in with Groovy and provides excellent support for mocking alternatives while testing Groovy code

Gmock - This is a mocking framework for Groovy. Simple syntax of this framework makes it popular as it makes the tests more readable and concise

easyb - This is a behavior driven development framework that can be used to test Groovy

spock - Spock is a testing and specification framework for Groovy applications also. This is popular as it has highly expressive specification language and it combines the best features of other tools like JUnit, jMock, and RSPec

LISP

CLUnit is a unit test tool for defining and running unit tests for common LISP language

LIFT is another framework for testing LISP based applications. LIFT supports interactive testing and is inspired by SUnit and JUnit.

LISPUnit is a popular framework designed for beginners of LISP programming and has common LISP library that supports unit testing

FiveAM is a unit testing framework similar to LISP and does hierarchical, composable test suites

Stefil features a more interactive approach to testing as it provides report on test failures and the conditions that caused the failure

Objective C

Objective C is designed to provide C language , the full object oriented programming capabilities based on Smalltalk style messaging.

OCUnit is a XUnit style testing framework for testing Objective C language based applications.

ObjcUnit is another testing framework based on JUnit, adapted for Objective C

WOTest is an unit testing framework for Objective C which integrates fully with XCode

PHP

PHP is a general purpose scripting language which is widely used for web development

PHPUnit is a unit testing framework for PHP programming language based on JUnit framework

SimpleTest is an unit testing framework for PHP programming language and it supports mock objects which is used to regress the web-applications. This framework is based on JUnit/PHPUnit

SnapTest is a unit testing framework compliant with JUnit type of test harness and also provides test output that is complaint with TAP

PERL

Perl is a high-level, general-purpose, interpreted, dynamic programming language well known for its text processing capabilities. Perl is inspired by AWK, Smalltalk, LISP, C, C++, Unix Shell etc.

TAP - TAP stands for Test Anything Protocol. This is used to allow communication between unit tests and any automated testing framework

Test::Harness - This is a standard test runner for PERL which leverages TAP parser for running various tests

Test::More - Another testing framework that is famous for the testing utilities

Test::Class - This framework provides a simple way to create classes and objects for testing in the xUnit/JUnit Style

Test::Builder - A module for making more testing modules

Test::Unit (a.k.a. PerlUnit) - This framework supports unit testing in an object oriented development paradigm. This is derived from JUnit

Test::DBUnit - Another xUnit based testing framework for testing database modules

Test::Able - This is an xUnit style testing framework inspired by Test::Class with

Moose . This framework was created to overcome the limitations of Test::Class and leverage the functions of Moose.

LectroTest - This is an automatic, specification-based testing tool for Perl. It is modeled after the QuickCheck module for the Haskell programming language.

PerlActor - This is a simple automated executable acceptance test framework for Perl

http://langworth.com/pub/perl_test_refcard.pdf - List of testing modules for PERL

Scala

Scala stands for "Scalable Language". Scala is a programming language that is designed to integrate the features of Object-orient programming and functional programming. Scala runs on JVM and is compatible with existing java programs.

ScalaTest - is a traditional xUnit style testing framework

ScalaCheck, a library similar to Haskell's QuickCheck and is used for automated unit testing of Scala based application

Specs is a Behavior driven development library for Scala

Rehersal is another unit testing framework for Scala intended as an easier-to-use replacement for SUnit in the standard library

ScUnit is an unit testing framework based on several Java testing and mocking frameworks like JUnit, TestNG,JBehave, EasyMock

Smalltalk

Smalltalk is an object oriented, dynamically typed language and is often considered as a pioneer for many other object oriented languages like Java, Python, Ruby etc.

SUnit - Unit Testing framework for Smalltalk. It is the original source of the xUnit design.

External References

http://en.wikipedia.org/wiki/List_of_unit_testing_frameworks

http://www.c2.com/cgi/wiki?TestingFramework

http://groovy.codehaus.org/

http://www.xprogramming.com/testfram.htm

http://en.wikipedia.org/wiki/Objective-C

http://www.scala-lang.org/

http://scala.sygneca.com/

http://rehersal.sourceforge.net/