Send in filename and position of any file in any language, toffee returns the command needed to run the nearest test with the proper testing lib. It is a WIP, currently supports python and rust.
This is the main interface that toffee exposes, but this is mostly meant to be used from within your editor. The ideal flow will be use toffee to get the command that you need to run, then use your editor to start a shell or something that runs the actual test.
Examle implementation for Emacs here
```
Usage: toffee
Get command to run to run specific test in a file
Options: --full run full test suite --help display usage information ```
```shell $ src/pickers/rust.rs cargo test pickers::rust
$ src/pickers/rust.rs 83 cargo test pickers::rust::tests::testsimplefind ```
shell
cargo install toffee