You run tests more than once It makes sense to automate anything you repeat 10+ times. Taurus improves experience of JMeter, Selenium and others.
You run tests more than once It makes sense to automate anything you repeat 10+ times. Taurus improves experience of JMeter, Selenium and others.
Python Testing Python Software Development and Software Testing (posts and podcast) I’d like to wrap up this recent series of pytest fixture posts by presenting my version of some sort of reference. Since this post is running a bit long, here are some links to the content buried in here. Bare bones example Three ways to use a fixture Name it, usefixtures, and autouse. Usefixtures example Fixture f
Web の負荷試験ツールとして代表的なのは Apache JMeter だと思いますが、 Apache JMeter 自体が結構重いのと、テストシナリオの保守が GUI ツールでは結構ツライ (シナリオファイルは XML ですが、とても人間が手を加えられるような代物じゃない) なあということで代替となるものを探していました。 で、心惹かれたのが以下のツールです。 Gatling Tsung Locust Gatling は非常によさそうなんですが、うーん要 JDK か……あとは複数台から負荷を掛けることができないというのもちょっとマイナスですね。まあどっちもどうにかしようと思えばどうにかなるポイントではあるんですけど。 Tsung は Erlang 製で、仕事で Erlang 使う可能性も出てくる気がするのでこれで慣れ親しんでおくのもいいかなーと思ってシナリオファイルを覗いてみたら ド直球
» Locust Documentation Edit on GitHub Locust Documentation¶ Getting started¶ What is Locust? Features Name & background Authors License Installation Pre-release builds Install for development Your first test Locust’s web interface Direct command line usage / headless More options Next steps Writing Locust tests¶ Writing a locustfile Auto-generating a locustfile User class Tasks Events HttpUser cla
複数の Python バージョンでテストを実行するツールに tox があります。 tox と pytest で Python 2/3 両対応のテストを実行する - forest book tox ツールそのものがとても便利なのですが、この tox テストを並列実行してくれるツールがリリースされました。 detox: Python Package Index 既に tox を使っている環境であれば、detox をインストールするだけで良いです。 $ pip install detox 使い方は tox と全く同じで特別な設定は不要です。tox コマンドを実行する代わりに detox コマンドを実行します。試しに実行してみましょう。 (test)$ detox py26 create: /Users/t2y/work/repo/littlehttpserver/.tox/py26 GLOB s
Fudge Documentation¶ Fudge is a Python module for using fake objects (mocks and stubs) to test real ones. In readable Python code, you declare what methods are available on your fake and how they should be called. Then you inject that into your application and start testing. This declarative approach means you don’t have to record and playback actions and you don’t have to inspect your fakes after
Googleのオープンソースプロジェクトは16日、Python用テストフレームワーク「MOX」を公開した。Google Code内のMOXプロジェクトのページよりダウンロードできる。 MOXはPython向けのMockオブジェクトフレームワークで、JavaのライブラリであるEasyMockを基に作られた。データベースやファイルシステム、Pythonのクラスやモジュールといった、テストの際に依存関係があるパーツのMockオブジェクト(ダミー)を作成できる。 Mockオブジェクトとは、実際の処理を行わずに定数値だけを返すオブジェクト。テスト対象モジュールがダミーオブジェクトとして呼び出し、使用する。 例えば入力メソッドの動きをテストする際は、データベースのローカルコピーを作成するかわりにMOXを使うことで、データベースに対する呼び出しや反応をシミュレーションできる。 インストールする場
Classes in Python allow developers to create reusable components for their code, making it easier to maintain and modify. In this article, we will explore the basics of classes in Python and how to use them effectively in your projects. Basic Principles of Object-Oriented Programming Object-oriented programming (OOP) is a programming paradigm that uses objects and their interactions to design appl
This document is about the usage of the py.test testing tool. There is also document describing the implementation and the extending of py.test. 1 starting point: py.test command line tool We presume you have done an installation as per the download page after which you should be able to execute the 'py.test' tool from a command line shell. py.test is the command line tool to run tests. You can
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く