07.11.2014 Views

Enterprise Library Test Guide - Willy .Net

Enterprise Library Test Guide - Willy .Net

Enterprise Library Test Guide - Willy .Net

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

174<br />

<strong>Enterprise</strong> <strong>Library</strong> <strong>Test</strong> <strong>Guide</strong><br />

After you set up the test environment, you should tune it to make sure that there are<br />

no inherent problems that may distort the measurements.<br />

Tuning the <strong>Test</strong> Environment<br />

To ensure that the test measurements are accurate, you should first make sure that<br />

the test environment is performing well and has no constraints or performance issues<br />

that could contaminate your measurements. The areas you should monitor are identical<br />

to those for the application blocks. For information, see Detecting Performance<br />

Issues.<br />

Building <strong>Test</strong> Harnesses<br />

A test harness is a Web application that loads the tests and runs them. The <strong>Enterprise</strong><br />

<strong>Library</strong> test harnesses use Web controls on a Web page to configure and run the tests.<br />

Figure 2 illustrates the Caching Application Block test harness.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!