testingAssignment2

  • l6_428271
    了解作者
  • 200.1KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-11 23:27
    上传日期
测试驱动的 JS 评估 改编自 Rebecca Murphey 出色的 JS-Assessment 并享有版权(请参阅下面的许可) 回购目录,运行: npm install node bin/serve 然后,您可以在浏览器中通过查看测试。 当您访问该页面时,所有测试都应该失败; 你的工作是让测试通过。 为此,您需要参考tests/app目录中文件中的tests/app ,并编辑app/目录中的文件。 更新测试后,您可以在浏览器中重新加载测试页面以查看它是否有效。 您还可以在命令行上运行(大部分)测试: npm test 命令行运行程序正在进行中; 欢迎投稿:) 如果你喜欢的话,你也可以使用 live-reload 和 grunt-watch 进行开发: npm install -g grunt-cli npm install grunt develop 执照 版权所有
testingAssignment2-master.zip
  • testingAssignment2-master
  • server
  • server.js
    847B
  • bin
  • serve
    99B
  • package.json
    944B
  • data
  • testdata.json
    150B
  • tests
  • runner.js
    794B
  • runner.html
    597B
  • app
  • objects.js
    1.7KB
  • bestPractices.js
    1KB
  • flowControl.js
    1.2KB
  • logicalOperators.js
    899B
  • arrays.js
    3.6KB
  • functions.js
    1.7KB
  • libs
  • chai.js
    103.9KB
  • mocha.css
    3.7KB
  • mocha.js
    109.9KB
  • app
  • config.js
    641B
  • objects.js
    270B
  • bestPractices.js
    767B
  • flowControl.js
    624B
  • logicalOperators.js
    192B
  • arrays.js
    790B
  • functions.js
    251B
  • Gruntfile.js
    821B
  • .gitignore
    37B
  • help.txt
    405B
  • lib
  • jquery.js
    242.4KB
  • plugins
  • text.js
    3KB
  • use.js
    2.8KB
  • underscore.js
    34.3KB
  • require.js
    77.8KB
  • backbone.js
    51.9KB
  • can.js
    73.8KB
  • README.md
    1.6KB
  • .jshintrc
    409B
内容介绍
# A test-driven JS assessment Adapted from Rebecca Murphey's excellent JS-Assessment and copyrighted as such (see license below) directory of the repo, run: npm install node bin/serve You can then view the tests in your browser at [http://localhost:4444](http://localhost:4444). When you visit that page, all of the tests should be failing; your job is to get the tests to pass. To do this, you'll need to refer to the tests in the files in the `tests/app` directory, and edit the files in the `app/` directory. Once you update a test, you can reload the test page in the browser to see whether it worked. You can also run (most of) the tests on the command line: npm test The command line runner is a work in progress; contributions welcome :) You can also develop with live-reload and grunt-watch if that's your thing: npm install -g grunt-cli npm install grunt develop # License Copyright © 2012 Rebecca Murphey. This work is licensed under the [Creative Commons Attribution-Share Alike 3.0](http://creativecommons.org/licenses/by-sa/3.0/) license. You are free to share and remix the work, and to use it for commercial purposes under the following conditions: - *Attribution* — You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work). - *Share Alike* — If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one. Any of these conditions can be waived if you get permission from the copyright holder.
评论
    相关推荐