[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-488812-105":59,"doc-detail-488812-en":130},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","automated-user-story-generation-with-test-case-specification-using-large-language-model","Automated User Story Generation with Test Case Specification Using Large Language Model","","Modern software engineering accelerates development with artificial intelligence, particularly Large Language Models (LLMs). This work targets Requirements Engineering (RE), where extensive stakeholder discussions yield user stories that are typically translated manually into project-management tasks and acceptance criteria. The study introduces “GeneUS,” built with GPT-4.0, to automatically generate detailed user stories from requirements documents and output them as JSON for downstream integration. A structured survey using the RUST instrument validates usability and quality, reducing engineer overhead while improving productivity through automation.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/automated-user-story-generation-with-test-case-specification-using-large-language-model/488812/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/automated-user-story-generation-with-test-case-specification-using-large-language-model/488812.png","ImageObject",300,407,{"name":92,"@type":93},"Terk","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-05","2026-10-01",true,{"@type":102,"interactionType":103,"userInteractionCount":29},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does this research address in software development?","Question",{"text":112,"@type":113},"It addresses the effort-intensive process of translating requirements produced during Requirements Engineering into user stories, test specifications, and acceptance criteria for project management tools.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the GeneUS tool work and what does it output?",{"text":117,"@type":113},"GeneUS uses GPT-4.0 to automatically create user stories from requirements documents and provides the results in JSON format for integration with project management systems.",{"name":119,"@type":110,"acceptedAnswer":120},"Why is the RaT prompting technique important in this approach?",{"text":121,"@type":113},"RaT (Refine and Thought) refines the model’s reasoning by filtering meaningless tokens and redundant information, improving the usefulness of generated user stories and test cases.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},488812,1791012359,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":29,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":52,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":143,"read_time":144,"preview_page_count":19,"preview_urls":145},1099525198933,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Automated User Story Generation with Test Case Specification Using Large Language Model  \n1st Tajmilur Rahman Computer Science University of Saskatchewan Saskatoon, SK, Canada [qoy860@usask.ca](qoy860@usask.ca)  \n2nd Yuecai Zhu Enterprise Data Platform Bell Mobility Montreal, QC, Canada yuecai.zhu@bell.ca  \narXiv :2404 .0 1558v 1 [ cs . SE] 2 Apr 2024  \nAbstract—Modern Software Engineering era is moving fast with the assistance of artificial intelligence (AI), especially Large Language Models (LLM). Researchers have already started automating many parts of the software development workflow. Requirements Engineering (RE) is a crucial phase that begins the software development cycle through multiple discussions on a proposed scope of work documented in different forms. RE phase ends with a list of user-stories for each unit task identified through discussions and usually these are created and tracked on a project management tool such as Jira, AzurDev etc. In this research we developed a tool “GeneUS” using GPT-4.0 to automatically create user stories from requirements document which is the outcome of the RE phase. The output is provided in JSON format leaving the possibilities open for downstream integration to the popular project management tools. Analyzing requirements documents takes significant effort and multiple meetings with stakeholders. We believe, automating this process will certainly reduce additional load off the software engineers, and increase the productivity since they will be able to utilize their time on other prioritized tasks.  \nIndex Terms—Prompt Engineering, LLM, User Story, Automated Software Engineering  \nI. INTRODUCTION  \nA “user story” [1] is commonly used in the Agile software development process. It is a description of a unit task that contains the overall description of a particular task, including what to develop, why users/stakeholders need it, and how it should be developed. In addition, a user story typically includes functional and non-functional constraints, acceptance criteria, a clear definition of when a task can be marked as“Done”, and often test case and coverage specification.  \nTraditionally, software engineers create a requirements document during the RE phase after several back-and-forth meetings with the stakeholders. Engineers then distill these requirements into individual tasks by creating and adding user stories into the project management system. This process is heavily effort-consuming and requires a large amount of time from the developers. Senior developers, team leads, QA leads, project managers, and scrum masters mostly remains busy interpreting client’s statements into specific unit tasks that are easy for developers to understand.  \nLeveraging large language models(LLMs) to automate software engineering processes and development activities is becoming extremely popular and evolving rapidly in both  \nacademia and industry. To have LLMs automatically complete tasks, we need to develop a mechanism to send appropriate instructions to the model. Such instructions are called prompts. The engineering of prompts is commonly known as prompt engineering [2], which is a fundamental methodology in the field of responsive AI. As the development of LLMs progresses, the importance of prompt engineering becomes increasingly evident. Designing suitable prompts for specific tasks has emerged as a meaningful research direction. Our study involves extensive work on prompt engineering to generate user stories from the high-level semi-detailed requirements specifications. This research is a unique contribution to the automation of software engineering processes using LLMs. As per our knowledge no such study has been conducted yet to generate user stories with necessary functional and test specifications automatically using LLMs.  \nPre-trained LLM, including ChatGPT [3] and Google Palm [4], have not been developed as intelligent as a human. Simply asking the LLM to provide user stories and test","cbCailWHq4g6CTgn","https://ap.wps.com/l/cbCailWHq4g6CTgn","pdf",593308,"English","# Abstract\n# Introduction\n## User stories in Agile development\n## Prompt engineering and RaT\n## Contributions and tool GeneUS","[{\"question\":\"What problem does this research address in software development?\",\"answer\":\"It addresses the effort-intensive process of translating requirements produced during Requirements Engineering into user stories, test specifications, and acceptance criteria for project management tools.\"},{\"question\":\"How does the GeneUS tool work and what does it output?\",\"answer\":\"GeneUS uses GPT-4.0 to automatically create user stories from requirements documents and provides the results in JSON format for integration with project management systems.\"},{\"question\":\"Why is the RaT prompting technique important in this approach?\",\"answer\":\"RaT (Refine and Thought) refines the model’s reasoning by filtering meaningless tokens and redundant information, improving the usefulness of generated user stories and test cases.\"}]","Automated User Story Generation with Test Case Specification Using Large Language Model | PDF",1790817850,25,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/ca0792846a6fae7ffe8e60784583ae22.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/475086f91efcef6be0ef1bc1a74811c7.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/f77d37a6a763641cda3b8825c304d116.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/7cefd6db47395384e361ee7986f17ff5.webp",980,1268]