51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 8887|回复: 0
打印 上一主题 下一主题

How to make your test automation run in parallel?

[复制链接]
  • TA的每日心情
    慵懒
    2019-2-2 13:49
  • 签到天数: 242 天

    连续签到: 1 天

    [LV.8]测试军长

    跳转到指定楼层
    1#
    发表于 2019-2-18 10:48:59 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
    原文作者:Nikolay Advolodkin
    作者联系方式:无
    原文地址链接:https://techbeacon.com
    推荐理由:值得推荐的自动化测试干货

      At some point in your test automation, you will run into a common problem: Too many automated UI tests take too long to execute.
      The most powerful way to speed things up is to execute tests in parallel. Unfortunately, getting automated tests to run in parallel is not so easy. Typically, thread safety is not something that is baked into automation. Thread safety ensures that the code is written so that a program can run and manipulate data structures without unintended consequences.
      There are mandatory requirements for tests that can run in parallel. These are the same conditions that some of our customers use to help run 50,000 automated tests per day. Here are the four requirements.
      1. Your tests must be atomic
      Your automated tests should form a single irreducible unit. This means tests should be extremely focused, and each should test just one thing. A single automated test should not test something such as end-to-end automation.


    ......
    (下载附件即可查看原文)
    【申请翻译方式】
    ① 发送一段试译内容到我们的邮箱 editor@51testing.com,通过后即可翻译
    ② 加小编 QQ:1718403480,备注:翻译试译


    【翻译奖励】
    ① 翻译文章经过评审入选后,即可发布在《51测试天地》电子刊物中,并有相应稿费支付!还有机会上网站头条,得到大力宣传!
    ② 未入选文章,联系小编(QQ:1718403480),也可以获得博为峰网校10元代金券

    如果你想锻炼自己的翻译能力,或者想学习最新最热的技术内容,欢迎加入到我们的翻译队伍中来!!

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有帐号?(注-册)加入51Testing

    x
    分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
    收藏收藏
    回复

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /1 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-11-23 18:21 , Processed in 0.066557 second(s), 29 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表