You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Obey the Testing Goat! TDD for the Web, with Python, Selenium, Django, JavaScript and pals... "Test-Driven Web Development with Python" aims to teach TDD for web programming. It uses a concrete example -- the development of a website, from scratch -- to explain the TDD metholology and how it applies to building web applications. It covers the Selenium browser-automation tool, unit testing, mocking
WebTestモジュールを使うと、WSGIベースのWebアプリをテストするコードを簡単に書くことができます。 インストール方法 pipでインストールできます。 from bottle import Bottle, HTTPResponse HOST='localhost' PORT=8080 DEBUG=True app = Bottle() def makeRes(code, data): data['retcode'] = code r = HTTPResponse(status=200, body=json.dumps(data)) r.set_header('Content-Type', 'application/json') return r @app.post('/aikotoba') def api_aikotoba(): o = request.json if o is N
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く