sh -c "`curl https://raw.github.com/shpec/shpec/master/install.sh`" Using shpec This repo itself is using shpec, so feel free to use it as an example. Here is the basic structure that you'll want: └── shpec └── an_example_shpec.sh └─... 続きを読む
event, ruby, rspec | 1st iterationfavotter の みたいな機能を RSpec で作りましょう message_filter_spec.rb を作成 require 'rubygems' require 'spec' describe MessageFilter do end git に登録 $ ls message_filter_spec.rb $ git init Initialized empt... 続きを読む
Installation Install the following packages from PyPI: nose: the unit test runner; nose_machineout: The machineout plugin formats the nose output so that Vim can parse it more easily; vim_bridge: This is required for the vim plugin scripts, t... 続きを読む
vim-MakeGreen makegreen.vim is a vim (http://www.vim.org) plugin that runs make and shows the test run status with a red or green bar. Installation Copy all files to your ~/.vim directory or use Tim Pope's excellent pathogen plugin (http://gi... 続きを読む
vim から nose を実行 前回は、nose の基本機能について紹介しましたが、今回は テキストエディターの vim から nose を実行する方法について解説します。 インストール まず、vim 用プラグインの nose-machineout を easy_install を使ってインストールします... 続きを読む
A simple compiler for executing nosetests on VIM. Originally written by Olivier Le Thanh Duong at and modified by lambdalisue. Useful to use with vim-makegreen See http://blog.staz.be/?post/2010/09/04/Python-unit-test-and-vim for find how to ... 続きを読む
今年は色々なことに手を出してみよう、ってことで少し前からGoogle App Engine(以下GAE)で、あるモノを作っている。モノ自体は近いうちに公表できると思う。 基本的に、Pythonと標準っぽいフレームワークだけでやってみている。作っているものがそれなりにシン... 続きを読む
nose is nicer testing for python nose extends unittest to make testing easier. Installation and quick start¶ On most UNIX-like systems, you’ll probably need to run these commands as root or using sudo. Install nose using setuptools/distribute: 続きを読む
Overview NoseGAE is a nose plugin that makes it easier to write functional and unit tests for Google App Engine applications. When the plugin is installed, you can activate it by using the --with-gae command line option. The plugin also inclu... 続きを読む
BDDという言葉も割と人によって指すものが違うようなので「俺の中でのBDDはこうだよ」って内容のエントリ。別に絶対的なものでもないと思うので参考までに。 結論から とりあえず結論だけ知りたい人向けに。 BDDにはふたつの種類がある 1. TDDの言い換えのBDD(... 続きを読む
This conversation is missing your voice. Take five seconds to join Vimeo or log in. 続きを読む
作者 Dennis Byrne, 翻訳者 渡辺 裕之 投稿日 2009年4月9日 午前1時33分 コミュニティ .NET, Ruby, Java トピック JavaScript, ユニットテスト タグ テスト この記事は保守性の高いJavaScriptを作成するための集中講座です。ユニット・テストを書いて、そのテス... 続きを読む