`datasets-cli test` should work with datasets without scripts
{'login': 'sashavor', 'id': 14205986, 'node_id': 'MDQ6VXNlcjE0MjA1OTg2', 'avatar_url': 'https://avatars.githubusercontent.com/u/14205986?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/sashavor', 'html_url': 'https://github.com/sashavor', 'followers_url': 'https://api.github.com/users/sashavor/followers', 'following_url': 'https://api.github.com/users/sashavor/following{/other_user}', 'gists_url': 'https://api.github.com/users/sashavor/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/sashavor/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/sashavor/subscriptions', 'organizations_url': 'https://api.github.com/users/sashavor/orgs', 'repos_url': 'https://api.github.com/users/sashavor/repos', 'events_url': 'https://api.github.com/users/sashavor/events{/privacy}', 'received_events_url': 'https://api.github.com/users/sashavor/received_events', 'type': 'User', 'site_admin': False}
[{'id': 1935892871, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODcx', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/enhancement', 'name': 'enhancement', 'color': 'a2eeef', 'default': True, 'description': 'New feature or request'}]
[]
> It would be really useful to be able to run `datasets-cli test`for datasets that don't have scripts attached to them (whether the datasets are private or not).
> 
> I wasn't able to run the script for a private test dataset that I had created on the hub (https://huggingface.co/datasets/huggingface/DataMeasurementsTest/tree/main) -- although @lhoestq came to save the day!

why don't you try to share that info with people, so you can also save some days. Hi ! You can run the command if you download the repository
```
git clone https://huggingface.co/datasets/huggingface/DataMeasurementsTest
```
and run the command
```
datasets-cli test DataMeasurementsTest/DataMeasurementsTest.py
```

(though on my side it doesn't manage to download the data since the dataset is private ^^) > Hi ! You can run the command if you download the repository
> 
> ```
> git clone https://huggingface.co/datasets/huggingface/DataMeasurementsTest
> ```
> 
> and run the command
> 
> ```
> datasets-cli test DataMeasurementsTest/DataMeasurementsTest.py
> ```
> 
> (though on my side it doesn't manage to download the data since the dataset is private ^^)

Hi! Thanks for the info. 
git cannot find the repository. Do you know if they have depreciated these tests and created a new one? I think it's become private, but feel free to try with any other dataset like `lhoestq/test` for example at `https://huggingface.co/datasets/lhoestq/test` > I think it's become private, but feel free to try with any other dataset like `lhoestq/test` for example at `https://huggingface.co/datasets/lhoestq/test`

your example repo and this page `https://huggingface.co/docs/datasets/add_dataset.html` helped me to solve.. thanks a lot
It would be really useful to be able to run `datasets-cli test`for datasets that don't have scripts attached  to them (whether the datasets are private or not).

I wasn't able to run the script for a private test dataset that I had created on the hub (https://huggingface.co/datasets/huggingface/DataMeasurementsTest/tree/main) -- although @lhoestq came to save the day!

{'url': 'https://api.github.com/repos/huggingface/datasets/issues/3162/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}