BuildsApiControllerTest

20

tests

0

failures

0

ignored

0.691s

duration

100%

successful

Tests

Test Duration Result
a token in the query string is not accepted — the header is the only way 0.018s passed
branches answers the branch listing with unknown placeholders for never-built branches 0.047s passed
cancel answers 202 for a cancellable build and 404 otherwise 0.032s passed
cancel without token answers 403 0.014s passed
current answers the running builds with live status and log size 0.065s passed
current log answers the tail from the requested offset 0.045s passed
current log of an unknown artifact key answers 404 0.032s passed
delete of an unknown artifact key answers 404 without pruning 0.047s passed
delete removes the result and prunes its artifacts 0.036s passed
history answers all builds 0.031s passed
history carries the permanent URL on the branch's latest green build only 0.023s passed
latest answers one entry per branch with lowercase status and duration in seconds 0.064s passed
restart enqueues the branch's last recorded commit, also for branch names with slashes 0.061s passed
restart of a branch without recorded builds and without origin counterpart answers 404 0.015s passed
restart of a named build re-runs its build definition on its real branch 0.022s passed
restart of a never-built branch enqueues its origin head commit 0.033s passed
restart with a wrong token answers 403 and does not build 0.024s passed
restart with atOriginHead builds the branch as it is now, not the recorded commit 0.037s passed
restart with atOriginHead keeps the recorded build definition and its real branch 0.023s passed
restart with atOriginHead of a branch gone from origin is refused by name 0.022s passed

Standard output

Creating nstance of class de.hoennig.werkator.server.BuildsApiControllerTest