Please consider changing to or adding new async hooks #46
-
|
Could you please consider changing to or adding async hooks? [BeforeTestRun] in before test run in integ test there can be for example setup of database and if such methods are async in existing solution people need to make something like this [BeforeTestRun]
public static void BeforeTestRun()
{
FullDatabaseInstanceHolder.InitAsync("FullDatabase", "full").GetAwaiter().GetResult();
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
|
Although the documentation does not mention this (neither at Hooks nor at Asynchronous Bindings), but these are supported by Reqnroll! I have just checked and this worked: @AdaskoTheBeAsT If you could help by extending the two mentioned documentation page with a note for this, that would be appreciated. (Moved the topic to Q & A) |
Beta Was this translation helpful? Give feedback.
Although the documentation does not mention this (neither at Hooks nor at Asynchronous Bindings), but these are supported by Reqnroll!
I have just checked and this worked:
@AdaskoTheBeAsT If you could help by extending the two mentioned documentation page with a note for this, that would be appreciated.
(Moved the topic to Q & A)