???????
??????Java????Apache?? Spring?? JBoss ???????????????????????????????????????ж????????????Nodejs?и????????????????????????????????????
????Nodejs????: Jasmine??????????Karma???????????????Grunt???Karma???????????Yeoman????????????????????npm??nodejs????????????bower??javascript????????????Java????JUnit?????????? Maven???????????????????????????????????壬???????????
????Nodejs???????????????????????????????????????????????????
????????д???е???????????μ?????Jasmine+Karma?????????????
??????
????Karma?????
????Karma????
????Karma + Jasmine????
????????????????
????Karma??istanbul????????
????Karma??????????????????
????1. Karma?????
????Karma??Testacular???????????2012??google?????Testacular??2013??Testacular?????Karma??Karma?????????е?????????????????????е???????????????Cassandra?????????????2????
????Karma?????????Node.js??JavaScript??????й??????????Test Runner?????ù???????????????????Web??????????????CI??Continuous integration???????????????????????????á?????????????????????????????????(Watch)?????仯???????????У????console.log???????????
????Jasmine???????????????????????Karma??Jasmine???????????ɡ?Jasmine????????ο????£?jasmine?????????????????
????istanbul????????????????????鶴??????????????????????????????????????
????2. Karma????
??????????:
????win7 64bit?? node v0.10.5?? npm 1.2.19
???????Karma
~ D:workspacejavascript>mkdir karma
~ D:workspacejavascript>cd karma
~ D:workspacejavascriptkarma>npm install -g karma
# ???????????
~ D:workspacejavascriptkarma>karma start
INFO [karma]: Karma v0.10.2 server started at http://localhost:9876/
INFO [Chrome 28.0.1500 (Windows 7)]: Connected on socket nIlM1yUy6ELMp5ZTN9Ek
???????????????karam???檔