DOH

Testing Dojo with DOH without local Dojo installation

妖精的绣舞 提交于 2019-12-25 05:08:08
问题 I'm trying to work out how to use DOH to test Dojo modules if I don't install Dojo locally to my project. I'm working in Eclipse and ideally, I'd like something that I can run as part of a Maven build eventually. The Dojo package is 5-20Mb and I don't want to have it stashed in my source control system with each project if possible. I've tried a few options with the runner.html test runner, but DOH is going to need to find a Dojo somewhere, and then it seems that modules will be found

TDD的JavaScript单元测试工具

一个人想着一个人 提交于 2019-12-22 20:39:45
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 我研究并考虑了许多JavaScript单元测试和测试工具,但一直无法找到合适的选项来保持与TDD的完全兼容。 那么,是否有一个完全符合TDD的JavaScript单元测试工具? #1楼 看一下 Dojo对象线束(DOH)单元测试框架 ,它是JavaScript单元测试的几乎与框架无关的工具,并且没有任何Dojo依赖项。 使用Dojo Objective Harness对Web 2.0应用程序进行单元测试时 ,对此有很好的描述。 如果要自动化UI测试(许多开发人员的 苦恼 ),请查看 doh.robot (临时向下更新:其他链接 http://dojotoolkit.org/reference-guide/util/dohrobot.html ) 和 dijit .robotx (暂时关闭) 。 后者专为验收测试而设计。 更新: 引用的文章介绍了如何使用它们,如何模拟用户使用鼠标和/或键盘与UI交互以及如何记录测试会话,以便以后可以自动“播放”它。 #2楼 作为专家,您可以“在实际的浏览器上运行”,但是根据我的经验,这是一个缺点,因为它运行缓慢。 但是,使之具有价值的是非浏览器替代品缺乏足够的JS仿真。 如果您的JS非常复杂,以至于仅在浏览器中进行测试就足够了,但是还可以考虑以下两个选项: HtmlUnit :

Javascript Testing framework similar to dojo DOH

谁都会走 提交于 2019-12-11 11:13:13
问题 Is there any framework in javascript similar to dojo DOH? I am looking for testing framework which is browser-based like dojo DOH, it provide support for both browsers and JS runtime environment. In simple words, I am looking for: A simple browser-based graphical front end and runner file. Why I am looking for other Testing unit instead of dojo DOH? Dojo DOH come with complete package of DOJO, so if I develop an application in dojo then it good to use dojo DOH. Suppose I develop an

How to run Dojo DOH unit-tests through Jenkins?

限于喜欢 提交于 2019-12-03 15:59:27
问题 Has anyone tried integrating Dojo DOH unit-tests with Jenkins? I'd like to do the following, but don't want to reinvent it if this has already been done. So, I'm thinking: Kick off the DOH-tests from a post-build step in Jenkins and wait for the results Run the tests themselves in a headless-browser (e.g. Crowbar) Parse the succes/error-count from the HTML returned by Crowbar Find (or write) a Jenkins plugin that will (a) fail the build if there are failing tests, (b) render the test results,

How to run Dojo DOH unit-tests through Jenkins?

北城以北 提交于 2019-12-03 06:09:27
Has anyone tried integrating Dojo DOH unit-tests with Jenkins? I'd like to do the following, but don't want to reinvent it if this has already been done. So, I'm thinking: Kick off the DOH-tests from a post-build step in Jenkins and wait for the results Run the tests themselves in a headless-browser (e.g. Crowbar) Parse the succes/error-count from the HTML returned by Crowbar Find (or write) a Jenkins plugin that will (a) fail the build if there are failing tests, (b) render the test results, (c) possibly integrate results into the CI game plugin Questions: Has this been done before? Do you

DNS-over-HTTPS 的下一代是 DNS ON BLOCKCHAIN

久未见 提交于 2019-11-28 05:52:45
本文作者: PETER LAI ,是 Diode 的区块链工程师。在进入软件开发领域之前,他主要是在做工商管理相关工作。Peter Lai 也是一位活跃的开源贡献者。目前,他正在与 Diode 团队一起开发基于区块链的分散式 PKI(DPKI)。 下面是文章的完整内容: 上个月,英国互联网服务提供商行业协会 提名Mozilla获得今年互联网恶棍奖, 因为Mozilla计划支持DNS-over-HTTPS,绕过英国过滤义务和家长控制规定,从而破坏英国的互联网规范。 在 Diode 公司,我们认为 Mozilla 的 DNS-over-HTTPS 是增强最终用户隐私保护的一个好举措。但它却不是保护开放互联网的最佳选择,因为 DNS-over-HTTPS 至少目前是由 CloudFlare 和 Google 控制的。而我们建议的是使用“DNS-on-Blockchain”,这是安全,隐私保护和分散式DNS的替代方案。 什么是 DNS? DNS 是连接到Internet或专用网络计算机,服务或其他资源的分层和联合命名系统。根据 RFC 1035 定义,DNS的目标是提供一种命名资源的机制,使名称可以在不同的主机、网络、协议、互联网和管理组织中使用。它是一组将各种信息与域名(如IP地址)相关联的标准。 使用DNS服务器,我们不必记住连接到网站的IP地址。在浏览器中输入网站域名时