BuildsApiControllerTest

20

tests

0

failures

0

ignored

0.402s

duration

100%

successful

Tests

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

Standard output

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