--%>

Test-Related Code Annotation and Runtime System

Test-Related Code Annotation and Runtime System: As useful as test systems like JUnit are, test cases do require a significant amount of work to create and maintain, especially since they are implemented outside of the SUT sources, and need to be kept up to date with SUT changes.

It is therefore desirable to have an annotation system for in-source specification of tests; that is, to keep test cases next to the SUT functions they refer to. However, such an annotation system has to meet several requirements in order to be effective and gain acceptance:

A) The test specification format must be easy to read, preferably using target language expressions (like "foo(20) < 42").

B) The format must be concise enough to avoid cluttering SUT sources with test annotations (for example, not greater than 20% of the non test related lines of code), which especially requires a notation for input data variation.

C) The annotation cannot produce code that might interfere with the SUT, otherwise it would violate the “test-what-you-fly/fly-what-you-test” principle.

D) Test property types should be extensible and configurable, depending on which runtime execution system is used.

Since such a system is meant to be the first line of verification efforts (particularly for low-level function tests), its most important aspect is that it actually makes life easier for the developer,mitigating the burden of creating and maintaining a separate body of test code.

   Related Questions in Science

  • Q : Describe SMTP SMTP : Logging into your

    SMTP: Logging into your email account to retrieve email is fairly simple. Though, there is technology working behind which is simple mail transfer protocol (SMTP) and internet networks to make sure you can send and receive email. Think regarding SMTP

  • Q : Different functions of Syntax

    Normal 0 false false

  • Q : Describe Franklin Roosevelt How would

    How would you describe Franklin Roosevelt?

  • Q : Mission Critical Systems or real-time

    Normal 0 false false

  • Q : Define White-Box Testing White-Box

    White-Box Testing: We discuss here a framework that combines symbolic execution and model-checking techniques for automated test case generation in the context of Java programs. The framework is typically used for test input generation for white-box t

  • Q : To make the cluster configuration to

    Normal 0 false false

  • Q : Properties of a software lifecycle

    Properties : A property is a precise condition that can be checked in a given state or across a number of states (for example, to describe behaviors in the case of temporal properties). It should specify what the condition must be, not how it is satis

  • Q : State the Homestead Strike of 1892

    Homestead Strike of 1892: The Homestead Strike of 1982 was an industrial strike occurred due to dispute at the Homestead Steel Works in Homestead town. The dispute turned into a battle between private security holders and the protestors. It was the se

  • Q : What is Video conferencing Video

    Video conferencing: Effective tool to cut down costs by using inexpensive webcams and laptops to hold video conferences. Also connect employees from all corners of the globe to come together, and share ideas and exchange thoughts.

  • Q : Working of EU Normal 0 false false

    Normal 0 false false