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

feat: added unit test with coverage of 68 % #611

Merged
merged 12 commits into from May 17, 2021

Conversation

vi3k6i5
Copy link
Contributor

@vi3k6i5 vi3k6i5 commented Apr 22, 2021

feat: added unit test with coverage of 60 %

@vi3k6i5 vi3k6i5 requested a review from a team as a code owner April 22, 2021 16:37
@product-auto-label product-auto-label bot added the api: spanner Issues related to the googleapis/python-spanner-django API. label Apr 22, 2021
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Apr 22, 2021
@vi3k6i5 vi3k6i5 requested review from skuruppu and larkee April 22, 2021 16:37
tests/unit/django_spanner/models.py Show resolved Hide resolved
tests/unit/django_spanner/models.py Outdated Show resolved Hide resolved
@vi3k6i5 vi3k6i5 force-pushed the unit_tests_2 branch 2 times, most recently from b0f0e88 to 2391801 Compare April 24, 2021 18:16
@vi3k6i5 vi3k6i5 changed the title feat: added unit test with coverage of 75 % feat: added unit test with coverage of 70 % Apr 24, 2021
fix: Remove un necessary file from code base (googleapis#608)
feat: move migrations test modules to run against different emulator …
feat: update workflow files to uniformly distribute the test modules …
feat: update docs and nox file to compile it (googleapis#610)
Copy link
Contributor

@c24t c24t left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments on test organization and style, but the tests themselves look great and this is a big obvious improvement.

I'll have to take another pass to check the test logic in more detail, but the tests I've checked so far all LGTM.

@larkee may have some insight on test strategy from python-spanner.

tests/unit/django_spanner/models.py Outdated Show resolved Hide resolved
tests/unit/django_spanner/test_compiler.py Outdated Show resolved Hide resolved
tests/unit/django_spanner/test_compiler.py Outdated Show resolved Hide resolved
tests/unit/django_spanner/test_expressions.py Outdated Show resolved Hide resolved
tests/unit/django_spanner/models.py Outdated Show resolved Hide resolved
tests/unit/django_spanner/models.py Outdated Show resolved Hide resolved
@vi3k6i5 vi3k6i5 force-pushed the unit_tests_2 branch 2 times, most recently from 96170b4 to b4a8831 Compare May 5, 2021 13:48
@vi3k6i5 vi3k6i5 requested a review from c24t May 6, 2021 16:13
@vi3k6i5 vi3k6i5 changed the title feat: added unit test with coverage of 70 % feat: added unit test with coverage of 68 % May 7, 2021
Copy link
Contributor

@c24t c24t left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests look great, thanks for the updates

@c24t c24t merged commit 92ad508 into googleapis:master May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/python-spanner-django API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dedicated unit tests for django_spanner
3 participants