aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fixtures/mod.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2025-03-09Fix dir size calculation for percent-encoded paths with spacesSven-Hendrik Haase1-2/+2
2025-02-06Strip symlink target dir to make Windows happySven-Hendrik Haase1-1/+1
Turns out Windows doesn't like forward slashes.
2025-02-06Get rid of server_no_stderrSven-Hendrik Haase1-28/+2
We'll now always just pipe the contents of the child to the parent.
2025-02-06Make symlinks into global fixturesSven-Hendrik Haase1-3/+29
So far, tests had to create their own symlinks which made them less concise. Also, now that we always have symlinks in all tests, side effects of having them won't go undetected.
2025-01-10Remove some unnecessary #[allow(dead_code)]Sven-Hendrik Haase1-10/+0
2024-01-07Skip newline test case on WindowsSven-Hendrik Haase1-0/+1
2024-01-07Fix serving files with a newline (fixes #1294)Sven-Hendrik Haase1-0/+1
2022-12-19Fix lintsSven-Hendrik Haase1-5/+5
2022-09-02Test for different README.md in all directories.Gaurav1-1/+0
2022-08-26Use `TestServer` in `--readme` testsGaurav1-0/+1
2021-08-28Execute backslash test only on non windows systemsjikstra1-0/+1
2021-08-28Add file with backslash to the test FILES fixturejikstra1-0/+1
2021-08-27Add TLS support via rustls (fixes #18)Sven-Hendrik Haase1-8/+20
2021-08-26address commentsAli MJ Al-Nasrawy1-10/+25
2021-08-26tests: Refactor!Ali MJ Al-Nasrawy1-0/+87
Remove duplicate code responsible for the initial setup and teardown of the test binary. This introduces `TestServer` as a resource manager for a running miniserve binary, which can be created with the fixtures `server()` and `server_no_stderr()` It also provides convenience function for handling server url.
2021-04-06Test URL encoding for special charactersAli MJ Al-Nasrawy1-0/+3
2021-03-20Finish up --hidden featureSven-Hendrik Haase1-1/+1
2021-03-07Add option to show hidden filesSven-Hendrik Haase1-3/+17
2020-08-24Fix formattingSven-Hendrik Haase1-1/+2
2020-08-24Try to fix file names on WindowsSven-Hendrik Haase1-1/+8
2020-08-24Fix double-escaping (fixes #354)Sven-Hendrik Haase1-1/+1
2019-07-14Add dir navigation testsSven-Hendrik Haase1-0/+8
2019-07-07Also check directories in testsSven-Hendrik Haase1-2/+15
2019-05-01Make tests into their own proper modules without star importsSven-Hendrik Haase1-16/+9
Star imports make it hard to see which imports a module is actually using so I prefer to have this be a bit more explicit.
2019-05-01Allow dead code to fix false negative warningskhai96_1-0/+2
2019-04-29Move helpers.rs to fixtures/mod.rskhai96_1-0/+0
2019-04-28Split integration test into multiple fileskhai96_1-0/+37