|
|
 |
|
 |
|
| Home > p-unit |
p-unit
|
|
| Descriptions: |
p-unit p-unit is an open source framework for... |
| Download: |
Free Download (2.6 MB) |
| License: |
GPL |
| Downloads: |
35 |
| Requirement: |
Windows All / Unix |
| Date Added: |
Apr 18, 2009 |
|
p-unit is an open source framework for performance benchmark and unit test p-unit is an open source framework for performance benchmark and unit test, which supports to run the same tests solo or concurrently, generates the result in the form of plain text, image or pdf file and tracks memory and time consumption.Test Suite and Test ClassTest 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 don't 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 Recordp-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. By default, time watcher is enabled. If you want to watch memory consumption, you need to add one line code: runner.methodRunner().addWatcher(new MemoryWatcher());Concurrentp-unit supports to run the test concurrently. How to write it? You DON'T need to write anything about concurrent in your test - just the same as a normal test. You only need to use p-unitConcurrentRunner to run your test concurrently. For more detail, please refer to Runner.RunnerRunner is the core concept of p-unit. You need a runner to run your test. By default, there are two different runners - solo runner and concurrent runner, so that one test can be executed solo and concurrently. Is it complex to launch a runner? ONE line code: new SoloRunner().run(MyTest.class); or new ConcurrentRunner().run(MyTest.class);By default, p-unitConcurrentRunner starts up 10 threads to execute the test method. You can configure it in the constructor of p-unitConcurrentRunner(int threadCount), and you can even do fine control in your test class. If you need to execute different test class with different thread count, you only need to implement Concurrent interface for your test, which requires to return concurrentCount.
|
|
Related Terms |
What is IT?
Impulse Tracker |
| Related Codecs |
 |
|
| AC-3 ACM Decompressor |
| Dolby Digital AC-3 decoding for Windows ACM. Install this and you can convert/decompress AC3 audio directly to WAV/MP3 using VirtualDub. |
|
| Spdifer |
| Spdifer is a DirectShow filter that allows media players to passthrough multi-channel sound to the digital (SPDIF) output without any change. |
|
| AC3 Filter |
| AC3Filter is high quality freeware DirectShow audio decoder and processor filter used to decode audio tracks in movies (DVD, MPEG4 and others). |
|
| AC3File |
| AC3File is DirectShow AC3 and DTS file source filter. Required to playback raw AC3 and DTS files. |
|
| AC3Filter.ACM |
| AC3Filter.ACM is ACM decoder that allows any VFW application to play .AVI with AC3 or DTS audio tracks. |
|
|
|
|
 |
|
 |
|
 |
|
 |
|
| Related software |
 |
|
| p-unit |
2.6 MB |
| p-unit p-unit is an open source framework for performance benchmark and unit test |
|
| Excel Unit Conversion Addin |
5.20 MB $ 30 |
| Unit Conversion Add-in for Excel that understand any unit of measure |
|
| Das Unit Converter |
4.02 MB |
| With over 1300 units, 60 categories, and with the ability to add more (units and categories), you may never need to use an online converter or a search engine for unit conversions ever again! |
|
| Unit Converter for Excel |
1.02 MB $ 24 |
| Excel addin to convert measurement units. |
|
| Yes AntiVirus Tool Netsky P |
356 KB |
| a free utility that removes automatically the virus netsky-p from the infected computer |
|
| P Ping Tools |
790 KB $ 55.95 |
| P-Ping Tools is a digital sniffer and scanner. |
|
| Aquarius Soft PC Unit Converter |
616 KB $ 19.8 |
| Customizable unit conversion software. |
|
| P-Ping Tools |
$ 28 |
| If you are charge in administration of network , this software will be a quite u |
|
| B and P Table Utilities |
1.43 MB |
| processes data ensure that you have a valid backup of your data files prior to performing any actions with this application |
|
| Unit Converter Opera Widget2 |
21.9 KB |
| Convert an unfamiliar measurement into a scale |
|
|
|
|
 |
|
 |
 |
|
 |
|
| Popular Codecs |
|
| Windows Essentials Codec Pack |
| Play all the movies and music files you download. |
|
| Storm Codec |
| Storm Codec can play RealMedia, QuickTime, MPEG-2, MPEG-4, AC3/DTS, ratDVD, VP3/VP6, Indeo, XVD, Theora, Subtitles, OGG/OGM, Matroska, APE, FLAC, TTA, AAC, MPC, Voxware, 3GP/AMR without any other Media Player. |
|
| QT AC3 Codec for Mac |
| AC3 decompressor component for QuickTime. |
|
| Winamp MPC Plugin |
| Winamp MPC Plugin is needed to play MPC, MPP or MP+ files with Winamp (2 or 5). |
|
| AC3 Filter |
| AC3Filter is high quality freeware DirectShow audio decoder and processor filter used to decode audio tracks in movies (DVD, MPEG4 and others). |
|
|
|
 |
|
 |
|
|