ArtifactFileControllerTest

16

tests

0

failures

0

ignored

0.263s

duration

100%

successful

Tests

Test Duration Result
directory URL of an index-less report directory holding several pages answers 404 0.006s passed
directory URL serves the single page of an index-less report directory 0.010s passed
missing file answers 404 0.008s passed
path traversal out of the artifact directory is rejected 0.008s passed
permanent URL answers 404 when the green build's artifacts are gone 0.007s passed
permanent URL of an unknown branch key answers 404 0.009s passed
permanent URL rejects path traversal out of the artifact directory 0.006s passed
permanent URL serves even normally cacheable files with no-store 0.007s passed
permanent URL serves the file from the branch's latest green build 0.009s passed
permanent URL with a bare trailing slash redirects to the artifact index page 0.007s passed
permanent directory URL with trailing slash serves the directory's index.html 0.009s passed
permanent directory URL without trailing slash redirects to the trailing-slash form 0.008s passed
serves a log file as UTF-8 text with no-cache headers 0.007s passed
serves an html artifact with no-cache headers 0.130s passed
serves nested report files without no-cache headers 0.008s passed
unknown artifact key answers 404 0.024s passed

Standard output

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