Skip to content

Commit a751993

Browse files
committed
Updated README.md to show async API
1 parent 6927ce7 commit a751993

File tree

1 file changed

+7
-14
lines changed

1 file changed

+7
-14
lines changed

README.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@
99
testRunner.Connect(username: "toscamtest", password: "toscamtest", database: "CA40");
1010

1111
// Runs tests for the user tosamtest
12-
testRunner.RunTests(paths: "toscamtest");
13-
1412
var events = new List<@event>();
15-
testRunner.ConsumeResult(@event =>
13+
14+
await testRunner.RunTestsAsync("toscamtest", @event =>
1615
{
1716
events.Add(@event);
1817
});
@@ -22,21 +21,15 @@
2221
var testRunner = new RealTimeTestRunner();
2322
testRunner.Connect(username: "toscamtest", password: "toscamtest", database: "CA40");
2423

25-
// Runs tests for the user tosamtest with coverage
26-
testRunner.RunTestsWithCoverage(path: "toscamtest",
27-
coverageSchema: "toscam",
28-
includeObjects: new List<string>() { "pa_m720", "pa_m770" },
29-
excludeObjects: null);
30-
3124
var events = new List<@event>();
32-
testRunner.ConsumeResult(@event =>
33-
{
34-
events.Add(@event);
35-
});
3625

37-
var report = testRunner.GetCoverageReport();
26+
string htmlReport = await testRunner.RunTestsWithCoverageAsync(path: "toscamtest",
27+
@event => { events.Add(@event); },
28+
coverageSchema: "toscam",
29+
includeObjects: new List<string>() { "pa_m720", "pa_m770" });
3830

3931
## Releases
32+
4033
Releases are published to nuGet: https://www.nuget.org/packages/utPLSQL.Api/
4134

4235
## Issues

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy