Skip to content

Conversation

@benoit-pierre
Copy link
Member

@benoit-pierre benoit-pierre commented May 9, 2024

Cf. discussion in #11775.


This change is Reviewable

Don't carry over some old settings. Additionally, avoid clobbering the standard reader settings.
Group tests by file type (EPUB or PDF).
Reduce time to run those tests by 95% on my machine (~17s → 0.8s).
Work on a copy of `test/sample.pdf`.
Work on a copy of `test/sample.pdf`.
Reduce time to run those tests by 74% on my machine (~8.8s → ~2.3s).
@benoit-pierre
Copy link
Member Author

See run with forced coverage.

@benoit-pierre benoit-pierre force-pushed the pr/fix_frontend_tests branch from 03e0459 to cebc98f Compare May 9, 2024 01:06
@Frenzie Frenzie merged commit 075edf9 into koreader:master May 9, 2024
@Frenzie Frenzie added this to the 2024.05 milestone May 9, 2024
@Frenzie
Copy link
Member

Frenzie commented May 9, 2024

Awesome, thanks!

@Frenzie Frenzie mentioned this pull request May 9, 2024
@benoit-pierre benoit-pierre deleted the pr/fix_frontend_tests branch May 9, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants