Attribute Macro marine_test_macro::marine_test[][src]

#[marine_test]

This macro allows user to write tests for services in the following form:

 #[marine_test(config = "/path/to/Config.toml", modules_dir = "path/to/service/modules")]
 fn test() {
     let service_result = greeting.greeting("John".to_string());
     assert_eq!(&service_result, "Hi, name!");
 }