This paper presents a framework that can be used to formalize the specification-based single-class test generation process. Object-Z is used to describe both software requirements and the proposed framework. Using thi...This paper presents a framework that can be used to formalize the specification-based single-class test generation process. Object-Z is used to describe both software requirements and the proposed framework. Using this framework, test engineers can automatically get the testing process model during the test generation process. With this model, properties of test cases ( such as relationship between test cases and methods can easily be captured. Furthermore, with the framework, the test process model can be updated automatically with the test generation process. The properties of test cases can then be updated correspondingly. It will greatly facilitate the regression testing. The main contribution of this paper is that it provides an approach to formalizing testing process by extending existing framework to class testing, and a way to represent test cases as multi-part, multi-step, multi-level artifacts.展开更多
A new model of event and message driven Petri network(EMDPN) based on the characteristic of class interaction for messages passing between two objects was extended. Using EMDPN interaction graph, a class hierarchical ...A new model of event and message driven Petri network(EMDPN) based on the characteristic of class interaction for messages passing between two objects was extended. Using EMDPN interaction graph, a class hierarchical test-case generation algorithm with cooperated paths (copaths) was proposed, which can be used to solve the problems resulting from the class inheritance mechanism encountered in object-oriented software testing such as oracle, message transfer errors, and unreachable statement. Finally, the testing sufficiency was analyzed with the ordered sequence testing criterion(OSC). The results indicate that the test cases stemmed from newly proposed automatic algorithm of copaths generation satisfies synchronization message sequences testing criteria, therefore the proposed new algorithm of copaths generation has a good coverage rate.展开更多
Testing is a standard method for verification of software performance. Producing efficient and appropriate test case is an important aspect in testing. Specification based testing presents a method to derive test dat...Testing is a standard method for verification of software performance. Producing efficient and appropriate test case is an important aspect in testing. Specification based testing presents a method to derive test data from software specification. Because of the precision and concision of specification, the test data derived from specification can test the software efficiently and entirely. This paper demonstrates a test class framework(TCF) on a file reading case study, specified using Z notation. This test class framework defines test case sets, providing structure to the testing process. Flexibility is preserved so that many testing strategies can be used.展开更多
Introduction: The Six-Minute Walk Test (6MWT) is an inexpensive method to objectively evaluate physical capacity or limitation and stratify prognosis in patients with Heart Failure (HF). Since the clinical p...Introduction: The Six-Minute Walk Test (6MWT) is an inexpensive method to objectively evaluate physical capacity or limitation and stratify prognosis in patients with Heart Failure (HF). Since the clinical perception of symptoms may be adapted or compromised, regular evaluation from medical interviews often fails to determine functional classification. This study aimed to assess the correlation between New York Heart Association Functional Class (NYHA-FC) and the distance walked in the 6MWT. Methods: We conducted a cross-sectional observational study that included patients with HF with reduced ejection fraction followed up at an outpatient service of a teaching hospital, from August 2018 to April 2019. Patients in NYHA-FC I, II, or III were included. We compared NYHA-FC subjectively obtained during the consultation with the 6MWT performed after medical consultation, and the correlation between these two parameters was assessed. Results: The study included 70 patients with HF, 41 (58.6%) of whom were female. The mean age was 61.2 ± 12.7 years. The most prevalent etiologies were dilated idiopathic cardiomyopathy (35.7%) followed by ischemic cardiomyopathy (25.7%). The mean ejection fraction was 34.1% ± 9.8%. The average distance walked in the 6MWT by NYHA-FC I patients was 437.8 ± 95.8 meters, NYHA-FC II 360.1 ± 96.4, and NYHA-FC III 248.4 ± 98.3. Functional class measured by the 6MWT was different than that estimated by NYHA-FC in 34 patients (48.6%), 23 (32.9%) for a higher functional class and 11 (15.7%) for a lower one (p = 0.07). Pearson’s correlation coefficient between NYHA-FC and the 6MWT was -0.55. Conclusion: There was a moderate correlation between the subjective NYHA-FC and the 6MWT. The 6MWT revealed a different classification from NYHA-FC in almost half of the patients. Among those who presented discrepancies between methods, 6MWT reclassification towards a higher functional class was more common.展开更多
The classical chi-squared goodness of fit test assumes the number of classes is fixed,meanwhile the test statistic has a limiting chi-square distribution under the null hypothesis.It is well known that the number of c...The classical chi-squared goodness of fit test assumes the number of classes is fixed,meanwhile the test statistic has a limiting chi-square distribution under the null hypothesis.It is well known that the number of classes varying with sample size in the test has attached more and more attention.However,in this situation,there is not theoretical results for the asymptotic property of such chi-squared test statistic.This paper proves the consistency of chi-squared test with varying number of classes under some conditions.Meanwhile,the authors also give a convergence rate of KolmogorovSimirnov distance between the test statistic and corresponding chi-square distributed random variable.In addition,a real example and simulation results validate the reasonability of theoretical result and the superiority of chi-squared test with varying number of classes.展开更多
Smaller class sizes in early grades translated into students scoring higher on math tests in later grades in Tennessee’s experiment to see if smaller classes improved education, a study said on Friday. 低年级的小型...Smaller class sizes in early grades translated into students scoring higher on math tests in later grades in Tennessee’s experiment to see if smaller classes improved education, a study said on Friday. 低年级的小型班级能够使学生在高年级时获得数学测试的高分。田纳西州的一项旨在了解小型班级是否能够改进教育的实验得出如此结论。一项研究周五如是说。展开更多
Quality of software systems is highly demanded in today’s scenario. Highly testable system enhances the reliability also. More than 50% of test effort-time and cost are used to produce a highly testable system. Thus,...Quality of software systems is highly demanded in today’s scenario. Highly testable system enhances the reliability also. More than 50% of test effort-time and cost are used to produce a highly testable system. Thus, design-for-testability is needed to reduce the test effort. In order to enhance the quality, productivity and reduced cost of the software organizations are promoting to produce the reuse-oriented products. Incorporating reuse technology in both aspects-software development process and test process may payoff many folds. Keeping this view, our study focus the testability of the object-oriented framework based software systems and identify that flexibility at the variable points of the object-oriented framework, chosen for framework instantiation, greatly affects the testability of object-oriented framework based software at each level of testing. In the current paper, we propose a testability model considering the flexible aspect of the variable point to estimate testability in the early phase, requirement analysis phase, of development process of the framework based software. The proposed model helps to improve the testability of the software before the implementation starts thus reducing the overall development cost.展开更多
This paper presents a new class of test procedures for two-sample location problem based on subsample quantiles. The class includes Mann-Whitney test as a special case. The asymptotic normality of the class of tests p...This paper presents a new class of test procedures for two-sample location problem based on subsample quantiles. The class includes Mann-Whitney test as a special case. The asymptotic normality of the class of tests proposed is established. The asymptotic relative performance of the proposed class of test with respect to the optimal member of Xie and Priebe (2000) is studied in terms of Pitman efficiency for various underlying distributions.展开更多
文摘This paper presents a framework that can be used to formalize the specification-based single-class test generation process. Object-Z is used to describe both software requirements and the proposed framework. Using this framework, test engineers can automatically get the testing process model during the test generation process. With this model, properties of test cases ( such as relationship between test cases and methods can easily be captured. Furthermore, with the framework, the test process model can be updated automatically with the test generation process. The properties of test cases can then be updated correspondingly. It will greatly facilitate the regression testing. The main contribution of this paper is that it provides an approach to formalizing testing process by extending existing framework to class testing, and a way to represent test cases as multi-part, multi-step, multi-level artifacts.
基金Project(05JT1035) supported by the Science and Technology Plan of Hunan Province
文摘A new model of event and message driven Petri network(EMDPN) based on the characteristic of class interaction for messages passing between two objects was extended. Using EMDPN interaction graph, a class hierarchical test-case generation algorithm with cooperated paths (copaths) was proposed, which can be used to solve the problems resulting from the class inheritance mechanism encountered in object-oriented software testing such as oracle, message transfer errors, and unreachable statement. Finally, the testing sufficiency was analyzed with the ordered sequence testing criterion(OSC). The results indicate that the test cases stemmed from newly proposed automatic algorithm of copaths generation satisfies synchronization message sequences testing criteria, therefore the proposed new algorithm of copaths generation has a good coverage rate.
文摘Testing is a standard method for verification of software performance. Producing efficient and appropriate test case is an important aspect in testing. Specification based testing presents a method to derive test data from software specification. Because of the precision and concision of specification, the test data derived from specification can test the software efficiently and entirely. This paper demonstrates a test class framework(TCF) on a file reading case study, specified using Z notation. This test class framework defines test case sets, providing structure to the testing process. Flexibility is preserved so that many testing strategies can be used.
文摘Introduction: The Six-Minute Walk Test (6MWT) is an inexpensive method to objectively evaluate physical capacity or limitation and stratify prognosis in patients with Heart Failure (HF). Since the clinical perception of symptoms may be adapted or compromised, regular evaluation from medical interviews often fails to determine functional classification. This study aimed to assess the correlation between New York Heart Association Functional Class (NYHA-FC) and the distance walked in the 6MWT. Methods: We conducted a cross-sectional observational study that included patients with HF with reduced ejection fraction followed up at an outpatient service of a teaching hospital, from August 2018 to April 2019. Patients in NYHA-FC I, II, or III were included. We compared NYHA-FC subjectively obtained during the consultation with the 6MWT performed after medical consultation, and the correlation between these two parameters was assessed. Results: The study included 70 patients with HF, 41 (58.6%) of whom were female. The mean age was 61.2 ± 12.7 years. The most prevalent etiologies were dilated idiopathic cardiomyopathy (35.7%) followed by ischemic cardiomyopathy (25.7%). The mean ejection fraction was 34.1% ± 9.8%. The average distance walked in the 6MWT by NYHA-FC I patients was 437.8 ± 95.8 meters, NYHA-FC II 360.1 ± 96.4, and NYHA-FC III 248.4 ± 98.3. Functional class measured by the 6MWT was different than that estimated by NYHA-FC in 34 patients (48.6%), 23 (32.9%) for a higher functional class and 11 (15.7%) for a lower one (p = 0.07). Pearson’s correlation coefficient between NYHA-FC and the 6MWT was -0.55. Conclusion: There was a moderate correlation between the subjective NYHA-FC and the 6MWT. The 6MWT revealed a different classification from NYHA-FC in almost half of the patients. Among those who presented discrepancies between methods, 6MWT reclassification towards a higher functional class was more common.
基金supported by the Natural Science Foundation of China under Grant Nos.11071022,11028103,11231010,11471223,BCMIISthe Beijing Municipal Educational Commission Foundation under Grant Nos.KZ201410028030,KM201210028005Jishou University Subject in 2014(No:14JD035)
文摘The classical chi-squared goodness of fit test assumes the number of classes is fixed,meanwhile the test statistic has a limiting chi-square distribution under the null hypothesis.It is well known that the number of classes varying with sample size in the test has attached more and more attention.However,in this situation,there is not theoretical results for the asymptotic property of such chi-squared test statistic.This paper proves the consistency of chi-squared test with varying number of classes under some conditions.Meanwhile,the authors also give a convergence rate of KolmogorovSimirnov distance between the test statistic and corresponding chi-square distributed random variable.In addition,a real example and simulation results validate the reasonability of theoretical result and the superiority of chi-squared test with varying number of classes.
文摘Smaller class sizes in early grades translated into students scoring higher on math tests in later grades in Tennessee’s experiment to see if smaller classes improved education, a study said on Friday. 低年级的小型班级能够使学生在高年级时获得数学测试的高分。田纳西州的一项旨在了解小型班级是否能够改进教育的实验得出如此结论。一项研究周五如是说。
文摘Quality of software systems is highly demanded in today’s scenario. Highly testable system enhances the reliability also. More than 50% of test effort-time and cost are used to produce a highly testable system. Thus, design-for-testability is needed to reduce the test effort. In order to enhance the quality, productivity and reduced cost of the software organizations are promoting to produce the reuse-oriented products. Incorporating reuse technology in both aspects-software development process and test process may payoff many folds. Keeping this view, our study focus the testability of the object-oriented framework based software systems and identify that flexibility at the variable points of the object-oriented framework, chosen for framework instantiation, greatly affects the testability of object-oriented framework based software at each level of testing. In the current paper, we propose a testability model considering the flexible aspect of the variable point to estimate testability in the early phase, requirement analysis phase, of development process of the framework based software. The proposed model helps to improve the testability of the software before the implementation starts thus reducing the overall development cost.
文摘This paper presents a new class of test procedures for two-sample location problem based on subsample quantiles. The class includes Mann-Whitney test as a special case. The asymptotic normality of the class of tests proposed is established. The asymptotic relative performance of the proposed class of test with respect to the optimal member of Xie and Priebe (2000) is studied in terms of Pitman efficiency for various underlying distributions.