3 ms·
The big difference with `tests/` is that they have to be integration tests. This means that you can't test private functions from there.
by tyoverby 10y ago
The big difference with `tests/` is that they have to be integration tests. This means that you can't test private functions from there.
- Manishearth 10y agoNot .. exactly. An integration test usually tests an entire application at once. `tests/` can still test things in the public API (indeed, we do this in Servo a lot) without being an integration test. The point is that some unit tests cannot be written in tests/, whereas all integration tests can be.