I’m sort of in a similar boat; I’ve been thinking of making the switch from Scala to Rust.
I can share with you my experience so far.
As far as IDEs go, all I’ve tried so far is IntelliJ using the intellij-rust plugin. Refactoring works, as well as syntax error highlighting, but sadly there’s no auto-complete at this time (EDIT: I’m wrong about this, I needed to update my plugin). From what I’ve seen emacs-racer, the Rust module for emacs, is more mature. However if you don’t already know emacs, it has its own learning curve which can be distracting.
You can put unit tests in a
tests directory, and run them with
cargo test. IntelliJ pretty prints the output just like JUnit. You can also write tests in your documentation, somewhat similar to Python’s doctest built-in module.
The BouncyCastle Java library lets you make a self-signed X.509 certificate programmatically and in memory, which you can then hand to a client. This is nice for testing IMO, since I don’t like having self-signed certificates lying around. I couldn’t figure out a way to do this in Rust.
I also couldn’t figure out a way of starting an iron server in a thread so I could run tests. It doesn’t look like the repo has any tests, which is a bummer.