- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
使用 bash shell 脚本进行功能测试(Use the bash shell script for functional testing)
使用 bash shell 脚本进行功能测试(Use the bash shell script for functional testing)
Create scripts
Functional testing is a critical part of software development -- and the Linux that has been loaded into the Bash can help you perform functional testing easily. In this article, Angel Rivera will show you how to use Bash shell scripts to perform functional tests of Linux applications through line commands. Since this script relies on the return code of the command line, you cannot apply this method to the GUI application.
Functional testing is a phase of the development cycle that tests software applications at this stage to ensure that the software functions are expected to correctly handle code errors as well. This work is usually done prior to the end of the unit test of a single module, before the system testing of the product as a whole under load / weight conditions.
There are many testing tools on the market that provide functionality that helps functional testing. However, first you have to acquire them, then install them and configure them, which will take up your valuable time and effort. Bash can help you get rid of these trivial things, which can speed up the process of testing.
The advantage of using Bash shell scripts for functional testing is that:
The Bash shell script has been installed and configured in the Linux system. Theres no need to take time to prepare it. You can create and modify Bash shell scripts using a text editor, such as VI, provided by Linux. You dont need to get specialized tools for creating test programs.
If you already know how to develop Bourne or Korn shell scripts, thats enough for how to use Bash shell scripts. The learning curve no longer exists for you.
Bash shell provides a large number of programming constructs for developing scripts from very simple to medium complexity.
Suggestions for porting scripts from Korn to Bash
If you already have a ready Korn shell script and want to transplant them to Bash, you need to consider the follow
您可能关注的文档
- 伴你成长(Grow up with you).doc
- 保健品会销形式的晋级与改革战略(Promotion and reform strategy of health products in the form of marketing).doc
- 保健品分类().doc
- 保安服务手册(Security Service Manual).doc
- 保守国家秘密知识竞赛(Keep secret knowledge contests).doc
- 保护接(Protective connection).doc
- 保定周边旅游景点介绍及路线指南(Introduction to tourist attractions and route guides around Baoding).doc
- 保密题库【公务员】(Secret questions library [civil servants]).doc
- 保持精力充沛(Stay energetic).doc
- 保持人材优先的开展计谋!(Talent development strategy!).doc
- 使用java读写properties属性文件(Use java to read and write properties property files).doc
- 供应smc全系列电磁阀,气缸,气动元件,接头,福建漳州一级代理(Supply SMC full range of solenoid valve, cylinder, pneumatic components, joints, Fujian, Zhangzhou agents).doc
- 供应商管理 零售业管理的基础(Supplier management, retail management fundamentals).doc
- 使用bios 扩展 int 13h 中断对硬盘进行读写(Use BIOS to extend the int 13h interrupt to read and write on the hard disk).doc
- 供应链管理的基本思想(The basic idea of supply chain management).doc
- 供应除氧设备专用的优质海绵铁除氧剂滤料(Supply high quality sponge iron deoxidizer filter material for deoxidizing equipment).doc
- 供热工程基本知识(Basic knowledge of heating engineering).doc
- 促进校长专业发展,加速农村中学改进(Promote the professional development of principals and accelerate the improvement of rural secondary schools).doc
- 俄罗斯的欧洲战略(Russia's European strategy).doc
- 俄语单词快速记忆法(Russian word quick memory method).doc
文档评论(0)