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_test,nextcloud): run tests on web #2484

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Leptopoda
Copy link
Member

Web tests are still a bit flaky when run together, and I didn't set up the test yet (my bash skills are terrible).
Some initial feedback is appreciated, as I don't expect much to change.

To test it yourself:

  • build the server dart run dart_frog_cli:dart_frog build (in the nc_test_api package)
  • run the server dart run packages/nextcloud_test_api/build/bin/server.dart (in the nc package)
  • run the tests dart test

As mentioned above, vm tests are fine, and all tests pass fine when run individually.

@Leptopoda Leptopoda marked this pull request as draft September 12, 2024 11:27
@Leptopoda
Copy link
Member Author

I also have a branch using a hybrid test, but that requires spawning a separate docker container for every test case.

@Leptopoda Leptopoda changed the title chore(deps): remove unused dev dependencies @Leptopoda refactor(nextcloud_test,nextcloud): run tests on web Sep 12, 2024
@Leptopoda Leptopoda changed the title @Leptopoda refactor(nextcloud_test,nextcloud): run tests on web refactor(nextcloud_test,nextcloud): run tests on web Sep 12, 2024
@Leptopoda Leptopoda added this to the Nextcloud 8.0.0 release milestone Sep 12, 2024
@Leptopoda Leptopoda linked an issue Sep 12, 2024 that may be closed by this pull request
@provokateurin provokateurin removed this from the Nextcloud 8.0.0 release milestone Sep 28, 2024
@provokateurin
Copy link
Member

Doesn't need to be on any milestone since it only affects tests

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.

Run nextcloud unit tests on web
2 participants