Commit Graph

10 Commits

Author SHA1 Message Date
Aravinth Manivannan 74a33cf044
feat: test utils to add site 2022-11-10 16:18:52 +05:30
Aravinth Manivannan 76692109bc
feat: add Settings.pages.base_path to store website content
DIRECTORY STRUCTURE:
    Settings.pages.base_path > page.hostname
2022-11-09 14:20:56 +05:30
Aravinth Manivannan 0d107609b3
feat: mv routes into main and extract serve from api services 2022-09-16 17:39:37 +05:30
Aravinth Manivannan 04d7f872d5
feat: auth and account management API 2022-09-16 13:24:30 +05:30
Aravinth Manivannan 8150aa9ca1
feat: init and load db 2022-09-10 19:21:49 +05:30
Aravinth Manivannan b1ce2549bf
chore: clippy lints 2022-09-07 10:28:26 +05:30
Aravinth Manivannan 46c88b74c7
fix: return tmp dir in context creation test util to prolong
auto-cleanup

DESCRIPTION
    > Once the variable goes out of scope, the underlying file system resource is removed.
    https://docs.rs/mktemp/latest/mktemp/

    Return mktemp::Temp instance created to prolong lifetime and
    postpone auto-cleanup via Drop until the test suite runs to
    completion
2022-04-27 14:34:35 +05:30
Aravinth Manivannan 101234e300
chore: convert check_status into macro to satisfy borrow checker 2022-04-27 13:47:46 +05:30
Aravinth Manivannan 58e928eeda
feat: test utils init separate tmp dirs for deployed pages and assert status codes 2022-04-27 11:49:52 +05:30
Aravinth Manivannan 624646f836
feat: add test utils 2022-04-27 10:51:39 +05:30