Q
Problem solve Get help with specific problems with your technologies, process and projects.

Unit testing for SOA best practices

Rami Jaamour discusses two types of unit testing and what they both need to have in order to maintain best practices for SOA.

Can you provide me with some unit testing best practices for SOA?

The unit testing term in this context could mean two different things: The first is Unit testing at the application...

implementation layer (e.g. JUnit for Java, NUnit for .NET, etc.) and is used to validate component (often class) functionality for the underlying implementation back end of a SOA, and provides bottom up quality.

The second meaning is the practice of creating and maintaining tests at the individual service level in SOA and at the message layer, which provides top-down quality to validate functionality for each atomic service level, outside the context of a business process.

Now, having described both unit testing types, it is critical that they are both:

a) created and maintained as repeatable, automatically re-runnable tests

b) executed automatically as part of a continuous lifecycle process at best, or easily on-demand whenever impact of a change needs to be assessed

c) institutionalized as a quality policy that enumerates and quantifies the testing. For example, use coverage at various levels: requirement test coverage, code, and defines policy on the kinds of test cases that need to be present--such as positive, negative value cases and how they need to be parameterized with a variety of data sets.

d) monitored with a visible process that trickles the results back up to the appropriate level as a quantitative measure for SOA quality (e.g. status dashboards, registries, etc.)

This was last published in July 2008

Dig Deeper on APM and log analysis

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchSoftwareQuality

SearchCloudApplications

SearchAWS

TheServerSide.com

SearchWinDevelopment

DevOpsAgenda

Close