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

refactor(nextcloud): Reuse containers in tests #1326

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

provokateurin
Copy link
Member

Closes #1300

It was possible to migrate some of the test suite without even changing the test content or fixtures. I could extract those into a separate PR so we can get those merged already. I'm not sure how long it will take to merge this complete PR, so we might want to do this to get some small improvements already.

@Leptopoda please let me know if you like this approach. It makes all tests very fast, except for news which I haven't migrated yet as it is quite hard. I might do some profiling of the news app to check why it is so slow in the first place and if that could be solved at all. If it turns out that adding the feed is slow then we won't really get much benefit from reusing the same container.

@provokateurin provokateurin force-pushed the refactor/nextcloud/reuse-containers branch from 57a754b to f2f236b Compare December 20, 2023 09:50
@provokateurin provokateurin marked this pull request as draft December 20, 2023 09:51
@Leptopoda
Copy link
Member

I like the approach.

I could extract those into a separate PR so we can get those merged already.

Shure; Please

@provokateurin
Copy link
Member Author

I'm giving up on the news tests for now. The spec and tests need to be rewritten completely (not even talking about generating them). They are the oldest part of this project and it really shows.

@provokateurin provokateurin force-pushed the refactor/nextcloud/reuse-containers branch from f2f236b to 2e4d272 Compare December 21, 2023 14:53
@provokateurin provokateurin marked this pull request as ready for review December 21, 2023 14:53
@provokateurin provokateurin force-pushed the refactor/nextcloud/reuse-containers branch from 2e4d272 to 192c128 Compare December 22, 2023 07:58
@provokateurin provokateurin merged commit 827d505 into main Dec 22, 2023
8 checks passed
@provokateurin provokateurin deleted the refactor/nextcloud/reuse-containers branch December 22, 2023 08:17
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.

Reuse containers in tests
2 participants