# Aleksey Kladov - How to Test (Highlights) ![rw-book-cover|256](https://readwise-assets.s3.amazonaws.com/static/images/article0.00998d930354.png) ## Metadata **Cover**:: https://readwise-assets.s3.amazonaws.com/static/images/article0.00998d930354.png **Source**:: #from/readwise **Zettel**:: #zettel/fleeting **Status**:: #x **Authors**:: [[Aleksey Kladov]] **Full Title**:: How to Test **Category**:: #articles #readwise/articles **Category Icon**:: 📰 **URL**:: [matklad.github.io](https://matklad.github.io//2021/05/31/how-to-test.html) **Host**:: [[matklad.github.io]] **Highlighted**:: [[2021-08-01]] **Created**:: [[2022-09-26]] ## Highlights - Instead of every test interacting with the API directly, I like to define a single check function which calls the API. - track_caller https://rust-lang.github.io/rfcs/2091-inline-semantic.html - work hard on making adding new tests trivial. - Neural Network Test Can you re-use the test suite if your entire software is replaced with an opaque neural network? #qa What is Neural Network Test? Can you re-use the test suite if your entire software is replaced with an opaque neural network?