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

Add (more) unit-tests #10

Open
Potherca opened this issue Aug 29, 2022 · 0 comments
Open

Add (more) unit-tests #10

Potherca opened this issue Aug 29, 2022 · 0 comments

Comments

@Potherca
Copy link
Member

This repository does not contain any unit-tests.

The provided classes (Nextcloud, NextcloudCalendar, NextcloudContacts, NextcloudProfile) contain a mix of side-effects and input/output logic.

The best method to tests this code would be explorartory: instead of writing test logic first, just call the class-under-test, observe what happens and then add asserts to document those observations.

For these tests, complexity is more an issue than scope.

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

No branches or pull requests

1 participant