aio-libs / aio-libs/aiocouchdb

Improve test suite

オープン
#7 コメント 0 件 リアクション 0 件 担当者 1 名 @kxepal が担当を希望しています GitHub で見る
enhancement
主要言語
Python
スター
54
フォーク
17
PR マージ指標
30日以内にマージされた PR はありません

説明

Currently, test suite is quite a overly complicated. It has two mode to run: "mock" and "couchdb". For the "mock" it mocks (obliviously!) HTTP request method and only test logic for some magically expected response. For "couchdb" mode it makes real requests to CouchDB instance and it makes sure that our imaginations of how things should work is close to real.

Initially, that was good idea: mock tests runs faster, require no service to run and, hell, why not? However, since those time it started to be bad idea because mocks hides real issues and keeping both modes to run the same test cases makes life harder.

Current plan is to completely move away from mock tests to integration ones. Despite all problems this will make sure that aiocouchdb really works with real service right.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。