Professional Java Tools for Extreme Programming [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Professional Java Tools for Extreme Programming [Electronic resources] - نسخه متنی

Richard Hightower, Warner Onstineet al.

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
توضیحات
افزودن یادداشت جدید











JUnitPerf Concepts


There are two major types of tests for JunitPerf: the timed test and the load test, defined by the TimedTest class and LoadTest class, respectively.

When you create a TimedTest test decorator, you pass it an existing JUnit test and a maximum elapsed time in milliseconds. A TimedTest is a JUnit TestDecorator, which fails the decorated test after a specified time. You can use the TimedTest in two ways: Wait until the test completes and check the elapsed time, or fail immediately if the elapsed time exceeds the maximum.

A LoadTest is also a test decorator that runs a test with a number of simulated users for a certain amount of iterations. You can slowly ramp the load or turn it on all at once.

/ 228