livetest

Software screenshot:
livetest
Software ətraflı:
Version: 0.5
Tarixi Upload: 12 May 15
Geliştirici: Scott Torborg
Lisenziya: Pulsuz
Məşhurluq: 2

Rating: nan/5 (Total Votes: 0)

Ian Bicking əla WebTest ilham, & nbsp; livetest sadə Pythonic test eyni cür çalışan sites qarşı istifadə etmək üçün imkan verir bir uzantısıdır. WebTest üçün yazılı bir çox testlər LiveTest birbaşa istifadə edə biləcəklər.
Bu tam platforma (app server, yük müvazinət, marşrutlaşdırma, DNS, və s) yalnız daxili WSGI proqram çox test imkan verir.
Qeyd: Fayl yüklenenler untested var.
istifadə
Setup yalnız bir kompüter adı ilə qarşı test üçün app:
>>> Idxal livetest
>>> App = livetest.TestApp (www.google.com)
Yalnız WebTest kimi sorğu etmək:
>>> Resp = app.get ('/')
Grab formaları:
>>> Resp.forms
{0 <0x10118ac50 at webtest.Form object>}
>>> Form = resp.forms [0]
>>> Form.fields
{"BtnI: [<0x10118ae10 at webtest.Submit object>]
& Nbsp; 'btnG: [<0x10118add0 at webtest.Submit object>]
& Nbsp; 'q': [<0x10118ad90 at webtest.Text object>]
& Nbsp; 'mənbə: [<0x10118ad10 at webtest.Hidden object>]
& Nbsp; 'hl: [<0x10118acd0 at webtest.Hidden object>]
& Nbsp; 'yəni': [<0x10118ad50 at webtest.Hidden object>]}
Formaları təqdim:
>>> Forma ['q'] = 'python test "
>>> Resp = form.submit ()
Cavab Test stuff:
>>> Resp.mustcontain (Çevik ',' unittest ',' PyUnit)
>>> Resp
 / 25498>
>>> Resp.status
"200 OK '

tələblər

  • Python

Geliştirici digər proqram Scott Torborg

Mai Tai
Mai Tai

20 Feb 15

seolint
seolint

11 May 15

github-plots
github-plots

11 May 15

Şərh livetest

Şərhlər tapılmadı
Şərh əlavə
Images yandırın!