System for exception notification and analysis
US-9213622-B1 · Dec 15, 2015 · US
US9632754B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-9632754-B2 |
| Application number | US-201213542798-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jul 6, 2012 |
| Priority date | Jul 6, 2012 |
| Publication date | Apr 25, 2017 |
| Grant date | Apr 25, 2017 |
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.
Aspects of the present invention disclose a system, method and program for automatic generation of source code under test case. In an example, a computer determines whether references to source code under test can be located from a test case. The computer automatically generates boiler plate code required for the creation of source code under test, wherein each section of the source code under test is associated with each section of the test case that caused its generation. The computer analyzes one or more test case syntax clues to provide additional information to form the boiler plate source code under test for the test case. The computer generates source code under test based on the type of boiler plate required for the creation of source code under test and the provided syntax clues in the test case.
Opening claim text (preview).
What is claimed is: 1. A method for automatic generation of source code under test case comprising: determining whether references to one or more classes under test can be located from a test case, wherein the test case is in a first high-level code language; responsive to at least one reference to a class under test that cannot be located, determining whether the class under test that cannot be located is due to a typographical error, wherein a pattern of one or more recurring syntax clues dictates whether the at least one reference to the class under test includes a typographical error; responsive to determining the class under test that cannot be located is not due to a typographical error, generating boiler plate code in a second high-level code language required for a creation of the class under test in the second high-level code language for the at least one reference to a class under test that cannot be located, wherein functional content of the boiler plate code is different from functional content of the test case such that results generated from the test case are independently different from results generated from the boiler plate code; analyzing one or more syntax clues in the test case to provide additional information for the generation of the class under test of the generated boiler plate code; and generating the class under test into the generated boiler plate based on both a type of boiler plate required for the creation of the class under test and the provided syntax clues in the test case, wherein each section of the class under test is associated with each section of the test case that caused its generation; wherein at least one of the steps is carried out using a computing device. 2. The method of claim 1 , wherein the method for automatic generation of the class under test case is integrated with independent code language writing software. 3. The method of claim 1 , wherein the analyzing of one or more test case syntax clues is performed through a Batch Mode setting. 4. The method of claim 1 , wherein the analyzing step performs a task using an external IDE application. 5. The method of claim 1 , further comprising the step of deciphering certain parts of the test case and visual representing any correlation with the class under test. 6. A computer program product for automatic generation of source code under test case comprising: one or more non-transitory computer-readable tangible storage devices and program instructions stored on at least one of the one or more non-transitory computer-readable tangible storage devices, the program instructions comprising; program instructions to determine whether references to one or more classes under test can be located from a test case, wherein the test case is in a first high-level code language; program instructions to, responsive to at least one reference to a class under test that cannot be located, determine whether the class under test that cannot be located is due to a typographical error, wherein a pattern of one or more recurring syntax clues dictates whether the at least one reference to the class under test includes a typographical error; program instructions to, responsive to determining the class under test that cannot be located is not due to a typographical error, generate boiler plate code in a second high-level code language required for a creation of the class under test in the second high-level code language for the at least one reference to the class under test that cannot be located, wherein functional content of the boiler plate code is different from functional content of the test case such that results generated from the test case are independently different from results generated from the boiler plate code; program instructions to analyze one or more syntax clues in the test case to provide additional information for the generation of the class under test of the generated boiler plate code; and program instructions to generate the class under the test case into the generated boiler plate based on both a type of boiler plate required for the creation of the class under test and the provided syntax clues in the test case, wherein each section of the class under test is associated with each section of the test case that caused its generation. 7. The computer program product of claim 6 , wherein the computer program product for automatic generation of the class under test case is integrated with independent code language writing software. 8. The computer program product of claim 6 , wherein the analyzing of one or more test case syntax clues is performed through a Batch Mode setting. 9. The computer program product of claim 6 , wherein the program instructions to analyze performs a task using an external IDE application. 10. The computer program product of claim 6 , further comprising program instructions to decipher certain parts of the test case and visually represent any correlation with the class under test. 11. A computer system for automatic generation of source code under test case comprising: one or more processors, one or more computer-readable memories and one or more computer-readable storage media, and program instruction, stored on at least one of the one or more storage media for execution by at least one of the one or more processors via at least one of the one or more computer-readable memories, the program instructions comprising: program instructions to determine whether references to one or more classes under test can be located from a test case, wherein the test case is in a first high-level code language; program instructions to, responsive to at least one reference to a class under test that cannot be located, determine whether the class under test that cannot be located is due to a typographical error, wherein a pattern of one or more recurring syntax clues dictates whether the at least one reference to the class under test includes a typographical error; program instructions to, responsive to determining the class under test that cannot be located is not due to a typographical error, generate boiler plate code in a second high-level code language required for a creation of the class under test in the second high-level code language for the at least one reference to the class under test that cannot be located, wherein functional content of the boiler plate code is different from functional content of the test case such that results generated from the test case are independently different from results generated from the boiler plate code; program instructions to analyze one or more syntax clues in the test case to provide additional information for the generation of the class under test of the generated boiler plate code; and program instructions to generate the class under the test case into the generated boiler plate based on both a type of boiler plate required for the creation of the class under test and the provided syntax clues in the test case, wherein each section of the class under test is associated with each section of the test case that caused its generation. 12. The computer system of claim 11 , wherein the program instructions for automatic generation of the class under test case is integrated with independent code language writing software. 13. The computer system of claim 11 , wherein the analyzing of one or more test case syntax clues is performed through a Batch Mode setting. 14. The computer system of claim 11 , wherein the program instructions to analyze performs a task using an external IDE application. 15. The computer system of claim 11 , further comprising program instructions to dec
Creation or generation of source code · CPC title
for test design, e.g. generating new test cases · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.