Lauris BH
be1330ec89
Remove hardcoded paths to fix randomly failing tests ( #3347 )
...
* Remove hardcoded paths to fix randomly failing tests
* Use correct function for merge path
7 years ago
Ethan Koenig
befa7445d2
Unit tests for routers/repo/issue_label ( #3198 )
7 years ago
Ethan Koenig
682ac11958
Log unexpected responses in integration tests ( #3138 )
...
* Log flash error message in integration tests
* Also log short, non-HTML responses
7 years ago
Ethan Koenig
d1efe2078a
Fix integration tests ( #3141 )
7 years ago
Ethan Koenig
e59adcde65
Use httptest in integration tests ( #3080 )
7 years ago
Lunny Xiao
f70758dec9
Add git clone test on integration test ( #1682 )
7 years ago
Ethan Koenig
1b6a962e70
Include HTTP method in test error message ( #2815 )
7 years ago
Ethan Koenig
5866eb2321
Code/repo search ( #2582 )
...
Indexed search of repository contents (for default branch only)
7 years ago
Ethan Koenig
6c6533fb31
Make integration tests more user-friendly ( #2536 )
7 years ago
Ethan Koenig
b0f7457d9e
Improve issue search ( #2387 )
...
* Improve issue indexer
* Fix new issue sqlite bug
* Different test indexer paths for each db
* Add integration indexer paths to make clean
7 years ago
Lunny Xiao
1739e84ac0
improve protected branch to add whitelist support ( #2451 )
...
* improve protected branch to add whitelist support
* fix lint
* fix style check
* fix tests
* fix description on UI and import
* fix test
* bug fixed
* fix tests and languages
* move isSliceInt64Eq to util pkg; improve function names & typo
7 years ago
Antoine GIRARD
69dfe43ffc
Fix some tests : make coverage -> test ( #2492 )
...
* Fix test : make coverage -> test
* Refactor integration tests to be able to run them in parallel
* Add custom local repository temp path
7 years ago
Ethan Koenig
d23b36c598
Error message for integration test ( #2410 )
7 years ago
David Schneiderbauer
8aadf79f80
Add integration tests for signin ( #2363 )
...
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
7 years ago
Ethan Koenig
89cd4dd424
Cache session cookies in tests ( #2128 )
7 years ago
Ethan Koenig
f1adaef458
Less verbose integration tests ( #2123 )
...
* Helper functions for intergration test boilerplate
8 years ago
Ethan Koenig
f64c232953
Improve integration test helper functions ( #2049 )
...
Set request headers in helper functions, and new helper for requests with string-formatted URLs
8 years ago
Ethan Koenig
3ffedeab03
Fix bug in issue labels API ( #2048 )
8 years ago
Ethan Koenig
255adc40ae
Don't show non-comments in comments API ( #2001 )
8 years ago
Bo-Yi Wu
90f9bb12c6
fix golint error and rename func for suggestion. ( #1997 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
8 years ago
Antoine GIRARD
6233e88f7f
Use testing benchmark interface ( #1993 )
8 years ago
Ethan Koenig
ce9b86082c
Consolidate boilerplate in integration tests ( #1979 )
8 years ago
Ethan Koenig
23d0735f90
Absolute path for setting.CustomConf
8 years ago
Ethan Koenig
61716bd8f7
Display URLs in integration test logs ( #1924 )
8 years ago
Ethan Koenig
e9b1b908ee
Fix setting.AppPath for integration tests
8 years ago
Ethan Koenig
251fb935ff
Don't recreate database in integration tests ( #1697 )
8 years ago
Lunny Xiao
d98a86d2a2
remove sqlite tag when integration test with mysql/postgres AND recreate database when init integration test ( #1693 )
8 years ago
Lunny Xiao
2bb8b3a562
fix bug when push a branch name with / & fix an integration test bug ( #1689 )
8 years ago
Lauris BH
0144817971
Do not allow commiting to protected branch from online editor ( #1502 )
...
* Do not allow commiting to protected branch from online editor
* Add editor integration tests for adding new file and not allowing to add new file to protected branch
8 years ago
Ethan Koenig
66c803fae2
MySQL, Postgres integration tests in drone ( #1638 )
...
* MySQL, Postgres integration tests in drone
* Fix .drone.yml
* sign drone
* resign drone
8 years ago
Lunny Xiao
fca7ddc6ea
improve integration test to resue models/fixtures and store git repos with tests ( #1627 )
...
* improve integration test to resue models/fixtures and store git repos with source
* use gitea-integration-meta dir instead .tar.gz and cleanup every before every test
* fix import package name
8 years ago
Ethan Koenig
c58708d3ee
Integration test framework ( #1290 )
...
* Integration test framework
* udpate drone sign
* Formatting fixes and move router.go to routers/
* update sign for drone
8 years ago