ArtifactFileControllerTest

16

tests

0

failures

0

ignored

0.493s

duration

100%

successful

Tests

Test Duration Result
directory URL of an index-less report directory holding several pages answers 404 0.012s passed
directory URL serves the single page of an index-less report directory 0.017s passed
missing file answers 404 0.007s 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.014s passed
permanent URL of an unknown branch key answers 404 0.012s passed
permanent URL rejects path traversal out of the artifact directory 0.015s passed
permanent URL serves even normally cacheable files with no-store 0.010s passed
permanent URL serves the file from the branch's latest green build 0.010s passed
permanent URL with a bare trailing slash redirects to the artifact index page 0.012s passed
permanent directory URL with trailing slash serves the directory's index.html 0.008s 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.015s passed
serves an html artifact with no-cache headers 0.276s passed
serves nested report files without no-cache headers 0.016s passed
unknown artifact key answers 404 0.053s passed

Standard output

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