Methods and systems for computing code coverage using grouped/filtered source classes during testing of an application
US-2017075794-A1 · Mar 16, 2017 · US
US10956305B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-10956305-B2 |
| Application number | US-201916701001-A |
| Country | US |
| Kind code | B2 |
| Filing date | Dec 2, 2019 |
| Priority date | Nov 4, 2016 |
| Publication date | Mar 23, 2021 |
| Grant date | Mar 23, 2021 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Techniques and architectures for scratch organizations in a multitenant environment. A first scratch organization is generated based on a designated set of metadata defining at least a set of privileges for the first scratch organization. Test data is loaded into the first scratch organization from a source external to the first scratch organization. A designated test sequence is performed on the first scratch organization using test data. The test operations are defined by structures external to the first scratch organization and utilize the test data to generate test results. The first scratch organization is destroyed after extracting the test results. A second scratch organization is generated based on the designated set of metadata cause the second scratch organization to have the set of privileges.
Opening claim text (preview).
What is claimed is: 1. A system comprising: a plurality of hardware processing devices coupled with one or more memory devices, the plurality of hardware processing devices to provide a multitenant environment in which each tenant includes a group of users who share a common access with specific privileges to a resource instance, wherein a selected tenant includes one or more organizations that have corresponding subsets of specific privileges to the resource instance, the one or more organizations comprising at least one non-scratch organization, the plurality of hardware processing devices configurable to: generate a first scratch organization within the one or more organizations based on a designated set of metadata defining at least a set of privileges for the first scratch organization, wherein the first scratch organization is created with reduced provisioning and reduced overhead as compared to a non-scratch organization and the first scratch organization is created without user data; load at least test data into the first scratch organization from a source external to the first scratch organization; perform a designated test sequence having one or more test operations on the first scratch organization having the loaded test data, wherein the test operations are defined by structures external to the first scratch organization and utilize the test data to generate test results; destroy the first scratch organization after extracting the test results; generate a second scratch organization based on the designated set of metadata cause the second scratch organization to have the set of privileges. 2. The system of claim 1 , wherein the first scratch organization is an ephemeral organization that contains no user data and no test data at creation. 3. The system of claim 1 wherein the test data comprises synthetic data for testing. 4. The system of claim 1 wherein the selected tenant comprises multiple scratch organizations having different scopes, wherein at least one of the multiple scratch organizations has a first set of privileges that is a subset of the set of privileges and at least one of the multiple scratch organizations has a second set of privileges that is not a subset of the set of privileges. 5. The system of claim 1 wherein the set of metadata comprises metadata corresponding to one or more of tenant specific data, user management, tenant-specific functionality, configuration, customizations, non-functional properties, associated applications to define a shape of the corresponding organization. 6. The system of claim 1 wherein scratch organizations are created in a sandbox environment to isolate the scratch organizations from production environments. 7. The system of claim 1 wherein scratch organizations may be created and provisioned by cloning configuration data of an existing organization, and no link is created between the scratch organization and the existing organization so that subsequent changes to the existing organization are not reflected in the scratch organization and subsequent changes to the scratch organization are not reflected in the existing organization. 8. A non-transitory computer-readable medium having stored thereon instructions that, when executed by one or more processors, are configurable to cause the one or more processors to: provide a multitenant environment in which each tenant of the multitenant environment includes a group of users who share a common access with specific privileges to a resource instance, wherein a selected tenant includes multiple organizations that have a corresponding subset of specific privileges to the resource instance, the multiple organizations for the selected tenant comprising at least one non-scratch organization; generate a first scratch organization within the multiple organizations for the selected tenant based on a designated set of metadata defining at least a set of privileges for the first scratch organization, wherein the first scratch organization is created with reduced provisioning and reduced overhead as compared to a non-scratch organization and the first scratch organization is created without user data; load at least test data into the first scratch organization from a source external to the first scratch organization; perform a designated test sequence having one or more test operations on the first scratch organization having the loaded test data, wherein the test operations are defined by structures external to the first scratch organization and utilize the test data to generate test results; destroy the first scratch organization after extracting the test results; generate a second scratch organization based on the designated set of metadata cause the second scratch organization to have the set of privileges. 9. The non-transitory computer-readable medium of claim 8 , wherein the first scratch organization is an ephemeral organization that contains no user data and no test data at creation. 10. The non-transitory computer-readable medium of claim 8 wherein the test data comprises synthetic data for testing. 11. The non-transitory computer-readable medium of claim 8 wherein the selected tenant comprises multiple scratch organizations having different scopes, wherein at least one of the multiple scratch organizations has a first set of privileges that is a subset of the set of privileges and at least one of the multiple scratch organizations has a second set of privileges that is not a subset of the set of privileges. 12. The non-transitory computer-readable medium of claim 8 wherein the set of metadata comprises metadata corresponding to one or more of tenant specific data, user management, tenant-specific functionality, configuration, customizations, non-functional properties, associated applications to define a shape of the corresponding organization. 13. The non-transitory computer-readable medium of claim 8 wherein scratch organizations are created in a sandbox environment to isolate the scratch organizations from production environments. 14. The non-transitory computer-readable medium of claim 8 wherein scratch organizations may be created and provisioned by cloning configuration data of an existing organization, and no link is created between the scratch organization and the existing organization so that subsequent changes to the existing organization are not reflected in the scratch organization and subsequent changes to the scratch organization are not reflected in the existing organization. 15. A method within a multitenant environment in which each tenant of the multitenant environment includes a group of users who share a common access with specific privileges to a resource instance, wherein a selected tenant includes multiple organizations that have a corresponding subset of specific privileges to the resource instance, the multiple organizations for the selected tenant comprising at least one non-scratch organization, the method comprising: generating a first scratch organization within the multiple organizations for the selected tenant based on a designated set of metadata defining at least a set of privileges for the first scratch organization, wherein the first scratch organization is created with reduced provisioning and reduced overhead as compared to a non-scratch organization and the first scratch organization is created without user data; loading at least test data into the first scratch organization from a source external to the first scratch organization; performing a designated test sequence having one or more test operations on the first scratch organization having the loaded
Environments for analysis, debugging or testing of software · CPC title
specially adapted for the location of the user terminal · CPC title
Protecting access to data via a platform, e.g. using keys or access control rules · CPC title
Testing arrangements · CPC title
Session management (for real-time applications in data packet communications networks H04L65/1066) · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.