Skip to content

Add developer docs for writing tests - #11199

Merged
rapids-bot[bot] merged 8 commits into
NVIDIA:branch-22.12from
vyasr:docs/python_testing
Nov 3, 2022
Merged

Add developer docs for writing tests#11199
rapids-bot[bot] merged 8 commits into
NVIDIA:branch-22.12from
vyasr:docs/python_testing

Conversation

@vyasr

@vyasr vyasr commented Jul 5, 2022

Copy link
Copy Markdown
Contributor

This PR adds documentation on how Python tests should be written.

Related to #4730. This PR will establish best practices. Follow-up PRs will be needed to implement them.

Resolves #6481.

@vyasr vyasr added 2 - In Progress Currently a work in progress doc Documentation Python Affects Python cuDF API. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jul 5, 2022
@vyasr vyasr added this to the CuDF Python Refactoring milestone Jul 5, 2022
@vyasr vyasr self-assigned this Jul 5, 2022
@github-actions github-actions Bot removed the Python Affects Python cuDF API. label Jul 5, 2022
@vyasr vyasr removed the improvement Improvement / enhancement to an existing function label Jul 5, 2022
Comment thread docs/cudf/source/developer_guide/testing.md Outdated

@wence- wence- left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Minor quibble

Comment thread docs/cudf/source/developer_guide/testing.md
Comment thread docs/cudf/source/developer_guide/testing.md
@codecov

codecov Bot commented Jul 18, 2022

Copy link
Copy Markdown

Codecov Report

Base: 87.47% // Head: 86.86% // Decreases project coverage by -0.60% ⚠️

Coverage data is based on head (f469142) compared to base (f817d96).
Patch has no changes to coverable lines.

❗ Current head f469142 differs from pull request most recent head 0d622b5. Consider uploading reports for the commit 0d622b5 to get more accurate results

Additional details and impacted files
@@               Coverage Diff                @@
##           branch-22.12   #11199      +/-   ##
================================================
- Coverage         87.47%   86.86%   -0.61%     
================================================
  Files               133      135       +2     
  Lines             21826    21985     +159     
================================================
+ Hits              19093    19098       +5     
- Misses             2733     2887     +154     
Impacted Files Coverage Δ
python/strings_udf/strings_udf/lowering.py 0.00% <0.00%> (-84.40%) ⬇️
python/strings_udf/strings_udf/_typing.py 81.05% <0.00%> (-13.69%) ⬇️
python/cudf/cudf/io/text.py 91.66% <0.00%> (-8.34%) ⬇️
python/cudf/cudf/core/_base_index.py 81.28% <0.00%> (-4.27%) ⬇️
python/cudf/cudf/io/json.py 92.06% <0.00%> (-2.68%) ⬇️
python/cudf/cudf/utils/utils.py 89.91% <0.00%> (-0.69%) ⬇️
python/dask_cudf/dask_cudf/core.py 73.72% <0.00%> (-0.41%) ⬇️
python/cudf/cudf/io/parquet.py 90.45% <0.00%> (-0.39%) ⬇️
python/dask_cudf/dask_cudf/backends.py 84.90% <0.00%> (-0.37%) ⬇️
python/cudf/cudf/core/dataframe.py 93.63% <0.00%> (-0.10%) ⬇️
... and 30 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

rapids-bot Bot pushed a commit that referenced this pull request Aug 4, 2022
This PR adds a primary developer guide for Python. It provides a more complete and informative landing page for new developers. When #11217, #11199, and #11122 are merged, they will all be linked from this page to provide a complete set of developer documentation.

There is one main point of discussion that I would like reviewer comments on, and that is the section on directory and file organization. How do we want that aspect of cuDF to look?

Authors:
  - Vyas Ramasubramani (https://github.com/vyasr)

Approvers:
  - Matthew Roeschke (https://github.com/mroeschke)
  - Lawrence Mitchell (https://github.com/wence-)
  - Ashwin Srinath (https://github.com/shwina)

URL: #11235
@github-actions

Copy link
Copy Markdown

This PR has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this PR if it is no longer required. Otherwise, please respond with a comment indicating any updates. This PR will be labeled inactive-90d if there is no activity in the next 60 days.

@review-notebook-app

Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions github-actions Bot added CMake CMake build issue conda Java Affects Java cuDF API. labels Oct 26, 2022
@vyasr vyasr added 3 - Ready for Review Ready for review by team Python Affects Python cuDF API. and removed gpuCI CMake CMake build issue libcudf Affects libcudf (C++/CUDA) code. labels Oct 26, 2022
@vyasr
vyasr marked this pull request as ready for review October 26, 2022 23:50
@vyasr
vyasr requested review from mroeschke, shwina and wence- October 26, 2022 23:51
Comment thread docs/cudf/source/developer_guide/testing.md Outdated
Comment thread docs/cudf/source/developer_guide/testing.md Outdated
Comment thread docs/cudf/source/developer_guide/testing.md Outdated
Comment thread docs/cudf/source/developer_guide/testing.md Outdated
Comment thread docs/cudf/source/developer_guide/testing.md Outdated
Comment thread docs/cudf/source/developer_guide/testing.md Outdated
Comment thread docs/cudf/source/developer_guide/testing.md
Comment thread docs/cudf/source/developer_guide/testing.md Outdated
Comment thread docs/cudf/source/developer_guide/testing.md Outdated
Comment thread docs/cudf/source/developer_guide/testing.md Outdated

@wence- wence- left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Some minor comments, but overall looks good, thanks!

Comment thread docs/cudf/source/developer_guide/testing.md Outdated
Comment thread docs/cudf/source/developer_guide/testing.md Outdated
Comment thread docs/cudf/source/developer_guide/testing.md Outdated
Comment thread docs/cudf/source/developer_guide/testing.md Outdated
Comment thread docs/cudf/source/developer_guide/testing.md
Comment thread docs/cudf/source/developer_guide/testing.md Outdated
Comment thread docs/cudf/source/developer_guide/testing.md Outdated
@vyasr
vyasr requested review from bdice and wence- November 1, 2022 19:19
@github-actions github-actions Bot removed the Python Affects Python cuDF API. label Nov 1, 2022

@bdice bdice left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Minor changes suggested, otherwise LGTM.

Comment thread docs/cudf/source/developer_guide/testing.md Outdated
Comment thread docs/cudf/source/developer_guide/testing.md Outdated
Comment thread docs/cudf/source/developer_guide/testing.md Outdated
Comment thread docs/cudf/source/developer_guide/testing.md Outdated
Comment thread docs/cudf/source/developer_guide/testing.md Outdated
@vyasr

vyasr commented Nov 1, 2022

Copy link
Copy Markdown
Contributor Author

rerun tests

@wence- wence- left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Very minor nit, but overall great! Thanks!

Comment thread docs/cudf/source/developer_guide/testing.md Outdated
@vyasr

vyasr commented Nov 2, 2022

Copy link
Copy Markdown
Contributor Author

rerun tests

Comment thread docs/cudf/source/developer_guide/testing.md

@shwina shwina left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM w/ small suggestion/question.

@vyasr

vyasr commented Nov 2, 2022

Copy link
Copy Markdown
Contributor Author

rerun tests

@vyasr

vyasr commented Nov 3, 2022

Copy link
Copy Markdown
Contributor Author

@gpucibot merge

@rapids-bot
rapids-bot Bot merged commit eaa0706 into NVIDIA:branch-22.12 Nov 3, 2022
@vyasr
vyasr deleted the docs/python_testing branch November 3, 2022 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 - Ready for Review Ready for review by team doc Documentation non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DISCUSS] cuDF internal/developer documentation

6 participants