Integration Tests

If you want to test your library as a client, use an integration test.

Create a .rs file under tests/:

1. use my_library::init;

3. #[test]
4. fn test_init() {
5. assert!(init().is_ok());
6. }

These tests only have access to the public API of your crate.