You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/tests
Nick 52e24167e5
Test renderReadmeFile (#23185)
Add test coverage to the important features of
[`routers.web.repo.renderReadmeFile`](067b0c2664/routers/web/repo/view.go (L273));
namely that:

- it can handle looking in docs/, .gitea/, and .github/
- it can handle choosing between multiple competing READMEs
- it prefers the localized README to the markdown README to the
plaintext README
- it can handle broken symlinks when processing all the options
- it uses the name of the symlink, not the name of the target of the
symlink
1 year ago
..
e2e Implement FSFE REUSE for golang files (#21840) 2 years ago
fuzz Move fuzz tests into tests/fuzz (#22376) 2 years ago
gitea-lfs-meta Test views of LFS files (#22196) 2 years ago
gitea-repositories-meta Test renderReadmeFile (#23185) 1 year ago
integration Test renderReadmeFile (#23185) 1 year ago
mssql.ini.tmpl Kd/ci playwright go test (#20123) 2 years ago
mysql.ini.tmpl Add some comments for recent code (#22725) 1 year ago
mysql8.ini.tmpl Kd/ci playwright go test (#20123) 2 years ago
pgsql.ini.tmpl Kd/ci playwright go test (#20123) 2 years ago
sqlite.ini.tmpl Add a simple test for external renderer (#20033) 2 years ago
test_utils.go Refactor `setting.Database.UseXXX` to methods (#23354) 1 year ago
testlogger.go Implement FSFE REUSE for golang files (#21840) 2 years ago