首页> 外文OA文献 >The development of domain-specific language for generation of Mocha tests
【2h】

The development of domain-specific language for generation of Mocha tests

机译:开发特定于领域的语言以生成Mocha测试

摘要

The aim of the diploma thesis is to present development and implementation of domain-specific language that enables a faster and mostly easier writing of Mocha tests. Domain-specific languages are minor computer languages that mainly focus on problems in a particular application domain. For developing a solution, the Node.js environment for JavaScript computer language is used. Our testing environment will be Mocha, the most frequently used environment for JavaScript platform. A tester will use a simplified solution in Mocha environment.udThe main requirements for domain-specific language development are the simplified testing as we eliminate unnecessary code and improve the printing of results.udIn the Introduction, we will briefly describe technologies for which tests are meant, present a problem that needs to be solved, and expectations after the finished thesis.udThe second chapter will introduce characteristics of domain-specific languages. We expose basic characteristics and we divide them into groups. Moreover, we present technologies used for the development of DSL.udThe third chapter describes the primary problem and explains why certain technologies were used, as well as their advantages in disadvantages. Furthermore, we will present basic cornerstones required for construction of DSL.udThe fourth chapter presents usage and activities of our language on a real project. We briefly describe the project and the process of testing.udIn the last chapter we present final conclusions, emphasizing the fact the newly created language is much more efficient at test writing. We present the possibilities of further development of the language as well.
机译:文凭论文的目的是介绍特定领域语言的开发和实现,该语言可以更快,更轻松地编写Mocha测试。特定于域的语言是次要的计算机语言,主要关注特定应用程序域中的问题。为了开发解决方案,使用了JavaScript计算机语言的Node.js环境。我们的测试环境将是Mocha,这是JavaScript平台最常用的环境。测试人员将在Mocha环境中使用简化的解决方案。 ud针对特定领域的语言开发的主要要求是简化测试,因为我们消除了不必要的代码并改善了结果的打印。 ud在简介中,我们将简要介绍测试技术意思是,提出了一个需要解决的问题,并在完成论文后提出了期望。 ud第二章将介绍领域特定语言的特征。我们公开基本特征并将其分为几类。此外,我们还介绍了用于DSL开发的技术。 ud第三章介绍了主要问题,并解释了为什么使用某些技术以及它们的优缺点。此外,我们将介绍构建DSL所需的基本基础。 ud第四章介绍了在实际项目中我们语言的用法和活动。在上一章中,我们介绍了最后的结论,强调了新创建的语言在编写测试方面更加有效的事实。我们还提供了进一步开发语言的可能性。

著录项

  • 作者

    Zaletelj Uroš;

  • 作者单位
  • 年度 2017
  • 总页数
  • 原文格式 PDF
  • 正文语种
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号