unit
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 417
Eunit 1.1
Eunit is an Erlang unit test suite. more>>
Eunit project is an Erlang test suite tool, inspired by agile development ideas.
Usage:
Launch example unit test with:
erl -config sys.config
and then
eunit:run([eunit_examples], {suffix, "_test"}).
Enhancements:
- This release is a complete rewrite.
- Writing unit tests should now be simpler than with the previous version.
- This release can also be used with the Aegis configuration management system for continuous integration.
<<lessUsage:
Launch example unit test with:
erl -config sys.config
and then
eunit:run([eunit_examples], {suffix, "_test"}).
Enhancements:
- This release is a complete rewrite.
- Writing unit tests should now be simpler than with the previous version.
- This release can also be used with the Aegis configuration management system for continuous integration.
Download (0.011MB)
Added: 2005-11-29 License: MPL (Mozilla Public License) Price:
1426 downloads
p-unit 0.13
p-unit is a framework for benchmarking performance. more>>
p-unit is a framework for benchmarking performance. The project records memory consumption and execution time, and generates results in the form of plain text, image, and PDF file. Users can also easily register their own reporters by implementing PUnitEventList.
Test Suite and Test Class
Test suite and test class are two important concepts in p-unit. p-unit does not require any special type for a test class, so every class can be a test class. Of course, it includes junit test cases. There is one special interface for special p-unit only test class - p-unitTest. p-unit executes a normal test as following procedure:
invoke setUp if there is.
invoke the test method.
invoke tearDown method.
Noticed that setUp and tearDown will also be regarded as a part of performance test. If you dont want to count them into performance data, you need to implement p-unitTest interface, which will be executed as:
invoke setUpBeforeWatchers.
invoke setAfterWatchers.
invoke the test method.
invoke tearDownBeforeWatchers.
invoke tearDownAfterWatchers.
As the name suggests, you can put the setUp and tearDown code into the setUpBeforeWatchers and tearDownAfterWatchers.
Time/Memory Record
p-unit records the memory and time consumption of running a test method. There is a "watcher" concept in p-unit, which supervises the status during running the test method. By default, memory watcher and time watcher are installed. p-unit supports user-defined watcher too. The user only needs to implement the Watcher interface and register it to p-unit method runner.
Enhancements:
- Changes to adopt the Apache License 2.0.
- A customized watcher infrastructure to make it possible to report results from test cases.
- A new EventListener that sets public test fields on start up.
<<lessTest Suite and Test Class
Test suite and test class are two important concepts in p-unit. p-unit does not require any special type for a test class, so every class can be a test class. Of course, it includes junit test cases. There is one special interface for special p-unit only test class - p-unitTest. p-unit executes a normal test as following procedure:
invoke setUp if there is.
invoke the test method.
invoke tearDown method.
Noticed that setUp and tearDown will also be regarded as a part of performance test. If you dont want to count them into performance data, you need to implement p-unitTest interface, which will be executed as:
invoke setUpBeforeWatchers.
invoke setAfterWatchers.
invoke the test method.
invoke tearDownBeforeWatchers.
invoke tearDownAfterWatchers.
As the name suggests, you can put the setUp and tearDown code into the setUpBeforeWatchers and tearDownAfterWatchers.
Time/Memory Record
p-unit records the memory and time consumption of running a test method. There is a "watcher" concept in p-unit, which supervises the status during running the test method. By default, memory watcher and time watcher are installed. p-unit supports user-defined watcher too. The user only needs to implement the Watcher interface and register it to p-unit method runner.
Enhancements:
- Changes to adopt the Apache License 2.0.
- A customized watcher infrastructure to make it possible to report results from test cases.
- A new EventListener that sets public test fields on start up.
Download (0.12MB)
Added: 2007-08-13 License: The Apache License 2.0 Price:
804 downloads
RCUNIT 0.9
RCUNIT is a robust C unit testing framework. more>>
RCUNIT is a robust C unit testing framework. Requiring only an ANSI compliant C compiler, It is a highly portable testing tool.
Main features:
- Uniform interfaces for managing test cases
- Optional setup and tear down functions for each test case (test function) to isolate a particular test.
- Optional setup and tear down functions for each test suite (test module).
- Multiple test registries and test suites for structuring test cases. Also provides a default test suite and default test registry.
- Output redirection mechanism to redirect log and test run report when a file I/O facility is not available in the test platform.
- Log handler mechanism for redirecting logs.
- Allows optional test run callback function (test run hook).
- Alternative mechanism to ANSI Cs assert() function (non-test run assertions). Also allows assertion callback function (assertion hook)
- A runtime memory leak check facility
- An extensible exception handling mechanism
Enhancements:
- This is is the pre-release version of 1.0.
- There were no major changes from version 0.1, and it is fairly stable.
<<lessMain features:
- Uniform interfaces for managing test cases
- Optional setup and tear down functions for each test case (test function) to isolate a particular test.
- Optional setup and tear down functions for each test suite (test module).
- Multiple test registries and test suites for structuring test cases. Also provides a default test suite and default test registry.
- Output redirection mechanism to redirect log and test run report when a file I/O facility is not available in the test platform.
- Log handler mechanism for redirecting logs.
- Allows optional test run callback function (test run hook).
- Alternative mechanism to ANSI Cs assert() function (non-test run assertions). Also allows assertion callback function (assertion hook)
- A runtime memory leak check facility
- An extensible exception handling mechanism
Enhancements:
- This is is the pre-release version of 1.0.
- There were no major changes from version 0.1, and it is fairly stable.
Download (0.40MB)
Added: 2006-10-17 License: GPL (GNU General Public License) Price:
1106 downloads
AppsUnit 0.1
AppsUnit toolkit assists with the testing of your Oracle e-business suite code. more>>
AppsUnit toolkit assists with the testing of your Oracle e-business suite code. It tests views, PL/SQL packages, concurrent requests, and more.
No software needs to be installed on the application server. Results are made available as a PDF report.
Enhancements:
- The example test kit is available for download.
- The suite uses some of the apps foundation views as an example.
- These views are unit tested, and the results are available as HTML and PDF reports.
<<lessNo software needs to be installed on the application server. Results are made available as a PDF report.
Enhancements:
- The example test kit is available for download.
- The suite uses some of the apps foundation views as an example.
- These views are unit tested, and the results are available as HTML and PDF reports.
Download (0.035MB)
Added: 2006-11-01 License: Common Public License Price:
1088 downloads
Test::Unit 0.25
Test::Unit is the main PerlUnit testing framework. more>>
Test::Unit is the main PerlUnit testing framework.
SYNOPSIS
This package provides only the project version number, copyright texts, and a framework overview in POD format.
This framework is intended to support unit testing in an object-oriented development paradigm (with support for inheritance of tests etc.) and is derived from the JUnit testing framework for Java by Kent Beck and Erich Gamma. To start learning how to use this framework, see Test::Unit::TestCase and Test::Unit::TestSuite. (There will also eventually be a tutorial in Test::Unit::Tutorial.
However Test::Unit::Procedural is the procedural style interface to a sophisticated unit testing framework for Perl that . Test::Unit is intended to provide a simpler interface to the framework that is more suitable for use in a scripting style environment. Therefore, Test::Unit does not provide much support for an object-oriented approach to unit testing.
<<lessSYNOPSIS
This package provides only the project version number, copyright texts, and a framework overview in POD format.
This framework is intended to support unit testing in an object-oriented development paradigm (with support for inheritance of tests etc.) and is derived from the JUnit testing framework for Java by Kent Beck and Erich Gamma. To start learning how to use this framework, see Test::Unit::TestCase and Test::Unit::TestSuite. (There will also eventually be a tutorial in Test::Unit::Tutorial.
However Test::Unit::Procedural is the procedural style interface to a sophisticated unit testing framework for Perl that . Test::Unit is intended to provide a simpler interface to the framework that is more suitable for use in a scripting style environment. Therefore, Test::Unit does not provide much support for an object-oriented approach to unit testing.
Download (0.31MB)
Added: 2007-05-07 License: Perl Artistic License Price:
900 downloads
Unit Circle 1.0.1
Unit Circle project shows the relationship between trigonometric and angles functions like sine and cosine. more>>
Unit Circle project shows the relationship between trigonometric and angles functions like sine and cosine. To do this, the program implements an interactive "unit circle" (radius = 1) diagram, where the user can click or drag to set angles and see how the values of trigonometric functions change accordingly.
The unit circle (where the radius equals 1) provides a very clear demonstration of how various trigonometric functions relate to angles and one another. Draw an angle line from the origin to a point on the circumphrence of the circle; the (x,y) coordinates of that point will will be the cosine and sine of the angle.
In Unit Circle, use the mouse to set the angle line by either clicking or dragging the pointer inside the diagram. Or, change the trigonmetric values in the fields, and the angle will automatically adjust.
The inspiration for this program was provided by my home-schooled daughters, who had difficulty understanding the nature of trigonometry. As an educational tool, Unit Circle has been a success, and it may evolve into a larger application for exploring other aspects of trigonometry and geometry.
<<lessThe unit circle (where the radius equals 1) provides a very clear demonstration of how various trigonometric functions relate to angles and one another. Draw an angle line from the origin to a point on the circumphrence of the circle; the (x,y) coordinates of that point will will be the cosine and sine of the angle.
In Unit Circle, use the mouse to set the angle line by either clicking or dragging the pointer inside the diagram. Or, change the trigonmetric values in the fields, and the angle will automatically adjust.
The inspiration for this program was provided by my home-schooled daughters, who had difficulty understanding the nature of trigonometry. As an educational tool, Unit Circle has been a success, and it may evolve into a larger application for exploring other aspects of trigonometry and geometry.
Download (0.10MB)
Added: 2006-01-09 License: GPL (GNU General Public License) Price:
1386 downloads
QUnitTester 0.2
QUnitTester is a Qt4 binary unit tester. more>>
QUnitTester is a Qt4 binary unit tester.
Everyone who uses JUnitTesting knows about the "green bar". Qt has great possibilities for Unit Testing but i missed the green bar.
If you want to know more about Unit Testing in Qt take a look at: http://doc.trolltech.com/4.2/qtestlib-manual.html
and http://doc.trolltech.com/4.2/qtestlib-tutorial.html
The software doesnt much yet. It only runs all tests...
INSTALL:
qmake (from qt 4, in (k)ubuntu for example qmake-qt4)
make
as root: make install
USAGE:
Write your testclass and compile it. Start the program and click on Test Binary...
Choose the compiled binary.
Click on start.
Enhancements:
- Possibility to use options
- Select test(s) to run
<<lessEveryone who uses JUnitTesting knows about the "green bar". Qt has great possibilities for Unit Testing but i missed the green bar.
If you want to know more about Unit Testing in Qt take a look at: http://doc.trolltech.com/4.2/qtestlib-manual.html
and http://doc.trolltech.com/4.2/qtestlib-tutorial.html
The software doesnt much yet. It only runs all tests...
INSTALL:
qmake (from qt 4, in (k)ubuntu for example qmake-qt4)
make
as root: make install
USAGE:
Write your testclass and compile it. Start the program and click on Test Binary...
Choose the compiled binary.
Click on start.
Enhancements:
- Possibility to use options
- Select test(s) to run
Download (0.027MB)
Added: 2007-04-08 License: GPL (GNU General Public License) Price:
929 downloads
units-filter 2.7
Units-filter is a basic standalone filter written in C, flex, and bison. more>>
Units-filter is a basic standalone filter written in C, flex, and bison.
It inputs strings like "1.5e3 nN.m.s^-1" (which could be the time growth ratio of a torque) and outputs the value in standard SI units, followed by the physical dimension of this value.
units-filter can be embedded in educational test systems, in order to analyze a students answer to a problem of physics or chemistry.
Enhancements:
- The support for quantities with a particular number of significative digits was added.
- For example, the entry "1.02m#5" or "1.0200m" are equivalent and signify a distance measurement precise at the sub-millimeter scale.
- Both would yield the output "1.0200e+00 m".
<<lessIt inputs strings like "1.5e3 nN.m.s^-1" (which could be the time growth ratio of a torque) and outputs the value in standard SI units, followed by the physical dimension of this value.
units-filter can be embedded in educational test systems, in order to analyze a students answer to a problem of physics or chemistry.
Enhancements:
- The support for quantities with a particular number of significative digits was added.
- For example, the entry "1.02m#5" or "1.0200m" are equivalent and signify a distance measurement precise at the sub-millimeter scale.
- Both would yield the output "1.0200e+00 m".
Download (0.016MB)
Added: 2007-06-30 License: GPL (GNU General Public License) Price:
846 downloads
Test::Unit::Tutorial 0.14
Test::Unit::Tutorial is a Perl module that contains a tutorial on unit testing. more>>
Test::Unit::Tutorial is a Perl module that contains a tutorial on unit testing.
SYNOPSIS
perldoc Test::Unit::Tutorial
Here should be extensive documentation on what unit testing is, why it is useful, and how to do it with the Test::Unit collection of modules.
Sorry for not implementing this yet.
Please have a look at the examples in the examples directory and read the README file that came with this distribution.
A short tutorial on how to use the unit testing framework is included in Test::Unit::TestCase.
Further examples can be found by looking at the self test collection, starting in Test::Unit::tests::AllTests.
<<lessSYNOPSIS
perldoc Test::Unit::Tutorial
Here should be extensive documentation on what unit testing is, why it is useful, and how to do it with the Test::Unit collection of modules.
Sorry for not implementing this yet.
Please have a look at the examples in the examples directory and read the README file that came with this distribution.
A short tutorial on how to use the unit testing framework is included in Test::Unit::TestCase.
Further examples can be found by looking at the self test collection, starting in Test::Unit::tests::AllTests.
Download (0.044MB)
Added: 2007-06-13 License: Perl Artistic License Price:
863 downloads
Test::Unit::TestCase 0.14
Test::Unit::TestCase is a unit testing framework base class. more>>
Test::Unit::TestCase is a unit testing framework base class.
SYNOPSIS
package FooBar;
use base qw(Test::Unit::TestCase);
sub new {
my $self = shift()->SUPER::new(@_);
# your state for fixture here
return $self;
}
sub set_up {
# provide fixture
}
sub tear_down {
# clean up after test
}
sub test_foo {
# test the foo feature
}
sub test_bar {
# test the bar feature
}
(Taken from the JUnit TestCase class documentation)
A test case defines the "fixture" (resources need for testing) to run multiple tests. To define a test case:
implement a subclass of TestCase
define instance variables that store the state of the fixture
initialize the fixture state by overriding set_up()
clean-up after a test by overriding tear_down().
Each test runs in its own fixture so there can be no side effects among test runs. Here is an example:
package MathTest;
use base qw(Test::Unit::TestCase);
sub new {
my $self = shift()->SUPER::new(@_);
$self->{value_1} = 0;
$self->{value_2} = 0;
return $self;
}
sub set_up {
my $self = shift;
$self->{value_1} = 2;
$self->{value_2} = 3;
}
For each test implement a method which interacts with the fixture. Verify the expected results with assertions specified by calling $self->assert() with a boolean value.
sub test_add {
my $self = shift;
my $result = $self->{value_1} + $self->{value_2};
$self->assert($result == 5);
}
Once the methods are defined you can run them. The normal way to do this uses reflection to implement run_test. It dynamically finds and invokes a method. For this the name of the test case has to correspond to the test method to be run. The tests to be run can be collected into a TestSuite. The framework provides different test runners, which can run a test suite and collect the results. A test runner either expects a method suite() as the entry point to get a test to run or it will extract the suite automatically.
If you do not like the rather verbose backtrace that appears when a test fails, you can use the quell_backtrace() method. You will get any message provided, but not the backtrace.
<<lessSYNOPSIS
package FooBar;
use base qw(Test::Unit::TestCase);
sub new {
my $self = shift()->SUPER::new(@_);
# your state for fixture here
return $self;
}
sub set_up {
# provide fixture
}
sub tear_down {
# clean up after test
}
sub test_foo {
# test the foo feature
}
sub test_bar {
# test the bar feature
}
(Taken from the JUnit TestCase class documentation)
A test case defines the "fixture" (resources need for testing) to run multiple tests. To define a test case:
implement a subclass of TestCase
define instance variables that store the state of the fixture
initialize the fixture state by overriding set_up()
clean-up after a test by overriding tear_down().
Each test runs in its own fixture so there can be no side effects among test runs. Here is an example:
package MathTest;
use base qw(Test::Unit::TestCase);
sub new {
my $self = shift()->SUPER::new(@_);
$self->{value_1} = 0;
$self->{value_2} = 0;
return $self;
}
sub set_up {
my $self = shift;
$self->{value_1} = 2;
$self->{value_2} = 3;
}
For each test implement a method which interacts with the fixture. Verify the expected results with assertions specified by calling $self->assert() with a boolean value.
sub test_add {
my $self = shift;
my $result = $self->{value_1} + $self->{value_2};
$self->assert($result == 5);
}
Once the methods are defined you can run them. The normal way to do this uses reflection to implement run_test. It dynamically finds and invokes a method. For this the name of the test case has to correspond to the test method to be run. The tests to be run can be collected into a TestSuite. The framework provides different test runners, which can run a test suite and collect the results. A test runner either expects a method suite() as the entry point to get a test to run or it will extract the suite automatically.
If you do not like the rather verbose backtrace that appears when a test fails, you can use the quell_backtrace() method. You will get any message provided, but not the backtrace.
Download (0.044MB)
Added: 2007-06-13 License: Perl Artistic License Price:
864 downloads
Test::Unit::InnerClass 0.14
Test::Unit::InnerClass is a unit testing framework helper class. more>>
Test::Unit::InnerClass is a unit testing framework helper class.
SYNOPSIS
This class is not intended to be used directly
This class is used by the framework to emulate the anonymous inner classes feature of Java. It is much easier to port Java to Perl using this class.
<<lessSYNOPSIS
This class is not intended to be used directly
This class is used by the framework to emulate the anonymous inner classes feature of Java. It is much easier to port Java to Perl using this class.
Download (0.044MB)
Added: 2007-06-13 License: Perl Artistic License Price:
863 downloads
Test::Unit::TestSuite 0.14
Test::Unit::TestSuite is a unit testing framework base class. more>>
Test::Unit::TestSuite is a unit testing framework base class.
SYNOPSIS
use Test::Unit::TestSuite;
# more code here ...
sub suite {
my $class = shift;
# create an empty suite
my $suite = Test::Unit::TestSuite->empty_new("A Test Suite");
# get and add an existing suite
$suite->add_test(Test::Unit::TestSuite->new("MyModule::Suite_1"));
# extract suite by way of suite method and add
$suite->add_test(MyModule::Suite_2->suite());
# get and add another existing suite
$suite->add_test(Test::Unit::TestSuite->new("MyModule::TestCase_2"));
# return the suite built
return $suite;
}
This class is normally not used directly, but it can be used for creating your own custom built aggregate suites.
Normally, this class just provides the functionality of auto-building a test suite by extracting methods with a name prefix of test from a given package to the test runners.
<<lessSYNOPSIS
use Test::Unit::TestSuite;
# more code here ...
sub suite {
my $class = shift;
# create an empty suite
my $suite = Test::Unit::TestSuite->empty_new("A Test Suite");
# get and add an existing suite
$suite->add_test(Test::Unit::TestSuite->new("MyModule::Suite_1"));
# extract suite by way of suite method and add
$suite->add_test(MyModule::Suite_2->suite());
# get and add another existing suite
$suite->add_test(Test::Unit::TestSuite->new("MyModule::TestCase_2"));
# return the suite built
return $suite;
}
This class is normally not used directly, but it can be used for creating your own custom built aggregate suites.
Normally, this class just provides the functionality of auto-building a test suite by extracting methods with a name prefix of test from a given package to the test runners.
Download (0.044MB)
Added: 2007-06-13 License: Perl Artistic License Price:
864 downloads
Test::Unit::TestRunner 0.14
Test::Unit::TestRunner is a unit testing framework helper class. more>>
Test::Unit::TestRunner is a unit testing framework helper class.
SYNOPSIS
use Test::Unit::TestRunner;
my $testrunner = Test::Unit::TestRunner->new();
$testrunner->start($my_testcase_class);
This class is the test runner for the command line style use of the testing framework.
It is used by simple command line tools like the TestRunner.pl script provided.
The class needs one argument, which is the name of the class encapsulating the tests to be run.
OPTIONS
-wait
wait for user confirmation between tests
-v
version info
<<lessSYNOPSIS
use Test::Unit::TestRunner;
my $testrunner = Test::Unit::TestRunner->new();
$testrunner->start($my_testcase_class);
This class is the test runner for the command line style use of the testing framework.
It is used by simple command line tools like the TestRunner.pl script provided.
The class needs one argument, which is the name of the class encapsulating the tests to be run.
OPTIONS
-wait
wait for user confirmation between tests
-v
version info
Download (0.044MB)
Added: 2007-06-13 License: Perl Artistic License Price:
864 downloads
Qalculate! Units 0.9.4
Qalculate! is a multi-purpose desktop calculator for GNU/Linux. more>>
Qalculate! is a multi-purpose desktop calculator for GNU/Linux. Qalculate! project is small and simple to use but with much power and versatility underneath.
Features include customizable functions, units, arbitrary precision, plotting, and a user-friendly interface (KDE or GTK+).
Main features:
- Redesigned GUI with history view in the main window
- Display of as-you-type expression parsing and function hints
- Enhanced completion
- Scaling of result display to vertically fit the window
- Nicer history listing
- Enhanced result display with much nicer parentheses
- Meta modes
- 67 new units: bel (B) and neper (Np), information units such as bit and byte, many convenience units (km/h, deciliter, etc), and more.
- Binary prefixes
- Some new variables and functions
- Fixed help display in new yelp
- Fixed compile with cln-1.1.10
- Fixed regressions in simplification
- Fixed f(x) return type analysis (ex. log(x) represents a real number if x represents a positive). This was by accident unused.
- ...and many more bug fixes and enhancements...
<<lessFeatures include customizable functions, units, arbitrary precision, plotting, and a user-friendly interface (KDE or GTK+).
Main features:
- Redesigned GUI with history view in the main window
- Display of as-you-type expression parsing and function hints
- Enhanced completion
- Scaling of result display to vertically fit the window
- Nicer history listing
- Enhanced result display with much nicer parentheses
- Meta modes
- 67 new units: bel (B) and neper (Np), information units such as bit and byte, many convenience units (km/h, deciliter, etc), and more.
- Binary prefixes
- Some new variables and functions
- Fixed help display in new yelp
- Fixed compile with cln-1.1.10
- Fixed regressions in simplification
- Fixed f(x) return type analysis (ex. log(x) represents a real number if x represents a positive). This was by accident unused.
- ...and many more bug fixes and enhancements...
Download (0.36MB)
Added: 2006-06-02 License: GPL (GNU General Public License) Price:
1240 downloads
Test::Unit::GTestRunner 0.04
Test::Unit::GTestRunner is a Unit testing framework helper class more>>
Test::Unit::GTestRunner is a Unit testing framework helper class
SYNOPSIS
use Test::Unit::GTestRunner;
Test::Unit::GTestRunner->new->start ($my_testcase_class);
Test::Unit::GTestRunner::main ($my_testcase_class);
If you just want to run a unit test (suite), try it like this:
gtestrunner "MyTestSuite.pm"
Try "perldoc gtestrunner" or "man gtestrunner" for more information.
This class is a GUI test runner using the Gimp Toolkit Gtk+ (which is called Gtk2 in Perl). You can use it if you want to integrate the testing framework into your own application.
For a description of the graphical user interface, please see gtestrunner(1).
<<lessSYNOPSIS
use Test::Unit::GTestRunner;
Test::Unit::GTestRunner->new->start ($my_testcase_class);
Test::Unit::GTestRunner::main ($my_testcase_class);
If you just want to run a unit test (suite), try it like this:
gtestrunner "MyTestSuite.pm"
Try "perldoc gtestrunner" or "man gtestrunner" for more information.
This class is a GUI test runner using the Gimp Toolkit Gtk+ (which is called Gtk2 in Perl). You can use it if you want to integrate the testing framework into your own application.
For a description of the graphical user interface, please see gtestrunner(1).
Download (0.062MB)
Added: 2006-07-17 License: Perl Artistic License Price:
1194 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above unit search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed