16 Commits

Author SHA1 Message Date
pushrbx
baa5e9c557 refactored tests and fixed test runner issues
- additionally fixed some bugs with schedule endpoint
2023-05-21 11:18:02 +01:00
pushrbx
a530e9f5d6 multiple changes
- wip -> http tests should use model factories
- test runner bootstrap: jikan models are cached in a temporary file
- fixed various bugs
- improved test execution time with typesense
- added new dev dependency: ClassFinder
- updated composer scripts to include coverage generation
- added coverage reports in phpunit
- improved roadrunner integration
- updated docker image
  - added xdebug in disabled state
2023-05-21 11:18:02 +01:00
pushrbx
a145f18bbd wip - major refactor
- AppServiceProvider is needs more work to wire in new services
- todo: more dtos
- todo: add unit tests
- todo: add more integration tests
2023-05-21 11:14:34 +01:00
pushrbx
2d9cdac14c added new assert function for tests 2023-05-21 11:14:34 +01:00
pushrbx
950b5c6a2d added manga search endpoint integration tests 2023-05-21 11:14:34 +01:00
pushrbx
0dd56f98cb added more tests around search+dates and refactored things 2023-05-21 11:14:33 +01:00
pushrbx
d76e81ff3c upgraded phpunit and tests to lumen 9
- added namespaces
- used values from https://github.com/laravel/lumen
- updated phpunit config
- moved database migrations in phpunit test listener
2023-05-21 11:14:33 +01:00
pushrbx
628f3e2294 fixed things and applied code review recommends 2023-05-21 11:14:33 +01:00
pushrbx
865747a20b improved test performance
- squashed database migrations
- added a hack to run migrations once
2023-05-21 11:14:33 +01:00
pushrbx
4e7d2fd5ed moved MakesHttpRequestsEx trait 2023-05-21 11:14:32 +01:00
pushrbx
eeb825940a fixed "runScoutFlush" function for tests 2023-05-21 11:14:32 +01:00
pushrbx
72b6bb9442 fixed several issues
- search indexes should be different for testing
- added ability to flush the search index between tests
- fixed missing attributes in model factories
2023-05-21 11:14:32 +01:00
pushrbx
8f102d2b56 added the foundations for fixture based tests 2023-05-21 11:14:32 +01:00
Irfan
8df86920ba LE 2022-12-03 02:08:19 +05:00
Irfan
977786f3e3 add Anime tests 2019-05-13 08:19:23 +05:00
irfan-dahir
8d49e8bd26 initial commit 2018-04-21 13:22:44 +05:00