跨终端、跨浏览器开发
IE has another issue in regards to testing. A Windows machine will only ever have one version of IE installed at a time: if you’ve updated to Edge, you can’t keep a copy of IE9 on your system. By contrast, installing multiple versions of Firefox or Safari is a relatively straightforward process. (Not that doing so is usually necessary: the upgrade rate for non-IE browsers is fast, usually relieving you from the necessity of supporting more than several versions back.)
IE在测试方面还有另一个问题。 Windows计算机一次只能安装一个版本的IE:如果您已更新到Edge,则无法在系统上保留IE9的副本。 相比之下,安装多个版本的Firefox或Safari是一个相对简单的过程。 (这样做通常不是必须的:非IE浏览器的升级速度很快,通常使您不必再支持多个版本。)
The ideal solution is to have different versions of IE running on virtual machines within your operating system.
理想的解决方案是在操作系统内的虚拟机上运行不同版本的IE 。
An increasingly favoured solution is to use an online virtual environment, such as browsershots.org, browserstack or CrossBrowserTesting. Generally speaking these tools are easier to use than installing a suite of browsers on your own machine; they can also be used from any computer with an internet connection, and provide a wide coverage of different browsers and platforms. However, being internet services, rather than local programs, they are also somewhat slower in providing feedback. As a result, anticipating and fixing as many problems as you can in advance becomes important, rather than working on problems line-by-line and waiting for the online emulator to respond in order to check each one.
越来越受欢迎的解决方案是使用在线虚拟环境,例如browsershots.org , browserstack或CrossBrowserTesting 。 一般来说,这些工具比在自己的计算机上安装一套浏览器更容易使用。 它们也可以在任何具有互联网连接的计算机上使用,并提供各种浏览器和平台的广泛覆盖。 但是,作为互联网服务而不是本地程序,它们在提供反馈方面也较慢。 结果,尽可能多地预测和解决问题变得很重要,而不是逐行处理问题并等待在线仿真器进行响应以检查每个问题。
翻译自: https://thenewcode.com/94/Cross-Browser-Development-Testing
跨终端、跨浏览器开发