Skip to content
Extension that provides a helper web service for running tests in Business Central AL build pipelines
Branch: master
Clone or download
Latest commit a32b252 Sep 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Clever Dynamics_Build Helper.app Initial commit Sep 9, 2019
Clever Dynamics_Build Helper_BC14.app Build Helper for BC14 Sep 9, 2019
README.md Update README.md Sep 9, 2019

README.md

This repo is to host the "Build Helper" app from Clever Dynamics.

The app includes a codeunit (90100) that is published as a web service to expose methods to help preparing and executing test suites as part of a Business Central AL build pipline. These apps are downloaded and consumed by the Tecman.Tfs.Tools PowerShell module (https://www.powershellgallery.com/packages/Tecman.Tfs.Tools) but can also be downloaded and used independently.

There are two .app files targeted at different versions of Dynamics 365 Business Central. Use "Build Helper" for BC15 and later and "Build Helper BC14" for BC14 and earlier.

GetTests

Takes three parameters:

  • TestSuiteName (Code10) - to specify the test suite name to add test codeunits and methods to (DEFAULT is used if a value is not specified)
  • StartID - the start of the range of IDs to add test codeunits from
  • EndID - the end of the range of IDs to add test codeunits from

This method will filter for test codeunits in the specified range and add them and their test methods to the test suite specified. The DEFAULT test suite will be used if no value is provided.

ClearTestSuite

Takes a single parameter:

  • TestSuiteName - the suite from which to clear the test codeunits and methods

This method removes all test codeunits and methods from the specified test suite.

You can’t perform that action at this time.