Skip to content

dotnet API for running utPLSQL v3+ unit tests from .net applications

License

Notifications You must be signed in to change notification settings

utPLSQL/utPLSQL-dotnet-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 

Repository files navigation

utPLSQL .NET API

.NET API for running utPLSQL v3+ unit tests from .NET applications

Usage

Run Tests and Consume Results

var testRunner = new RealTimeTestRunner();
testRunner.Connect(username: "toscamtest", password: "toscamtest", database: "CA40");

// Runs tests for the user tosamtest
var events = new List<@event>();

await testRunner.RunTestsAsync("toscamtest", @event =>
{
    events.Add(@event);
});

Get Coverage Report

var testRunner = new RealTimeTestRunner();
testRunner.Connect(username: "toscamtest", password: "toscamtest", database: "CA40");

var events = new List<@event>();

string htmlReport = await testRunner.RunTestsWithCoverageAsync(path: "toscamtest", 
                                         consumer: @event => { events.Add(@event); },
                                         coverageSchema: "toscam", 
                                         includeObjects: new List<string>() { "pa_m720", "pa_m770" });

Releases

Releases are published to nuGet: https://www.nuget.org/packages/utPLSQL.Api/

Issues

Please file your bug reports, enhancement requests, questions and other support requests within Github's issue tracker.

How to Contribute

  1. Describe your idea by submitting an issue
  2. Fork the utPLSQL-PLSQL-Developer respository
  3. Create a branch, commit and publish your changes and enhancements
  4. Create a pull request

How to Build

  1. Open the utPLSQL.Api.sln solution in Visual Studio
  2. Build the solution

License

utPLSQL .NET API is licensed under the Apache License, Version 2.0. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

About

dotnet API for running utPLSQL v3+ unit tests from .net applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages