Search

US-20260127101-A1 - TEST CASE CLASSIFICATION APPARATUS AND TEST CASE CLASSIFICATION PROGRAM

US20260127101A1US 20260127101 A1US20260127101 A1US 20260127101A1US-20260127101-A1

Abstract

Provided is a test case classification apparatus including a memory and a processor. The processor includes a test case classification section that performs classification of one test case that is included in test cases describing test contents for system software, by comparing a manual testing execution time representing an amount of time required to manually execute a test based on the one test case and an automated testing execution time representing an amount of time required to automatically execute the test and setting a mode of running the one test case, and a result output section that outputs a result of the classification performed by the test case classification section.

Inventors

  • Akito OTA

Assignees

  • SONY INTERACTIVE ENTERTAINMENT INC.

Dates

Publication Date
20260507
Application Date
20251007
Priority Date
20241106

Claims (7)

  1. 1 . A test case classification apparatus comprising: a processor; and a memory, containing instructions, that cause the processor to perform operations comprising: performing classification of one test case that is included in test cases describing test contents for system software, by comparing a manual testing execution time representing an amount of time required to manually execute a test based on the one test case and an automated testing execution time representing an amount of time required to automatically execute the test and setting a mode of running the one test case, and outputting a result of the classification.
  2. 2 . The test case classification apparatus according to claim 1 , wherein the operations further comprise: classifying the test case in which the manual testing execution time is shorter than the automated testing execution time, as a test case to be run for manual testing, and classifying the test case in which the manual testing execution time is equal to or longer than the automated testing execution time, as a test case to be run for automated testing.
  3. 3 . The test case classification apparatus according to claim 2 , wherein the operations further comprise: acquiring a test period, calculating a number of test execution apparatuses required to complete, within the test period, the test case to be run for automated testing, and outputting the number of the test execution apparatuses.
  4. 4 . The test case classification apparatus according to claim 2 , wherein the operations further comprise: acquiring a test period, calculating a number of testers required to complete, within the test period, the test case classified as the test case to be run for manual testing, and outputting the number of the testers
  5. 5 . The test case classification apparatus according to claim 1 , wherein the test case includes the manual testing execution time and the automated testing execution time.
  6. 6 . A method comprising: performing classification of one test case that is included in test cases describing test contents for system software, by comparing a manual testing execution time representing an amount of time required to manually execute a test based on the one test case and an automated testing execution time representing an amount of time required to automatically execute the test and setting a mode of running the one test case; and outputting a result of the classification.
  7. 7 . A non-transitory computer-readable storage medium having stored thereon instructions that, when executed by one or more processors, cause the one or more processors to perform operations, comprising: performing classification of one test case that is included in test cases describing test contents for system software, by comparing a manual testing execution time representing an amount of time required to manually execute a test based on the one test case and an automated testing execution time representing an amount of time required to automatically execute the test and setting a mode of running the one test case; and outputting a result of the classification.

Description

CROSS REFERENCE TO RELATED APPLICATION This application claims the benefit of Japanese Priority Patent Application JP 2024-194537 filed Nov. 6, 2024, the entire contents of which are incorporated herein by reference. BACKGROUND The present disclosure relates to a test case classification apparatus and a test case classification program. In the past, there has been known a software development system capable of determining whether to adopt automated testing or manual testing when specifications are changed (see Japanese Patent Laid-Open No. 2014-92980 (hereinafter, referred to as Patent Document 1), for example). The software development system described in Patent Document 1 includes a test determination system, a test system, a version management system, a release management system, and an information and communications technology (ICT) system. When the specifications of software are changed, the test determination system estimates efforts for automated testing and efforts for manual testing and presents which of them includes fewer efforts. More specifically, for each test case in which a specification change has been made, the test determination system acquires the number of tests and the number of steps, calculates the efforts for automated testing and the efforts for manual testing, and determines a test mode including fewer efforts. SUMMARY In the software development system described in Patent Document 1, whether a test case should be run manually or automatically is determined depending on how many testing efforts will be made. Thus, in a case where one test case includes a few testing efforts but it takes a relatively longer time to execute each of steps included in the one test case, a problem arises that the amount of time that it takes to run the test case may not always be grasped from the testing efforts. Further, some test cases are fit for manual testing but others are not, and likewise for automated testing. Some test cases can be completed more quickly through manual testing than automated testing. For this reason, according to the configuration described in Patent Document 1, there is a possibility that the amount of time required to conduct a test based on all the test cases to be run may not be reliably shortened, and therefore, the test may possibly not be completed within a test period. Accordingly, there has been demanded a configuration that can perform the classification of test cases in such a way that a test can be completed within a test period. A test case classification apparatus according to a first embodiment of the present disclosure includes a memory and a processor. The processor includes a test case classification section that performs classification of one test case that is included in test cases describing test contents for system software, by comparing a manual testing execution time representing an amount of time required to manually execute a test based on the one test case and an automated testing execution time representing an amount of time required to automatically execute the test and setting a mode of running the one test case, and a result output section that outputs a result of the classification performed by the test case classification section. A test case classification program according to a second embodiment of the present disclosure is a program for a computer including a memory and a processor and includes, by a test case classification section, performing classification of one test case that is included in test cases describing test contents for system software, by comparing a manual testing execution time representing an amount of time required to manually execute a test based on the one test case and an automated testing execution time representing an amount of time required to automatically execute the test and setting a mode of running the one test case, and by a result output section, outputting a result of the classification performed by the test case classification section. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a schematic diagram depicting a configuration of a test case classification system according to an embodiment; FIG. 2 is a diagram depicting an example of a test case group according to the embodiment; FIG. 3 is a block diagram depicting a configuration of a test case classification apparatus according to the embodiment; FIG. 4 is a block diagram depicting a functional configuration of a processor according to the embodiment; FIG. 5 is a flowchart of a test case classification process according to the embodiment; FIG. 6 is a flowchart of a first classification process according to the embodiment; and FIG. 7 is a flowchart of a second classification process according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Hereinafter, an embodiment of the present disclosure will be explained with reference to the drawings. Schematic Configuration of Test Case Classification System FIG. 1 is a schematic diagram depicting