Tests in TypeScript or JavaScript often run setup code inside hooks like “beforeEach”: Developers must take care to get the setup correct, especially in large or nested test suites. Some test runners now provide fixtures-per-test. We can re-write our test suite as the following: This test setup addresses our original pain points, and adds a […]
This piece was written as part of a presentation for SEP Learns, a training program for new developers at SEP. From talking to a couple people about Rust, it seems Rust can have a bit of a reputation as an obscure and difficult language. Here is my take: Rust sets developers up for success by […]