Class PayrunEmployeePreviewTestRunner
Payrun employee preview test runner
Inherited Members
Namespace: PayrollEngine.Client.Test.Payrun
Assembly: PayrollEngine.Client.Test.dll
Syntax
public class PayrunEmployeePreviewTestRunner : PayrunTestRunnerBase
Constructors
PayrunEmployeePreviewTestRunner(PayrollHttpClient, PayrunTestSettings)
Initializes a new instance of the PayrunEmployeePreviewTestRunner class
Declaration
public PayrunEmployeePreviewTestRunner(PayrollHttpClient httpClient, PayrunTestSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| PayrollHttpClient | httpClient | The payroll engine http client |
| PayrunTestSettings | settings | The test settings |
Methods
TestAllAsync(Exchange)
Start the test
Declaration
public override Task<Dictionary<Tenant, List<PayrollTestResult>>> TestAllAsync(Exchange exchange)
Parameters
| Type | Name | Description |
|---|---|---|
| Exchange | exchange | The exchange model |
Returns
| Type | Description |
|---|---|
| Task<Dictionary<Tenant, List<PayrollTestResult>>> | A dictionary of tenant to payroll test results |