ECMA TR 104-2011 ECMA-262 Test Suite《ECMA-262测试套件(第1版)》.pdf

上传人:sofeeling205 文档编号:704857 上传时间:2019-01-03 格式:PDF 页数:8 大小:236.05KB
下载 相关 举报
ECMA TR 104-2011 ECMA-262 Test Suite《ECMA-262测试套件(第1版)》.pdf_第1页
第1页 / 共8页
ECMA TR 104-2011 ECMA-262 Test Suite《ECMA-262测试套件(第1版)》.pdf_第2页
第2页 / 共8页
ECMA TR 104-2011 ECMA-262 Test Suite《ECMA-262测试套件(第1版)》.pdf_第3页
第3页 / 共8页
ECMA TR 104-2011 ECMA-262 Test Suite《ECMA-262测试套件(第1版)》.pdf_第4页
第4页 / 共8页
ECMA TR 104-2011 ECMA-262 Test Suite《ECMA-262测试套件(第1版)》.pdf_第5页
第5页 / 共8页
点击查看更多>>
资源描述

1、 Reference number ECMA TR/12:2009 Ecma International 2009 ECMA TR/104 1st Edition / December 2011 ECMA-262 Test Suite COPYRIGHT PROTECTED DOCUMENT Ecma International 2011 Ecma International 2011 i Contents Page 1 Scope 1 2 References . 1 3 Abbreviations . 1 4 Status 1 5 Contributions . 1 6 Relation

2、to ECMA-262 Edition 5.1 1 ii Ecma International 2011 Ecma International 2011 iii Introduction Test262 is a project of Ecma Internationals Technical Committee 39 that has a goal to make a test suite widely available that can be used by ECMAScript implementers to improve their adherence to the Ecma-26

3、2 specification. The test suite consists of individual tests that have been contributed by Ecma TC39 members. The test262 test suite is publicly available and is designed to be executable by any modern web browser simply by loading the web page at http:/test262.ecmascript.org. Ecma Secretariat editi

4、ng note: The URLs in this draft Technical Report may change. In the spirit of the experimental Ecma Software Copyright Policy, it is the intention that all software mentioned in this draft Technical Report are stored/mirrored on servers that are fully under the control of Ecma International and that

5、 Ecma International will own a copyright of the software. This Ecma Technical Report has been adopted by the General Assembly of December 2011. iv Ecma International 2011 “COPYRIGHT NOTICE This document may be copied, published and distributed to others, and certain derivative works of it may be pre

6、pared, copied, published, and distributed, in whole or in part, provided that the above copyright notice and this Copyright License and Disclaimer are included on all such copies and derivative works. The only derivative works that are permissible under this Copyright License and Disclaimer are: (i)

7、 works which incorporate all or portion of this document for the purpose of providing commentary or explanation (such as an annotated version of the document), (ii) works which incorporate all or portion of this document for the purpose of incorporating features that provide accessibility, (iii) tra

8、nslations of this document into languages other than English and into different formats and (iv) works by making use of this specification in standard conformant products by implementing (e.g. by copy and paste wholly or partly) the functionality therein. However, the content of this document itself

9、 may not be modified in any way, including by removing the copyright notice or references to Ecma International, except as required to translate it into languages other than English or into a different format. The official version of an Ecma International document is the English language version on

10、the Ecma International website. In the event of discrepancies between a translated version and the official version, the official version shall govern. The limited permissions granted above are perpetual and will not be revoked by Ecma International or its successors or assigns. This document and th

11、e information contained herein is provided on an “AS IS“ basis and ECMA INTERNATIONAL DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR

12、FITNESS FOR A PARTICULAR PURPOSE.“ Ecma International 2011 1 ECMA-262 Test Suite 1 Scope This Ecma Technical Report describes a test suite and harness developed by TC39 partners to validate how well an implementation of the Standard ECMA-262 Edition 5.1 adheres to the ECMA-262 set of standards. It i

13、s assumed that readers are familiar with general software testing methodologies and the Standard ECMA-262 Edition 5.1. 2 References For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. ECMA-262

14、, ECMAScript Language Specification, Edition 5.1 (June 2011) 3 Abbreviations TC39 Technical Committee 39 ES5 ECMAScript 5 4 Status Development of test262 is an on-going process. As of September 2011, test262 Version 5 consisted of 11,028 individual test files covering the majority of the pseudo-code

15、 algorithms defined in the Standard ECMA-262 Edition 5.1. Each of these files contains one or more distinct test cases. This marks the most comprehensive ECMAScript 5 test suite to date. While test coverage is broad, TC39 does not consider coverage to be complete and as with any software project the

16、re exists the possibility of omissions and errors. As TC39 members correct issues or contribute further tests the test suite will be updated at http:/www.ecma-international.org/activities/Languages/test262-Latest.zip. Prior snapshots of the test suite will be available at http:/www.ecma-internationa

17、l.org/activities/Languages/test262/archive.htm. The active development version of the source code may be viewed at http:/hg.ecmascript.org/tests/test262. 5 Contributions The tests are composed of contributions from Ecma members Google and Microsoft. Google contributed tests from its Sputnik project,

18、 a test suite for ECMA-262 Edition 3. Microsoft contributed tests from its Internet Explorer Testing Center, a test suite for the Standard ECMA-262 Edition 5.1 features and changes from Edition 3. Development of test262 began in earnest in summer 2010. 6 Relation to ECMA-262 Edition 5.1 The Standard

19、 ECMA-262 Edition 5.1 specification provides the normative definition of the ECMAScript programming language. Test262 is a non-normative test suite for implementations of Standard ECMA-262 Edition 5.1. Any differences between the requirements of ECMA-262 Edition 5.1 and those tested by test262 must be resolved in favour of the ECMA-262 Edition 5.1specification. Ecma International 2011

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > 其他

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1