Main > Free Download Search >

Free tests for multiple sclerosis software for linux

tests for multiple sclerosis

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 5390
Test::Simple 0.70

Test::Simple 0.70


Test::Simple is a Perl module with basic utilities for writing tests. more>>
Test::Simple is a Perl module with basic utilities for writing tests.

SYNOPSIS

use Test::Simple tests => 1;

ok( $foo eq $bar, foo is bar );

** If you are unfamiliar with testing read Test::Tutorial first! **

This is an extremely simple, extremely basic module for writing tests suitable for CPAN modules and other pursuits. If you wish to do more complicated testing, use the Test::More module (a drop-in replacement for this one).
The basic unit of Perl testing is the ok. For each thing you want to test your program will print out an "ok" or "not ok" to indicate pass or fail. You do this with the ok() function (see below).

The only other constraint is you must pre-declare how many tests you plan to run. This is in case something goes horribly wrong during the test and your test program aborts, or skips a test or whatever. You do this like so:

use Test::Simple tests => 23;

You must have a plan.

ok
ok( $foo eq $bar, $name );
ok( $foo eq $bar );

ok() is given an expression (in this case $foo eq $bar). If its true, the test passed. If its false, it didnt. Thats about it.

ok() prints out either "ok" or "not ok" along with a test number (it keeps track of that for you).

# This produces "ok 1 - Hell not yet frozen over" (or not ok)
ok( get_temperature($hell) > 0, Hell not yet frozen over );

If you provide a $name, that will be printed along with the "ok/not ok" to make it easier to find your test when if fails (just search for the name). It also makes it easier for the next guy to understand what your test is for. Its highly recommended you use test names.

All tests are run in scalar context. So this:

ok( @stuff, I have some stuff );
will do what you mean (fail if stuff is empty)

Test::Simple will start by printing number of tests run in the form "1..M" (so "1..5" means youre going to run 5 tests). This strange format lets Test::Harness know how many tests you plan on running in case something goes horribly wrong.
If all your tests passed, Test::Simple will exit with zero (which is normal). If anything failed it will exit with how many failed. If you run less (or more) tests than you planned, the missing (or extras) will be considered failures. If no tests were ever run Test::Simple will throw a warning and exit with 255. If the test died, even after having successfully completed all its tests, it will still be considered a failure and will exit with 255.

So the exit codes are...
0 all tests successful
255 test died or all passed but wrong # of tests run
any other number how many failed (including missing or extras)

If you fail more than 254 tests, it will be reported as 254.

This module is by no means trying to be a complete testing system. Its just to get you started. Once youre off the ground its recommended you look at Test::More.

<<less
Download (0.076MB)
Added: 2007-05-04 License: Perl Artistic License Price:
903 downloads
Test::XML::Simple 0.09

Test::XML::Simple 0.09


Test::XML::Simple is an easy testing for XML. more>>
Test::XML::Simple is an easy testing for XML.

SYNOPSIS

use Test::XML::Simple tests=>5;
xml_valid $xml, "Is valid XML";
xml_node $xml, "/xpath/expression", "specified xpath node is present";
xml_is, $xml, /xpath/expr, "expected value", "specified text present";
xml_like, $xml, /xpath/expr, qr/expected/, "regex text present";
xml_is_deeply, $xml, /xpath/expr, $xml2, "structure and contents match";

# Not yet implemented:
# xml_like_deeply would be nice too...

Test::XML::Simple is a very basic class for testing XML. It uses the XPath syntax to locate nodes within the XML. You can also check all or part of the structure vs. an XML fragment.

<<less
Download (0.005MB)
Added: 2006-09-07 License: Perl Artistic License Price:
1142 downloads
FITpro for Eclipse 0.51

FITpro for Eclipse 0.51


FITpro for Eclipse allows easier creation of FIT tests and suites, more flexible test execution, and more. more>>
FITpro for Eclipse allows easier creation of FIT tests and suites, more flexible test execution, and more.
Main features:
- Create Fit tests in WYSWIG HTML Editor
- Create suites, ordered collections of Fit tests and sub-suites.
- Execute tests and suites.
- Link from tests to related fixtures.
- Insert Test Template into a Fit test, based on an existing fixture.
<<less
Download (2.9MB)
Added: 2007-08-06 License: Eclipse Public License Price:
811 downloads
Test::MultiFork 0.6

Test::MultiFork 0.6


Test::MultiFork is a test suite that has support for multi-process programs. more>>
Test::MultiFork is a test suite that has support for multi-process programs.

SYNOPSIS

use Test::MultiFork;

($name, $letter, $number) = procname([new name])
lockcommon()
@oldvalues = getcommon()
setcommon(@newvalues)
unlockcommon()

use Test::MultiFork qw(groupwait setgroup dofork stderr bail_on_bad_plan)

groupwait([$tag])
$oldgroup = setgroup([$newgroup])
dofork(fork_specification)

This test module is to support creating test suites for programs and modules that run as multiple processes and do mostly blocking I/O.

Test::MultiFork handles the forking so that it can set up each child to coordinate the output. The output from each child fork is redirected to the parent. Each fork produces normal test output -- possibly using normal test modules like Test::Simple. The output is collected and rewritten by the parent process.

Each child fork has a letter and number designation. The forks are created by dofork(). Dofork takes a specifiction on the form: ([a-z](d*))+. That is to say, one or more lower-case letters, each optionally followd by a number. The number says how many children to fork for that letter (default one). The specifier ab2c3 means have one a child (numbered 1); two b children (numbered 1, 2); and three c children (numbered 1, 2, 3).

To aid in writing tests, Test::MultiFork will pass data between the child processes. The data is test-writer defined.

<<less
Download (0.010MB)
Added: 2007-05-04 License: Perl Artistic License Price:
903 downloads
Test::Tail::Multi 0.03

Test::Tail::Multi 0.03


Test::Tail::Multi is a Perl module to execute code, monitor dynamic file contents. more>>
Test::Tail::Multi is a Perl module to execute code, monitor dynamic file contents.

SYNOPSIS

use Test::Tail::Multi files => [qw(file1 file2)] tests=>2;
# Can add files dynamically as well
add_file(file3, "decided to add file3 too");

# Execute a command and check against output
contents_like {system(my_command -my_args")} # Note no trailing comma!
qr/expected value/,
"got the expected output");

# if code to execute is undef, check against previously captured new content
contents_unlike undef, # trailing command REQUIRED
qr/unexpected text/,
"unexpected stuff not found in same text");

# Shorten the delay to 1 second.
delay(1, "Now a 1 second delay");
contents_like(sub {system(fast_command)}, # trailing comma in parens
qr/expected/,
"this command runs faster");

Test::Tail::Multi allows you to create tests or test classes that permit you to monitor the contents of one or more files a la < tail -f > using the nice File::Tail module. You can execute arbitrary code and then run tests versus the new content in the files.
If you choose, you can run multiple tests against the same content by passing undef as the code to be executed; Test::Tail::Multi will then reuse the contents it last extracted.

You can also adjust the delay time to be used to allow the code you called to "settle down" before checking the tails.

Test::Tail::Multi comes in handy for those testing jobs that require you to monitor several files at once to see whats happening in each one.

<<less
Download (0.005MB)
Added: 2006-12-18 License: Perl Artistic License Price:
1040 downloads
Test::WWW::Simple 0.24

Test::WWW::Simple 0.24


Test::WWW::Simple is a Perl module to test Web applications using TAP. more>>
Test::WWW::Simple is a Perl module to test Web applications using TAP.

SYNOPSIS

use Test::WWW::Simple;
# This is the default user agent.
user_agent(Windows IE 6);
page_like("http://yahoo.com", qr/.../, "check for expected text");
page_unlike("http://my.yahoo.com", qr/.../, "check for undesirable text");
user_agent(Mac Safari);
...

Test::WWW::Simple is a very basic class for testing Web applications and Web pages. It uses WWW::Mechanize to fetch pages, and Test::Builder to implement TAP (Test Anything Protocol) for the actual testing.

Since we use Test::Builder for the page_like and page_unlike routines, these can be integrated with the other standard Test::Builder-based modules as just more tests.

<<less
Download (0.012MB)
Added: 2006-12-18 License: Perl Artistic License Price:
1040 downloads
Test::LectroTest 0.3500

Test::LectroTest 0.3500


Test::LectroTest is a Perl module with easy, automatic, specification-based tests. more>>
Test::LectroTest is a Perl module with easy, automatic, specification-based tests.

SYNOPSIS

#!/usr/bin/perl -w

use MyModule; # contains code we want to test
use Test::LectroTest;

Property {
##[ x "my_function output is non-negative" ;

Property { ... }, name => "yet another property" ;

# more properties to check here

This module provides a simple (yet full featured) interface to LectroTest, an automated, specification-based testing system for Perl. To use it, declare properties that specify the expected behavior of your software. LectroTest then checks your software to see whether those properties hold.
Declare properties using the Property function, which takes a block of code and promotes it to a Test::LectroTest::Property:

Property {
##[ x "my_function output is non-negative" ;

The first part of the block must contain a generator-binding declaration. For example:

##[ x<<less
Download (0.053MB)
Added: 2007-02-21 License: Perl Artistic License Price:
975 downloads
Test::TestCoverage 0.05

Test::TestCoverage 0.05


Test::TestCoverage is Perl module to test if your test covers all public subroutines of the package. more>>
Test::TestCoverage is Perl module to test if your test covers all public subroutines of the package.

SYNOPSIS

use Test::TestCoverage;

test_coverage(My::Module);

my $obj = My::Module->new();
$obj->foo();
$obj->bar();

# test will be ok, assumed that My::Module has the subroutines new, foo and bar
ok_test_coverage(My::Module);

reset_test_coverage(My::Module);
reset_all_test_coverage();

test_coverage(My::Module);

my $obj = My::Method->new();
$obj->foo();

# test will be not ok, because bar is not invoked
ok_test_coverage(My::Module);

reset_test_coverage(My::Module);
reset_all_test_coverage();

test_coverage(My::Module);
test_coverage_except(My::Module,bar);

my $obj = My::Method->new();
$obj->foo();

# test will be ok, because bar is excepted of test
ok_test_coverage(My::Module);

If a module is written, the tests cover just a few subroutines of the module. This module aims to support the author in writing "complete" tests. If one of the "public" subroutines are missed in the testscript, the test ok_test_coverage will fail.

"private" subroutines are defined as subroutines that names begin with _ like _private_sub{...} and "public" is the opposite.

<<less
Download (0.004MB)
Added: 2007-05-07 License: Perl Artistic License Price:
900 downloads
Test::STD::PerlSTD 0.23

Test::STD::PerlSTD 0.23


Test::STD::PerlSTD is a general Perl Software Test Description (STD). more>>
Test::STD::PerlSTD is a general Perl Software Test Description (STD).

TITLE PAGE

Gerneral Software Test Description (STD)

for

Perl Program Modules

Revision: -

Date: 2004/05/15

Prepared for: General Public

Prepared by: http://www.SoftwareDiamonds.com support@SoftwareDiamonds.com

Classification: None

1. Scope

This general Software Test Decription (STD) for a Perl Program Module (PM). Together with a detail STD for a Perl Program Module it establishes the tests to verify the requirements of specific Perl Program Module (PM).

In order to avoid duplications (i.e boiler plates), the Perl STD is divided into this general Perl STD and a detail STD for each program module test. This is encourage if not in fact required by 490A 3.1.2

<<less
Download (0.12MB)
Added: 2007-01-08 License: Perl Artistic License Price:
1020 downloads
Multiple Tab Handler 0.4.2009072001

Multiple Tab Handler 0.4.2009072001


Multiple Tab Handler is an excellent and very useful program which provides features to handle multiple tabs at once, for example, close them, reload them, and so on. more>>

Multiple Tab Handler 0.4.2009072001 is an excellent and very useful program which provides features to handle multiple tabs at once, for example, close them, reload them, and so on. When you press the mouse button and drag over tabs, they are selected. After you release the button, the popup to choose command will be shown. Of course, you can toggle selection by Ctrl-click on each tab and call features from the context menu. The behavior looks like Excel.

This includes "Duplicate Tab", "Close All Tabs", "Close Left Tabs", "Close Right Tabs", "Copy URL" and "Close Similar Tabs" features. This is developed under a project to restructure TBE for Firefox 2.

Major Features:

  1. Select tabs, and choose a command. This is the simple usecase. If you want tabs to be rearranged, please drag the favicon of tabs.
  2. If you don't like the behavior of tabs, you can change it. "Move tab (Firefox default)", "select tab (Multiple Tab Handler default)" or "switch tab (iRider compatible)" is available.
  3. You can select/unselect tabs by ctrl-click or shift-click, like as cells of Excel.
  4. Selecting of closeboxes can close tabs directly. (iRider compatibility)
  5. This includes "Close Left Tabs" and "Close Right Tabs" features. You can use them from the context menu of tabs.
  6. With version 0.4 or later, you can add custom formats for the feature "copy URIs of selected tabs".

Enhancements: Improved: Formats of copied texts becomes customizable.

<<less
Added: 2009-07-23 License: MPL Price: FREE
1 downloads
Test-Parser 1.2

Test-Parser 1.2


Test::Parser is a collection of parsers for different test output file formats. more>>
Test::Parser is a collection of parsers for different test output file formats. These parse the data into a general purpose data structure that can then be used to create reports, do post-processing analysis, etc.

Test-Parser can also export tests in SpikeSources TRPI test description XML language.

<<less
Download (0.053MB)
Added: 2006-05-04 License: GPL (GNU General Public License) Price:
1268 downloads
Test::More 0.70

Test::More 0.70


Test::More is yet another framework for writing test scripts. more>>
Test::More is yet another framework for writing test scripts.

SYNOPSIS

use Test::More tests => 23;
# or
use Test::More qw(no_plan);
# or
use Test::More skip_all => $reason;

BEGIN { use_ok( Some::Module ); }
require_ok( Some::Module );

# Various ways to say "ok"
ok($got eq $expected, $test_name);

is ($got, $exptected, $test_name);
isnt($got, $expected, $test_name);

# Rather than print STDERR "# heres what went wrongn"
diag("heres what went wrong");

like ($got, qr/expected/, $test_name);
unlike($got, qr/expected/, $test_name);

cmp_ok($got, ==, $expected, $test_name);

is_deeply($got_complex_structure, $expected_complex_structure, $test_name);

SKIP: {
skip $why, $how_many unless $have_some_feature;

ok( foo(), $test_name );
is( foo(42), 23, $test_name );
};

TODO: {
local $TODO = $why;

ok( foo(), $test_name );
is( foo(42), 23, $test_name );
};

can_ok($module, @methods);
isa_ok($object, $class);

pass($test_name);
fail($test_name);

BAIL_OUT($why);

# UNIMPLEMENTED!!!
my @status = Test::More::status;

STOP! If youre just getting started writing tests, have a look at Test::Simple first. This is a drop in replacement for Test::Simple which you can switch to once you get the hang of basic testing.

The purpose of this module is to provide a wide range of testing utilities. Various ways to say "ok" with better diagnostics, facilities to skip tests, test future features and compare complicated data structures. While you can do almost anything with a simple ok() function, it doesnt provide good diagnostic output.

<<less
Download (0.076MB)
Added: 2007-05-04 License: Perl Artistic License Price:
540 downloads
Test::Unit::TestRunner 0.14

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

<<less
Download (0.044MB)
Added: 2007-06-13 License: Perl Artistic License Price:
864 downloads
Test::Class 0.24

Test::Class 0.24


Test::Class is a Perl module that allows you to easily create test classes in an xUnit/JUnit style. more>>
Test::Class is a Perl module that allows you to easily create test classes in an xUnit/JUnit style.

SYNOPSIS

package Example::Test;
use base qw(Test::Class);
use Test::More;

# setup methods are run before every test method.
sub make_fixture : Test(setup) {
my $array = [1, 2];
shift->{test_array} = $array;
};

# a test method that runs 1 test
sub test_push : Test {
my $array = shift->{test_array};
push @$array, 3;
is_deeply($array, [1, 2, 3], push worked);
};

# a test method that runs 4 tests
sub test_pop : Test(4) {
my $array = shift->{test_array};
is(pop @$array, 2, pop = 2);
is(pop @$array, 1, pop = 1);
is_deeply($array, [], array empty);
is(pop @$array, undef, pop = undef);
};

# teardown methods are run after every test method.
sub teardown : Test(teardown) {
my $array = shift->{test_array};
diag("array = (@$array) after test(s)");
};
later in a nearby .t file
#! /usr/bin/perl
use Example::Test;

# run all the test methods in Example::Test
Test::Class->runtests;

Outputs:

1..5
ok 1 - pop = 2
ok 2 - pop = 1
ok 3 - array empty
ok 4 - pop = undef
# array = () after test(s)
ok 5 - push worked
# array = (1 2 3) after test(s)

<<less
Download (0.046MB)
Added: 2007-06-13 License: Perl Artistic License Price:
863 downloads
Test::Parser 1.1

Test::Parser 1.1


Test::Parser is a collection of parsers for different test output file formats. more>>
Test::Parser is a collection of parsers for different test output file formats.
These parse the data into a general purpose data structure that can then be used to create reports, do post-processing analysis, etc.
Test::Parser can also export tests in SpikeSources TRPI test description XML language.
Installation:
To install the script and man pages in the standard areas, give the sequence of commands
$ perl Makefile.PL
$ make
$ make test
$ make install # you probably need to do this step as superuser
If you want to install the script in your own private space, use
$ perl Makefile.PL PREFIX=/home/joeuser
INSTALLMAN1DIR=/home/joeuser/man/man1
INSTALLMAN3DIR=/home/joeuser/man/man3
$ make
$ make test
$ make install # can do this step as joeuser
Note that `make test` does nothing interesting.
Enhancements:
- This release improves the LTP parser and adds a parse_ltp script that prints a tabular summary of the PASS/FAILs of test cases.
<<less
Download (0.044MB)
Added: 2006-04-07 License: GPL (GNU General Public License) Price:
1295 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5