Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
piinbinary
on Aug 27, 2016
|
parent
|
context
|
favorite
| on:
Ask HN: Is there a programming language with embed...
I'm not sure this is exactly what you are asking about, but Rust does support testing right in the language. You can add #[test] before a function to make it a test function (tests and regular functions can live together in the same file).
https://doc.rust-lang.org/book/testing.html
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://doc.rust-lang.org/book/testing.html