Main > Free Download Search >

Free tests for diabetes software for linux

tests for diabetes

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 3256
Test::Pod::Snippets 0.02

Test::Pod::Snippets 0.02


Test::Pod::Snippets is a Perl module to generate tests from pod code snippets. more>>
Test::Pod::Snippets is a Perl module to generate tests from pod code snippets.

SYNOPSIS

use Test::Pod::Snippets;

my $tps = Test::Pod::Snippets->new();
$tps->generate_snippets( @pm_and_pod_files );

Fact 1

In a perfect world, a modules full API should be covered by an extensive battery of testcases neatly tucked in the distributions t/ directory. But then, in a perfect world each backyard would have a marshmallow tree and postmen would consider their duty to circle all the real good deals in pamphlets before stuffing them in your mailbox. Obviously, were not living in a perfect world.

Fact 2

Typos and minor errors in module documentation. Lets face it: it happens to everyone. And while its never the end of the world and is prone to rectify itself in time, its always kind of embarassing. A little bit like electronic zits on prepubescent docs, if you will.

Test::Pod::Snippetss goal is to address those issues. Quite simply, it extracts verbatim text off pod documents -- which it assumes to be code snippets -- and generate test files out of them.

HOW TO USE TEST::POD::SNIPPETS IN YOUR DISTRIBUTION

If you are using Module::Build, add the following to your Build.PL:

my $builder = Module::Build->new(
# ... your M::B parameters
PL_files => { script/test-pod-snippets.PL => q{} },
add_to_cleanup => [ t/pod-snippets-*.t ],
);

Then create the file script/test-pod-snippets.PL, which should contains

use Test::Pod::Snippets;

my $tps = Test::Pod::Snippets->new;

$tps->generate_snippets( qw#
lib/your/module.pm
lib/your/documentation.pod
#);

And youre set! Running Build should now generate one test file for each given module.

If you prefer to generate the tests yourself, skip the modifications to Build.PL and call test-pod-snippets.PL from the distributions main directory.

<<less
Download (0.006MB)
Added: 2007-05-04 License: Perl Artistic License Price:
904 downloads
Test::Signature 1.06

Test::Signature 1.06


Test::Signature is a Perl module to automate SIGNATURE testing. more>>
Test::Signature is a Perl module to automate SIGNATURE testing.

SYNOPSIS

# This is actually the t/00signature.t
# file from this distribution.
use Test::More tests => 1;
use Test::Signature;

signature_ok();

ABSTRACT

Test::Signature verifies that the Module::Signature generated signature of a module is correct.

Module::Signature allows you to verify that a distribution has not been tampered with. Test::Signature lets that be tested as part of the distributions test suite.
By default, if Module::Signature is not installed then it will just say so and not fail the test. That can be overridden though.

IMPORTANT: This is not a substitute for the users verifying the distribution themselves. By the time this module is run, the users will have already run your Makefile.PL or Build.PL scripts which could have been compromised.
This module is more for ensuring youve updated your signature appropriately before distributing, and for preventing accidental errors during transmission or packaging.

<<less
Download (0.016MB)
Added: 2007-05-04 License: Perl Artistic License Price:
903 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-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::Singleton 1.03

Test::Singleton 1.03


Test::Singleton is a test for Singleton classes. more>>
Test::Singleton is a test for Singleton classes.

SYNOPSIS

use Test::More tests => 1;
use Test::Singleton;
is_singleton( "Some::Class", "new", "instance" );

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

This is asimple, basic module for checking whether a class is a Singleton. A Singleton describes an object class that can have only one instance in any system. An example of a Singleton might be a print spooler or system registry, or any kind of central dispatcher.

For a description and discussion of the Singleton class, see "Design Patterns", Gamma et al, Addison-Wesley, 1995, ISBN 0-201-63361-2.

<<less
Download (0.025MB)
Added: 2007-03-12 License: Perl Artistic License Price:
956 downloads
Test::Fixme 0.01

Test::Fixme 0.01


Test::Fixme is a Perl module to check code for FIXMEs. more>>
Test::Fixme is a Perl module to check code for FIXMEs.

SYNOPSIS

# In a test script like t/test-fixme.t
use Test::Fixme;
run_tests();

# You can also tailor the behaviour.
use Test::Fixme;
run_tests( where => lib, # where to find files to check
match => TODO, # what to check for
skip_all => $ENV{SKIP} # should all tests be skipped
);

When coding it is common to come up against problems that need to be addressed but that are not a big deal at the moment. What generally happens is that the coder adds comments like:

# FIXME - what about windows that are bigger than the screen?

# FIXME - add checking of user priviledges here.

Test::Fixme allows you to add a test file that ensures that none of these get forgotten in the module.

Arguments

By default run_tests will search for FIXME in all the files it can find in the project. You can change these defaults by using where or match as follows:

run_tests( where => lib, # just check the modules.
match => TODO # look for things that are not done yet.
);

<<less
Download (0.005MB)
Added: 2007-05-04 License: Perl Artistic License Price:
904 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
Test::Deep 0.096

Test::Deep 0.096


Test::Deep is a Perl module for extremely flexible deep comparison. more>>
Test::Deep is a Perl module for extremely flexible deep comparison.

SYNOPSIS

use Test::More tests => $Num_Tests;
use Test::Deep;

cmp_deeply(
$actual_horrible_nested_data_structure,
$expected_horrible_nested_data_structure,
"got the right horrible nested data structure"
);

cmp_deeply(
$object,
methods(name => "John", phone => "55378008"),
"object methods ok"
);

cmp_deeply(
@array,
[$hash1, $hash2, ignore(
"first 2 elements are as expected, ignoring 3"
);

cmp_deeply(
$object,
noclass({value => 5}),
"object looks ok, not checking its class"
);

cmp_deeply(
@result,
bag(a, b, {key => [1, 2]}),
"array has the 3 things we wanted in some order"
);

If you dont know anything about automated testing in Perl then you should probably read about Test::Simple and Test::More before preceding. Test::Deep uses the Test::Builder framework.

Test::Deep gives you very flexible ways to check that the result you got is the result you were expecting. At its simplest it compares two structures by going through each level, ensuring that the values match, that arrays and hashes have the same elements and that references are blessed into the correct class. It also handles circular data structures without getting caught in an infinite loop.
Where it becomes more interesting is in allowing you to do something besides simple exact comparisons. With strings, the eq operator checks that 2 strings are exactly equal but sometimes thats not what you want. When you dont know exactly what the string should be but you do know some things about how it should look, eq is no good and you must use pattern matching instead. Test::Deep provides pattern matching for complex data structures.

<<less
Download (0.030MB)
Added: 2007-07-02 License: Perl Artistic License Price:
844 downloads
Test::C2FIT 0.07

Test::C2FIT 0.07


Test::C2FIT is a direct Perl port of Ward Cunninghams FIT acceptance test framework for Java. more>>
Test::C2FIT is a direct Perl port of Ward Cunninghams FIT acceptance test framework for Java.

SYNOPSIS

FileRunner.pl input_containing_fit_tests.html test_results.html

perl -MTest::C2FIT -e file_runner input_containing_fit_tests.html test_results.html

perl -MTest::C2FIT -e fit_shell

Great software requires collaboration and communication. Fit is a tool for enhancing collaboration in software development. Its an invaluable way to collaborate on complicated problems - and get them right - early in development.

Fit allows customers, testers, and programmers to learn what their software should do and what it does do. It automatically compares customers expectations to actual results.

This port of FIT has a featureset equivalent to v1.1 of FIT. Dave W. Smiths original port was based on fit-b021021j and Ive updated most of the core to match the 1.1 version.

This port passes the current FIT spec and also implements a all of the examples.

The following functions are provided (and exported) by this module:
file_runner($infile,$outfile)

Process a FIT-document contained in $infile and writes the result to $outfile.
wiki_runer($infile,$outfile)

Same as file_runner, except that not < table >, < tr > and < td > but < wiki >, < table >, < tr > and < td > is searched for in the input document.

fit_shell

Creates an interactive shell from which you can easily run tests. Start it and enter "help" for more information.

Suppose, your tests-related files reside in a directory with three subdirectories: input - where the files come from, output - where the results will be written to and lib - where your fixtures reside, all you need to do is just to enter "runall"

Logging

The file_runner and wiki_runner support filtering of warn messages, similar to javas common logging. To change the log level, use the -L parameter, e.g.:

perl -MTest::C2FIT -e file_runner -- -L 1 input_containing_fit_tests.html test_results.html

There are following log levels defined: 0 - trace, 1 - debug, 2 - info, 3 - warn, 4 - error, 5 - fatal.

In your code, simply use warn "message" if it should be printed out unconditionally or warn 1, " message" if it should be printed out, when log level is either TRACE or DEBUG.

Naming, Namespace(s)

In your FIT-documents, please use the java-style dot-notation for qualifying package names. E.g. if you want the package Domain::Object::Simple to be used, specify it by entering Domain.Object.Simple into your fit document.
Package names should be fully qualified, case is importat. Special care is taken on the fit.* packages, these can be specified either by fit.Name as well as Test.C2FIT.Name.

<<less
Download (0.26MB)
Added: 2007-06-07 License: Perl Artistic License Price:
869 downloads
Test::Resub 1.02

Test::Resub 1.02


Test::Resub is a lexically scoped subroutine replacement for testing. more>>
Test::Resub is a lexically scoped subroutine replacement for testing.

SYNOPSIS

#!/usr/bin/perl

use Test::More tests => 4;
use Test::Resub qw(resub);

{
package Somewhere;
sub show {
my ($class, $message) = @_;
return "$class, $message";
}
}

# sanity
is( Somewhere->show(beyond the sea), Somewhere, beyond the sea );

# scoped replacement of subroutine with argument capturing
{
my $rs = resub Somewhere::show, sub { hi }, capture => 1;
is( Somewhere->show(over the rainbow), hi );
is_deeply( $rs->method_args, [[over the rainbow]] );
}

# scope ends, resub goes away, original code returns
is( Somewhere->show(waiting for me), Somewhere, waiting for me );

This module allows you to temporarily replace a subroutine/method with arbitrary code. Later, you can tell how many times was it called and with what arguments each time. You can also specify that the subroutine/method must get called, must not get called, or may be optionally called.

<<less
Download (0.014MB)
Added: 2007-07-13 License: Perl Artistic License Price:
833 downloads
Test::XML::Order 0.04

Test::XML::Order 0.04


Test::XML::Order is a Perl module to compare the order of XML tags in perl tests. more>>
Test::XML::Order is a Perl module to compare the order of XML tags in perl tests.

SYNOPSIS

use Test::XML::Order tests => 3;
is_xml_in_order( , ); # PASS
is_xml_in_order( , ); # FAIL
isnt_xml_in_order( , ); # PASS

This module contains generic XML testing tools. See below for a list of other modules with functions relating to specific XML modules.

FUNCTIONS

is_xml_in_order ( GOT, EXPECTED [, TESTNAME ] )

This function compares GOT and EXPECTED, both of which are strings of XML. The comparison works only on the order of the tags, attributes are ignored.

Returns true or false, depending upon test success.

isnt_xml_in_order( GOT, MUST_NOT_BE [, TESTNAME ] )

This function is similar to is_xml_in_order(), except that it will fail if GOT and MUST_NOT_BE have elements in the same order.

NOTES

Please note the following about Test::XML::Order.

The package does not check that the input is well formed XML. You should use Test::XML or a similar package if you want to make sure the XML is well formed.
Only the order of tags are checked, so

is_xml_in_order(< a a="b"/ >x< b >< /b >, < a/ >< b a="c" >asdf< /b >);

passes as the inputs have the same order: < a/ >< b/ >.

The tree structure is tested so the the test below passes.

isnt_xml_in_order(< a >< b/ >< /a >, < a/ >< b/ >);

<<less
Download (0.005MB)
Added: 2007-05-07 License: Perl Artistic License Price:
901 downloads
TAHI Test Suite 4.0.3 (MIPv6)

TAHI Test Suite 4.0.3 (MIPv6)


TAHI Test Suite provides a mechanism for validating an IPv6 implementation against a standardized test. more>>
TAHI Test Suite provides a mechanism for validating an IPv6 implementation against a standardized test for conformance to the IPv6 specification, extensions and directly related protocols.
TAHI Project is the joint effort formed with the objective of developing and providing the verification technology for IPv6.
The growth process of IPv4 was the history of encountering various kinds of obstacles and conquering such obstacles. However, once the position as infrastructure was established, it is not allowed to repeat the same history. This is a reason why the verification technology is essential for IPv6 deployment.
We research and develop conformance tests and interoperability tests for IPv6.
We closely work with the KAME project and USAGI project. We help activities of them in the quality side by offering the verification technology we develop in the TAHI project and improve the development efficiency.
We open the results and fruits of the project to the public for FREE. Any developer concerned with IPv6 can utilize the results and fruits of TAHI project freely. A free software plays an important role in progress of the Internet. We believe that providing the verification technology for FREE contributes to advances of IPv6. Besides the programs, the specifications and criteria of verification will be included in the Package.
Enhancements:
- This release extends the tests in the specification and code.
- There are assorted minor bugfixes.
<<less
Download (0.35MB)
Added: 2006-11-23 License: BSD License Price:
1067 downloads
 
Other version of TAHI Test Suite
TAHI Test Suite 3.0.12 (IPv6 Conformance Test Tool)12 (IPv6 Conformance Test Tool) TAHI Test Suite project provides a mechanism for validating ... TAHI Test Suite project provides a mechanism for validating an IPv6 implementation against a
License:BSD License
Download (0.40MB)
877 downloads
Added: 2007-06-04
TAHI Test Suite 3.0.4TAHI Test Suite provides a mechanism for validating an IPv6 implementation. TAHI Test Suite 3 ... mechanism for validating an IPv6 implementation against a standardized test for conformance
License:BSD License
Download (0.40MB)
1409 downloads
Added: 2005-12-14
TAHI Test Suite 1.4.8 (Self-Test Test Suite)mechanism for validating an IPv6 implementation. TAHI Test Suite 1.4.8 (Self-Test Test Suite ... mechanism for validating an IPv6 implementation against a standardized test for conformance
License:BSD License
Download (0.63MB)
851 downloads
Added: 2007-06-28
TAHI Test Suite 0.9.6 (NEMO)mechanism for validating an IPv6 implementation against a standardized test. mechanism for validating an IPv6 implementation against a standardized test for conformance
License:BSD License
Download (1.5MB)
1065 downloads
Added: 2006-11-23
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
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
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5