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/models/unittest
Lunny Xiao 673cf6af76
make writing main test easier (#27270)
This PR removed `unittest.MainTest` the second parameter
`TestOptions.GiteaRoot`. Now it detects the root directory by current
working directory.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
9 months ago
..
consistency.go Replace `interface{}` with `any` (#25686) 1 year ago
fixtures.go Enable forbidigo linter (#24278) 1 year ago
fscopy.go Use ErrInvalidArgument in packages (#22268) 2 years ago
reflection.go Replace `interface{}` with `any` (#25686) 1 year ago
testdb.go make writing main test easier (#27270) 9 months ago
unit_tests.go Test query must have "order by" explicitly to avoid unstable results (#24963) 1 year ago