# Add support for detecting tests in source files, and implement it for Rust \(\#11195\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/5a71d8c7f1d2887daf62869fb6012c33d59a3cd0)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 5a71d8c7f1d2887daf62869fb6012c33d59a3cd0

Requested commit: 5a71d8c7f1d2887daf62869fb6012c33d59a3cd0

Commit: 5a71d8c7f1d2887daf62869fb6012c33d59a3cd0

Tree: 18bc9cdea37094e6016453d270ec8754a9bef687

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
Add support for detecting tests in source files, and implement it for Rust (#11195)

Continuing work from #10873 

Release Notes:

- N/A

---------

Co-authored-by: Mikayla <mikayla@zed.dev>
```

## Parents

- [14c7782ce67887f9c41fecd01ff5168ada41cb28](https://git.cafe/gitcafe/zed/commit/14c7782ce67887f9c41fecd01ff5168ada41cb28?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/5a71d8c7f1d2887daf62869fb6012c33d59a3cd0?format=markdown)
