注:此文由敏捷翻譯 – 關關編譯自 Joe Stagner 近日分享的博文。如需轉載,請閱讀文後版權宣告。本文只是JavaScript的工具集合,如需書籍資源,《你得學JavaScript》這篇文章已有推薦。
我最近做了很多客戶端OG開發,也計劃做更多。HTML5、JavaScript 和 CSS。
我正在做一個工作計時器,所以我在尋找一個JS測試框架,故我自己給不同的JavaScript工具做了一個列表。其中有些是商業產品,其他則是免費工具。
在IDE部分,我知道有很多工具。這個列表中有些是僅適用於Windows平臺,有些是Linux/Mac平臺。對我而言,跨平臺很重要。下面就是初始列表,如果你有其他好工具,可在評論中分享推薦。
1. 測試框架
- QUnit – http://docs.jquery.com/Qunit
- JSUnit – http://www.jsunit.net/
- JS Test Driver – http://code.google.com/p/js-test-driver/
- FireUnit – http://fireunit.org/
- JSunity -http://jsunity.com/
- JasUnit – http://code.google.com/p/jasproject/wiki/JasUnit
- Schutzpah – http://chutzpah.codeplex.com/
- YUI Test – http://developer.yahoo.com/yui/yuitest/
- RhinoUnit – http://code.google.com/p/rhinounit/
- JSUnitTest – https://github.com/drnic/jsunittest/
- JSEvidence – https://github.com/tobie/Evidence/
- JassertUnit – http://jsassertunit.sourceforge.net/docs/index.html
- JSCoverage – http://siliconforks.com/jscoverage/
- J3Unit – http://j3unit.sourceforge.net/
- JSNUnit – http://www.valleyhighlands.com/testingframeworks/JSNUnit/
2. BDD
- Pavlov – https://github.com/mmonteleone/pavlov
- JSSPEC – http://code.google.com/p/jsspec/
- SvrewUnit – https://github.com/nkallen/screw-unit
- Jasmine – http://pivotal.github.com/jasmine/
3. Mocking 框架
- JSmock – http://jsmock.sourceforge.net/
- JSmickito – http://jsmockito.org/
- MockMe – http://johanneslink.net/projects/mockme.html
- Qmock – https://github.com/andybeeching/qmock
- JSHamcrest – http://jshamcrest.destaquenet.com/
4. 編輯器/IDE
- JetBrains WebStorm – http://www.jetbrains.com/webstorm/
- VWD Express – http://www.microsoft.com/express
- CoffeeCup – http://www.coffeecup.com/html-editor/
- NetBeans – http://netbeans.org/
- Aptana – http://www.aptana.com/
- Komodo Edit – http://www.activestate.com/komodo-edit
- Edit Rocket – http://www.editrocket.com/features/javascript_editor.html
- Komposer – http://www.kompozer.net/
- Antechnius JavaScript Editor – http://www.c-point.com/
- 1st JavaScript Editor Pro – http://yaldex.com
5. 程式碼保護
- JSCruncher Pro – http://domapi.com/jscruncherpro/
- YUI Compressor – http://developer.yahoo.com/yui/compressor/
- Javascript Obfuscator – http://java-applets.org/javascript-obfuscator-linux.html
- JavaScript Obfuscator – http://javascript-source.com/buy.html
- AntiSoft HTML Protector http://www.antssoft.com/order.htm
- Closure Compiler – http://code.google.com/closure/
- JSMin – http://www.crockford.com/javascript/jsmin.html
- Digua – http://digua.sourceforge.net/
- ObfuscateJS – http://tools.2vi.nl/ + http://linux.softpedia.com/get/Utilities/ObfuscateJS-10350.shtml
- Stunnix – http://www.stunnix.com/prod/jo/
- Thicket – http://www.semdesigns.com/Products/Obfuscators/ECMAScriptObfuscator.html
- Jasob – http://www.jasob.com/
- JCE Pro – http://syntropy.se/en/2010/04/jce_pro_downloads/
- Scripts Encrypter – http://www.dennisbabkin.com/screnc/
- Shanes Obfuscator – http://www.shaneng.net/Main/JavaScriptObfuscator
- Jammer – http://rzr.online.fr/docs/shop/jammer.htm
- JS Strong – http://www.stronghtml.com/tools/js/
- JavaScript Scrambler – http://www.quadhead.de/jss.html
- HTML Protect – http://java-applets.org/javascript-obfuscator-linux.html
- IonCube HTML Obfuscator – http://www.ioncube.com/html_encoder.php
原文:Joe Stagner 翻譯:敏捷翻譯 – 關關
如需轉載,但請註明原文/譯文出處、譯文超連結和譯者等資訊,否則視為侵權,謝謝合作!