摘要:
Methods, systems, and computer program products for testing software components without explicitly having to specify each test or test environment. A computer system for automated testing loads and parses and test file. The test file contains code sections that identify software components to test, locations sections that identify locations to run the software components, an expandable variation section that associates the software components with locations, and an expansion section that defines rules for expanding the expandable variation section. From the expandable variation section, the computer system creates expanded variation sections that associate particular software components with particular locations. Then, for each particular software component and locations, the computer system executes setup instructions to prepare for running the particular software component, executes the particular software component, and executes cleanup instructions. The test file may conform to one or more eXtensible Markup Language (XML) schemas.
摘要:
The present invention extends to methods, systems, and computer program products for isolating the evaluation of actual test results against expected test results from the test module that generates the actual test results. A results evaluation sub-system receives actual test results resulting from the execution of a test in a test environment. A results retrieval sub-system receives environmental data indicating that a test was performed in the test environment. The results retrieval sub-system selects one or more expected results from a results database based on the received environmental data. The results retrieval sub-system sends the selected one or more expected results to the results evaluation sub-system. The results evaluation sub-system receives the one or more selected results. The results evaluation sub-system evaluates the actual test results against the one or more expected results to determine if the test was successful.
摘要:
Namespace for continuation-based runtime. Some embodiments described herein are directed to a framework using continuation based runtime namespaces that pertain to an infrastructure for enabling the creation of a wide variety of continuation-based programs that perform a wide-array of tasks. The infrastructure provides a foundation for building continuation-based, declarative applications of various scale and complexity. In some embodiments, the associated application programming interfaces (APIs) are factored into a hierarchy of namespaces in a manner that balances utility, usability, extensibility, and versionability.
摘要:
In an embodiment, a computer system determines that a first rule in a ruleset comprising a plurality of rules is to be executed, where the first rule includes a condition and an action that is to be performed when the first rule's condition is met. The computer system dynamically modifies the first rule's condition to include a portion of software code configured to monitor and receive notifications from a data-change notification system. The computer system executes the dynamically modified first rule and executes a second rule in the ruleset. The computer system receives a notification from the data-change notification system indicating that execution of the second rule's action has modified data values being monitored by the first rule's software code portion and that, as a result of the modification, the first rule is to be re-executed. The computer system also re-executes the first rule based on the received notification.
摘要:
Embodiments are directed to interpreting declarative program types at runtime without compiling and mapping between a declarative type and a dynamic runtime type. A computer system accesses a portion of a declarative program, where the declarative program includes fully modeled activity types. The computer system dynamically constructs a dynamic activity type based on one of the fully modeled activity types of the declarative program, where the dynamic activity type is configured for interpretive execution without compilation. The computer system also interpretively executes the dynamically constructed dynamic activity type such that the dynamic activity is executed without compilation.
摘要:
In an embodiment, a computer system determines that a first rule in a ruleset comprising a plurality of rules is to be executed, where the first rule includes a condition and an action that is to be performed when the first rule's condition is met. The computer system dynamically modifies the first rule's condition to include a portion of software code configured to monitor and receive notifications from a data-change notification system. The computer system executes the dynamically modified first rule and executes a second rule in the ruleset. The computer system receives a notification from the data-change notification system indicating that execution of the second rule's action has modified data values being monitored by the first rule's software code portion and that, as a result of the modification, the first rule is to be re-executed. The computer system also re-executes the first rule based on the received notification.
摘要:
Embodiments are directed to interpreting declarative program types at runtime without compiling and mapping between a declarative type and a dynamic runtime type. A computer system accesses a portion of a declarative program, where the declarative program includes fully modeled activity types. The computer system dynamically constructs a dynamic activity type based on one of the fully modeled activity types of the declarative program, where the dynamic activity type is configured for interpretive execution without compilation. The computer system also interpretively executes the dynamically constructed dynamic activity type such that the dynamic activity is executed without compilation.
摘要:
The present invention extends to methods, systems, and computer program products for isolating the evaluation of actual test results against expected test results from the test module that generates the actual test results. A results evaluation sub-system receives actual test results resulting from the execution of a test in a test environment. A results retrieval sub-system receives environmental data indicating that a test was performed in the test environment. The results retrieval sub-system selects one or more expected results from a results database based on the received environmental data. The results retrieval sub-system sends the selected one or more expected results to the results evaluation sub-system. The results evaluation sub-system receives the one or more selected results. The results evaluation sub-system evaluates the actual test results against the one or more expected results to determine if the test was successful.
摘要:
Namespace for continuation-based runtime. Some embodiments described herein are directed to a framework using continuation based runtime namespaces that pertain to an infrastructure for enabling the creation of a wide variety of continuation-based programs that perform a wide-array of tasks. The infrastructure provides a foundation for building continuation-based, declarative applications of various scale and complexity. In some embodiments, the associated application programming interfaces (APIs) are factored into a hierarchy of namespaces in a manner that balances utility, usability, extensibility, and versionability.
摘要:
In one embodiment, a computer system accesses a workflow activity from among multiple workflow activities in a workflow process within a workflow process framework. The workflow process describes a procedure for performing a piece of functionality. The workflow activity includes workflow rules, where each rule includes at least one condition and at least one workflow rule action for the condition such that when a pre-determined condition state is reached, the appropriate workflow rule action is executed. The computer system includes a workflow activity as the workflow rule action for at least one of the condition states for the rule. The workflow activity includes functionality configured to do a portion of work. The computer system provides functionality that is available to the workflow process framework to the included workflow activity as a result of the workflow activity being included in the workflow rule action.