id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 290244473,MDU6SXNzdWUyOTAyNDQ0NzM=,1846,Add a suite of property-based tests with Hypothesis,12229877,open,0,,,3,2018-01-21T03:46:42Z,2022-08-12T17:47:13Z,,CONTRIBUTOR,,,,"[Hypothesis](https://hypothesis.readthedocs.io/en/master/) is a library for writing property-based tests in Python: you describe input data and make assertions that should be true for all examples, then Hypothesis tries to find a counterexample. This came up in #1840, because `data == decode(encode(data))` is a classic property. We could add a (initially small) suite of property-based tests, to complement the traditional example-based tests Xarray is already using. Keeping them in independent files will ensure that they run in CI but the dependency on Hypothesis remains optional for local development. I have moved jobs and don't have time to do this myself, but I'd be very happy to help anyone who does 😄 ","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/1846/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,,13221727,issue