html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/issues/5409#issuecomment-854846205,https://api.github.com/repos/pydata/xarray/issues/5409,854846205,MDEyOklzc3VlQ29tbWVudDg1NDg0NjIwNQ==,35968931,2021-06-04T16:16:30Z,2021-06-04T21:16:19Z,MEMBER,"This is kind of a general question whenever we add new features: if I add to the API such that I can access my new computation `newfunc` via any of `da.newfunc()`, `ds.newfunc()` or `xr.newfunc()`, then should the tests live in `test_dataarray.py`, `test_dataset.py`, `test_computation.py`, all three of them, or make a new file `test_newfunc.py`? I agree we should move towards the latter, and try to just make `test_dataarray.py` & `test_dataset.py` test the core functionality of those objects, and not their extensive method APIs.","{""total_count"": 3, ""+1"": 3, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,907715257 https://github.com/pydata/xarray/issues/5409#issuecomment-853255253,https://api.github.com/repos/pydata/xarray/issues/5409,853255253,MDEyOklzc3VlQ29tbWVudDg1MzI1NTI1Mw==,5635139,2021-06-02T17:47:21Z,2021-06-02T17:47:21Z,MEMBER,"Great, it seems there's some backing for this. What's the best way to start? I'm happy to do a PR to pull all the `rolling` tests into `test_rolling.py` as an example to start. I'm also happy to say any _new_ rolling tests need to go into `test_rolling.py`, to minimize movement, as suggested above. But maybe that's hard to manage, and it's not obvious that's the policy for new contributors.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,907715257 https://github.com/pydata/xarray/issues/5409#issuecomment-852687626,https://api.github.com/repos/pydata/xarray/issues/5409,852687626,MDEyOklzc3VlQ29tbWVudDg1MjY4NzYyNg==,1217238,2021-06-02T03:28:34Z,2021-06-02T03:28:34Z,MEMBER,"Yes, splitting up these giant test files would definitely be a good idea. `test_backends.py` might be another good candidate. I don't think there was ever a good reason why they _needed_ be in a single class. `unittest` works just fine with multiple test classes, too.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,907715257 https://github.com/pydata/xarray/issues/5409#issuecomment-851702677,https://api.github.com/repos/pydata/xarray/issues/5409,851702677,MDEyOklzc3VlQ29tbWVudDg1MTcwMjY3Nw==,14808389,2021-05-31T22:21:47Z,2021-05-31T22:21:47Z,MEMBER,"that sounds like a good idea, and we'll definitely have to do this gradually because PRs with several thousand lines of changes are really difficult to review. Probably unrelated, but I'd also like to refactor / reorder the tests in `test_combine.py`.","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,907715257