Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

big code refactor #29

Merged
merged 25 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
ebf53ca
chore(cargo.toml): remove unused dependency `anyhow`
josueBarretogit Aug 28, 2024
b50d56d
test(ReaderPage): make test for reader page
josueBarretogit Aug 29, 2024
8c95f6e
test(MangadexClient): add mock api test with httpmock
josueBarretogit Aug 30, 2024
fb0ef06
Merge branch 'main'
josueBarretogit Sep 1, 2024
9e01158
test(MangadexClient): refactoring methods to return response
josueBarretogit Sep 2, 2024
0c8e95e
test(MangadexClient): finish test for MangadexClient endpoints
josueBarretogit Sep 3, 2024
da3add9
refactor(MangadexClient-MockMangadexClient): implement ApiClient for …
josueBarretogit Sep 5, 2024
d98de81
refactor(SearchPage): move async functions to a separate `tasks` file
josueBarretogit Sep 7, 2024
035d240
test(Database): making test for database
josueBarretogit Sep 7, 2024
3e00ded
test(Database): added more tests
josueBarretogit Sep 8, 2024
7d0b979
build(Cargo.toml): added dev dependency uuid to help with database test
josueBarretogit Sep 9, 2024
97e1f90
test(Download): finished testing database (mostly)
josueBarretogit Sep 10, 2024
5274860
build(Cargo.toml): add fake to help with download tests
josueBarretogit Sep 11, 2024
f030ad3
refactor(Download): create new type SanitizedFilename
josueBarretogit Sep 12, 2024
f33992d
refactor(download): refactoring all the download module
josueBarretogit Sep 13, 2024
c866b7b
refactor(backend): moving api struct responses to its own api_respons…
josueBarretogit Sep 14, 2024
ab5b320
refactor(MangaPageTasks): refactoring code responsible for downloadin…
josueBarretogit Sep 17, 2024
933b39e
test(Config): test config file and data directory creation
josueBarretogit Sep 19, 2024
a96b279
test(FeedPage): add missing tests for this page
josueBarretogit Sep 22, 2024
597d277
test(FeedPage): finish test for this page
josueBarretogit Sep 23, 2024
f271186
ci(test.yml): update test workflow to run tests with cargo nextest
josueBarretogit Sep 23, 2024
46e862a
test(Download): fix failing tests
josueBarretogit Sep 24, 2024
28475e1
test(App): add test to make sure images arent searched if terminal do…
josueBarretogit Sep 25, 2024
6a64075
Merge branch 'main'
josueBarretogit Sep 26, 2024
9c28e7d
chore: resolve my own conversations
josueBarretogit Sep 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,11 @@ jobs:
- name: build
run: cargo build --release --verbose

- name: install cargo nextest
run: cargo install cargo-nextest

- name: test
run: cargo test -- --test-threads=1
run: cargo nextest run --no-fail-fast

- name: run ignored tests
run: cargo nextest run -- --ignored
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ result
#.idea/
*.db
*~
test_results/
Loading
Loading