Attribute Macro fluence_sdk_test_macro::fce_test[][src]

#[fce_test]

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

 #[fce_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!");
 }