Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Methods and systems for isolating software components

a software component and isolating technology, applied in the field of validation software, can solve problems such as not always possible, and achieve the effect of facilitating the testing of such cod

Inactive Publication Date: 2018-08-16
TYPEMOCK
View PDF1 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

The patent text explains that it is possible to create fake objects and methods either by hand or using a mock framework. A mock framework can create a fake object that looks like the real object and can define its behavior and validate the arguments it receives. The technical effect of this is that it allows for more efficient and automated testing of software interfaces without having to create actual objects and methods.

Problems solved by technology

This is not always possible (due to security means) or wanted (it may disturb other applications).
1. Fake a behavior that is scarce. (Dates, Out of Memory)
2. Fake slow running components. (Database, Internet)

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Methods and systems for isolating software components
  • Methods and systems for isolating software components
  • Methods and systems for isolating software components

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036]Reference is now made to FIG. 1 which is a simplified functional block diagram of a software isolation system constructed and operative in accordance with certain embodiments of the present invention. The run time system 102 is the system that actually runs the code and the tests; this could be an operating system, a scripting system or a virtual machine (as in Java or .NET). The weaver 104 is responsible for inserting the added hooking code into the production code base 106. In each method of the production code the weaver 104 may insert a small piece of code 107 that calls the Mock framework 110 which then decides whether to call the original code or to fake the call. The inserted code 107 can also modify the arguments passed to the production method if required. This is handy for arguments passed by reference.

[0037]The production code base 106 is the code that is to be isolated. There is no need to change the design of this code just to isolate the code. The test code 108 c...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A software testing system operative to test a software application comprising a plurality of software components, at least some of which are highly coupled hence unable to support a dependency injection, each software component operative to perform a function, the system comprising apparatus for at least partially isolating, from within the software application, at least one highly coupled software component which performs a given function, and apparatus for testing at least the at least partially isolated highly coupled software component.

Description

PRIORITY CLAIMS[0001]This Application is a continuation of U.S. patent application Ser. No. 15 / 005,145, titled “Method and System for Isolating Software Components”, filed by the inventors of the present Application on Jan. 25. 2016;[0002]which, in turn, is a continuation in part of U.S. Utility Patent Application No. 13 / 706,711, titled “Method and System for Isolating Software Components”, filed by the inventors of the present Application on Dec. 6, 2012;[0003]which, in turn, is a continuation of U.S. patent application Ser. No. 12 / 442,948, titled “Method and System for Isolating Software Components”, filed by the inventors of the present Application on Mar. 25, 2009;[0004]which, in turn, is a national phase entry of PCT Application No. PCT / IL2007 / 001152 titled “Method and System for Isolating Software Components”, filed by the inventors of the present Application on Sep. 20, 2007;[0005]Which, in turn, claims priority from U.S. provisional application No. 60 / 826,759, entitled “Meth...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(United States)
IPC IPC(8): G06F11/36
CPCG06F11/3672G06F11/3668G06F11/3612G06F11/3696G06F11/3688G06F11/3644
Inventor LOPIAN, ELI
Owner TYPEMOCK
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products