2012年3月6日

Some usefule jasmine terms and its wiki pages

摘要: 1Suites and specs1.1SpecsEach spec is, naturally, a JavaScript function. You tell Jasmine about a spec with a call to it() with a description string and the function. The string is a description of a behavior that you want your production code to exhibit; it should be meaningful to you when reading 阅读全文

posted @ 2012-03-06 21:20 Jalen Wang 阅读(185) 评论(0) 推荐(0) 编辑

Configuration file for test runner.

摘要: IntroductionConfiguration file is written in YAML and is used to tell the test runner which files to load to browser and in which order. By default the JsTestDriver looks for the configuration file in the current directory and with the name jsTestDriver.conf. You can use --config command line option 阅读全文

posted @ 2012-03-06 18:39 Jalen Wang 阅读(223) 评论(0) 推荐(0) 编辑

导航