Gabriela Moreira, Cristiano D. Vasconcellos, Janine Kniess
{"title":"从TLA+规范生成经过全面测试的代码","authors":"Gabriela Moreira, Cristiano D. Vasconcellos, Janine Kniess","doi":"10.1145/3559744.3559747","DOIUrl":null,"url":null,"abstract":"Specifying software systems brings value by increasing confidence. However, engineers struggle to adopt this practice for its steep learning curve and lack of connection to production software. These problems can be addressed with simulation of specifications and generation of test cases. TLA+ (Temporal Logic of Actions+), a specification language used by big tech companies, is still mostly devoid of this tooling. This work proposes a combination of code and test generation from TLA+ files with the goal of making specification writers obtain value from their specifications as soon as possible.","PeriodicalId":187140,"journal":{"name":"Proceedings of the 7th Brazilian Symposium on Systematic and Automated Software Testing","volume":"107 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-10-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Fully-Tested code generation from TLA+ specifications\",\"authors\":\"Gabriela Moreira, Cristiano D. Vasconcellos, Janine Kniess\",\"doi\":\"10.1145/3559744.3559747\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Specifying software systems brings value by increasing confidence. However, engineers struggle to adopt this practice for its steep learning curve and lack of connection to production software. These problems can be addressed with simulation of specifications and generation of test cases. TLA+ (Temporal Logic of Actions+), a specification language used by big tech companies, is still mostly devoid of this tooling. This work proposes a combination of code and test generation from TLA+ files with the goal of making specification writers obtain value from their specifications as soon as possible.\",\"PeriodicalId\":187140,\"journal\":{\"name\":\"Proceedings of the 7th Brazilian Symposium on Systematic and Automated Software Testing\",\"volume\":\"107 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-10-03\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 7th Brazilian Symposium on Systematic and Automated Software Testing\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3559744.3559747\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 7th Brazilian Symposium on Systematic and Automated Software Testing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3559744.3559747","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
指定软件系统通过增加信心带来价值。然而,工程师们很难采用这种做法,因为它的学习曲线陡峭,而且缺乏与生产软件的联系。这些问题可以通过规范的模拟和测试用例的生成来解决。大型科技公司使用的规范语言TLA+ (Temporal Logic of Actions+)在很大程度上仍然缺乏这种工具。这项工作提出了从TLA+文件生成代码和测试的组合,目标是使规范编写者尽快从他们的规范中获得价值。
Fully-Tested code generation from TLA+ specifications
Specifying software systems brings value by increasing confidence. However, engineers struggle to adopt this practice for its steep learning curve and lack of connection to production software. These problems can be addressed with simulation of specifications and generation of test cases. TLA+ (Temporal Logic of Actions+), a specification language used by big tech companies, is still mostly devoid of this tooling. This work proposes a combination of code and test generation from TLA+ files with the goal of making specification writers obtain value from their specifications as soon as possible.