Testar 1.0
Sponsored Links
Testar 1.0 Ranking & Summary
File size:
0.11 MB
Platform:
Any Platform
License:
The Apache License 2.0
Price:
Downloads:
1150
Date added:
2006-08-31
Publisher:
Mikhail Dmitriev
Testar 1.0 description
Testar is a tool designed to reduce the time spent running Java unit tests.
Additionally, Testar allows you to find out which methods a given test covers, and vice versa.
How it works:
The first time Testar is invoked, it runs all tests in JUnit test suite(s) given to it, and for each testXXX() method records code coverage information: what application methods are exercised (covered) by this test. This information, along with checksums for application/test classes and methods is saved into the Test Database (TDB).
On subsequent invocations, Testar finds out (using the saved checksums) what classes and methods you have changed. Based on this data, it selects for running only those tests that exercise the updated code. It is assumed that other tests, that passed before, will pass again, since nothing has changed in the code that they exercise. Of course, if any test didnt pass before, or if a test is new, Testar will run it unconditionally.
The above algorithm implies that all the (changeable) input for the tests is in the test code. If your tests depend on input from other sources, e.g. resource files, you should give Testar names of these files. When such a file changes, Testar will rerun all or selected tests, depending on additional options that you may specify.
How much time does it save?
Time savings may vary depending, equally importantly, on:
The amount of changes to the code
How "popular" is the piece of code you have changed
How much code each test covers
How many tests there are in your suite(s)
Generally, the smaller your changes are (or the more frequently you run Testar), and the more tests you have, the bigger are the relative savings. On the other hand, if there are some method(s) in your application that are exercised by all or most of the tests, any change to such a method will cause all these tests to rerun. That said, in practice for large applications the author has observed an average 60-70 per cent reduction in time to run tests.
How do I use it?
To use Testar, you will have to add the following options to the command line that invokes your test suite:
-javaagent:< Path to Testar.jar >=< Testar options >
For example, if normally you invoke your test suite as
java -classpath junit.jar:MyApp.jar junit.textui.TestRunner myapp.MyAppTests
you should modify the above line, at a minimum, as follows:
java -javaagent:Testar.jar=tdb=testar.tdb
-classpath junit.jar:MyApp.jar junit.textui.TestRunner myapp.MyAppTests
where the tdb option specifies the name of the Testar DB file, in which the tool will keep the information about your tests code coverage.
Below is the list of all Testar options (to pass multiple options to the tool, specify them as option1=value1,option2=value2,...).
Additionally, Testar allows you to find out which methods a given test covers, and vice versa.
How it works:
The first time Testar is invoked, it runs all tests in JUnit test suite(s) given to it, and for each testXXX() method records code coverage information: what application methods are exercised (covered) by this test. This information, along with checksums for application/test classes and methods is saved into the Test Database (TDB).
On subsequent invocations, Testar finds out (using the saved checksums) what classes and methods you have changed. Based on this data, it selects for running only those tests that exercise the updated code. It is assumed that other tests, that passed before, will pass again, since nothing has changed in the code that they exercise. Of course, if any test didnt pass before, or if a test is new, Testar will run it unconditionally.
The above algorithm implies that all the (changeable) input for the tests is in the test code. If your tests depend on input from other sources, e.g. resource files, you should give Testar names of these files. When such a file changes, Testar will rerun all or selected tests, depending on additional options that you may specify.
How much time does it save?
Time savings may vary depending, equally importantly, on:
The amount of changes to the code
How "popular" is the piece of code you have changed
How much code each test covers
How many tests there are in your suite(s)
Generally, the smaller your changes are (or the more frequently you run Testar), and the more tests you have, the bigger are the relative savings. On the other hand, if there are some method(s) in your application that are exercised by all or most of the tests, any change to such a method will cause all these tests to rerun. That said, in practice for large applications the author has observed an average 60-70 per cent reduction in time to run tests.
How do I use it?
To use Testar, you will have to add the following options to the command line that invokes your test suite:
-javaagent:< Path to Testar.jar >=< Testar options >
For example, if normally you invoke your test suite as
java -classpath junit.jar:MyApp.jar junit.textui.TestRunner myapp.MyAppTests
you should modify the above line, at a minimum, as follows:
java -javaagent:Testar.jar=tdb=testar.tdb
-classpath junit.jar:MyApp.jar junit.textui.TestRunner myapp.MyAppTests
where the tdb option specifies the name of the Testar DB file, in which the tool will keep the information about your tests code coverage.
Below is the list of all Testar options (to pass multiple options to the tool, specify them as option1=value1,option2=value2,...).
Testar 1.0 Screenshot
Testar 1.0 Keywords
Unit tests
to reduce
time spent
Testar 1.0
Designed To
testar
tests
test
time
code
java
Testar 1.0
Quality Assurance and Testing
Programming
Bookmark Testar 1.0
Testar 1.0 Copyright
WareSeeker periodically updates pricing and software information of Testar 1.0 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Testar 1.0 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
JsTester allows validation of JavaScript code inside Java. Free Download
classes::Test are functions to help with classes pragma testing. Free Download
Test::Tester::CaptureRunner is a Perl module that provides help testing test modules built with Test::Builder. Free Download
UMMF::Export::Java is a code generator for JavaTemplate. Free Download
Test::Unit::tests::AllTests is a unit testing framework self tests. Free Download
Get at www.ePlanetLabs.com Teradata NCR Exam NR0-011, certification, exam, materials, , Braindumps sample questions, sample tests, paper, papers, self study, study guide, book, books, tips, tutorials, tips, tricks, faq, tests, training, tests, papers, test questions, test kit, testking, test king, whizlabs, tutorial, tutorials, free, pdf, training, NR0-011 NCR Teradata Basics V2R5, Free Download
Get at www.ePlanetLabs.com IBM Lotus Exam 190-620, certification, exam, materials, , Braindumps sample questions, sample tests, paper, papers, self study, study guide, book, books, tips, tutorials, tips, tricks, faq, tests, training, tests, papers, test questions, test kit, testking, test king, whizlabs, tutorial, tutorials, free, pdf, training, 190-620 Lotus Notes Domino 6 System Administration Operating Fundementals, Free Download
Get at www.ePlanetLabs.com IBM Lotus Exam 190-831, certification, exam, materials, , Braindumps sample questions, sample tests, paper, papers, self study, study guide, book, books, tips, tutorials, tips, tricks, faq, tests, training, tests, papers, test questions, test kit, testking, test king, whizlabs, tutorial, tutorials, free, pdf, training, 190-831 Lotus Developing Web Sites using IBM Workplace Web Content Management, Free Download
Latest Software
- Microsoft Exam 70-294 Guide is Free 9.0
- Juniper Networks JN0-320 Guide is Free 9.0
- LPI Linux LPIC 117-202 Guide is Free 9.0
- Linux LPI Exam 117-101 Guide is Free 9.0
- Nortel VoIP Exam 920-140 Guide is Free 9.0
- Novell ZENworks 50-694 Guide is Free 9.0
- Cisco Exam 642-831 Guide is Free 9.0
- Microsoft Exam 70-549 Guide is Free 9.0
Popular Software
- HP OpenView Exam HP0-633 Guide is Free 9.0
- CISSP Certification Exam Guide 9.0
- Juniper Exam JN0-120 Guide is Free 9.0
- HP SAN Exam HP0-236 Guide is Free 9.0
- Novell NetWare Exam 50-686 Guide is Free 9.0
- Nortel Exam 920-803 Guide is Free 9.0
- OMG UML Exam UM0-200 Guide is Free 9.0
- Microsoft Exam 70-431 Guide is Free 9.0
Favourite Software
- Foundry Certification Exam Guide 9.0
- HP HP-UX Exam HP0-092 Guide is Free 9.0
- Juniper Exam JN0-561 Guide is Free 9.0
- JBoss Certification Exam Guide is Free 9.0
- IBM WebSphere Exam 285 Guide is Free 9.0
- Oracle 9i Exam 1Z0-007 Guide is Free 9.0
- Microsoft Navision Exam MB7-222 Guide 9.0
- Cisco Exam 642-871 Guide is Free 9.0