forgejo/tests
wxiaoguang 911975059a
Improve test logger (#24235)
Before, there was a `log/buffer.go`, but that design is not general, and
it introduces a lot of irrelevant `Content() (string, error) ` and
`return "", fmt.Errorf("not supported")` .


And the old `log/buffer.go` is difficult to use, developers have to
write a lot of `Contains` and `Sleep` code.


The new `LogChecker` is designed to be a general approach to help to
assert some messages appearing or not appearing in logs.
2023-04-21 16:32:25 -04:00
..
e2e
fuzz
gitea-lfs-meta
gitea-repositories-meta fix calReleaseNumCommitsBehind (#24148) 2023-04-18 21:11:17 +02:00
integration Fix access token issue on some public endpoints (#24194) 2023-04-21 11:39:03 -04:00
mssql.ini.tmpl
mysql.ini.tmpl
mysql8.ini.tmpl
pgsql.ini.tmpl
sqlite.ini.tmpl
test_utils.go Allow adding new files to an empty repo (#24164) 2023-04-19 21:40:42 +08:00
testlogger.go Improve test logger (#24235) 2023-04-21 16:32:25 -04:00