liveBook · Manning

Interoperability

As explained in Software Testing with Generative AI

Interoperability is a quality characteristic concerning a system's ability to exchange and use information or work correctly with other systems.

Interoperability is a quality characteristic concerned with whether a system can exchange and use information or work correctly with other systems. In code review, it becomes a category for identifying integration risks. section 4.2.2

Analyze interoperability alongside other quality characteristics by:

  • Delimiting the code under review and stating assumptions when no code is supplied. section 4.2.2
  • Requesting multiple risks in the format Risk - Quality Characteristic - Explanation. section 4.2.2
  • Using few-shot examples to make the expected risk structure explicit. section 4.2.2

Structured interoperability review

Prompt: “You are a software testing expert. Analyze the code delimited by triple hashes and identify risks that might impact the code. Risks must be related to Performance, security and interoperability.” Apply it to the createBooking method and require explanations for each identified risk. section 4.2.2

###
public BookingResult createBooking(Booking bookingToCreate) throws
➥SQLException {
    if(dateCheckValidator.isValid(bookingToCreate.getBookingDates())) {
        if (bookingDB.checkForBookingConflict(bookingToCreate)) {
            return new BookingResult(HttpStatus.CONFLICT);
        } else {
            CreatedBooking createdBooking = 
            ➥bookingDB.create(bookingToCreate);
 
            if(bookingToCreate.getEmail() != null && 
            ➥bookingToCreate.getPhone() != null){
                MessageBuilder messageBuilder = new MessageBuilder();
                Message message = messageBuilder.build(bookingToCreate);
 
                messageRequests.postMessage(message);
            }
 
            return new BookingResult(createdBooking, 
         ➥HttpStatus.CREATED);
        }
    } else {
        return new BookingResult(HttpStatus.CONFLICT);
    }
}
###

Use the createBooking method as the concrete code artifact for structured quality-risk analysis. section 4.2.2

How Software Testing with Generative AI covers it

How deep it goes
Defines interoperability as a risk category and specifies structured analysis, but supplies no detailed interoperability finding.
Examples
Uses a Java createBooking method, a delimited-code prompt, and a Risk - Quality Characteristic - Explanation format.
What it assumes
Assumes familiarity with code and quality characteristics while specifying delimiters, assumptions, and output constraints.
What you can do after
Evaluate code for interoperability risks using a structured prompt and explicit output format.
How it connects
Connects interoperability with performance, security, code analysis, prompting, and quality characteristics.

Also explained in

Compare how 5 books explain interoperability →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Software Testing with Generative AI. The section links point to the parts of the book it draws on.