Coder Social home page Coder Social logo

javascript-mocha's Introduction

TDDBC for JavaScript with Node.js

これは、TDDBCのNode.js向けプロジェクトです。

Documentation

動作環境

  • Node.js : 8以上

セットアップ

  • まずはじめに、プロジェクトをcloneしてください。
$ git clone https://github.com/tddbc/javascript-mocha.git
  • 次に、依存関係をダウンロードしてください。
$ npm install
  • 最後に、下記の様に表示されるか、確認してください。
$ npm test

> [email protected] pretest /path/to/projects/javascript-mocha
> npm run lint


> [email protected] lint /path/to/projects/javascript-mocha
> eslint 'lib/**' 'test/**'


> [email protected] test /path/to/projects/javascript-mocha
> mocha --require intelli-espower-loader



  Sample
    .status
      ✓ は、trueであるべき
    #say()
      ✓ は、"Hello TDDBC!"が返ってくるべき


  2 passing (9ms)

$

コマンド

コマンド 内容
npm test lint とテストをまとめて行います
npm run lint コードの静的検証を行います
npm run watch ファイル変更を監視し、変更があったらテストを自動で行います

License

Copyright (c) 2013 TDD BaseCamp and other contributors

http://devtesting.jp/tddbc/

https://github.com/tddbc

Licensed under the MIT license.

javascript-mocha's People

Contributors

dependabot[bot] avatar diwao avatar do7be avatar grimrose avatar nnasaki avatar shishi avatar sue445 avatar toshi-kawanishi avatar twada avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

javascript-mocha's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.