ArtifactFileControllerTest

16

tests

0

failures

0

ignored

1.147s

duration

100%

successful

Tests

Test Duration Result
directory URL of an index-less report directory holding several pages answers 404 0.025s passed
directory URL serves the single page of an index-less report directory 0.104s passed
missing file answers 404 0.022s passed
path traversal out of the artifact directory is rejected 0.034s passed
permanent URL answers 404 when the green build's artifacts are gone 0.021s passed
permanent URL of an unknown branch key answers 404 0.031s passed
permanent URL rejects path traversal out of the artifact directory 0.021s passed
permanent URL serves even normally cacheable files with no-store 0.049s passed
permanent URL serves the file from the branch's latest green build 0.042s passed
permanent URL with a bare trailing slash redirects to the artifact index page 0.027s passed
permanent directory URL with trailing slash serves the directory's index.html 0.026s passed
permanent directory URL without trailing slash redirects to the trailing-slash form 0.030s passed
serves a log file as UTF-8 text with no-cache headers 0.033s passed
serves an html artifact with no-cache headers 0.557s passed
serves nested report files without no-cache headers 0.025s passed
unknown artifact key answers 404 0.100s passed

Standard output

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