Skip to content

Instantly share code, notes, and snippets.

View jimmymcp's full-sized avatar

James Pearson jimmymcp

View GitHub Profile
codeunit 90100 "Automated Test Mgt. BHTMN"
{
var
CALTestManagement: Codeunit "CAL Test Management";
ObjectNotCompiledErr: Label 'Object not compiled.';
procedure GetTests(TestSuiteName: Code[10]; StartID: Integer; EndID: Integer)
var
CALTestSuite: Record "CAL Test Suite";
CALTestLine: Record "CAL Test Line";
@jimmymcp
jimmymcp / Test-TranslationIsComplete.ps1
Last active August 6, 2021 09:36
Functions to translate .xlf files using Azure Cognitive Services
function Test-TranslationIsComplete {
param (
# the directory with the source code of the app to be translated
[Parameter(Mandatory=$false)]
[string]
$SourceDir = (Get-Location),
# whether to surpress the error
[Parameter(Mandatory=$false)]
[switch]
$SurpressError
@jimmymcp
jimmymcp / .multi-stage-azure-pipelines.yml
Created September 24, 2019 12:25
Example multi-stage YAML pipeline for Azure DevOps
trigger:
- '*'
pool:
name: Default
variables:
image_name: mcr.microsoft.com/businesscentral/sandbox
container_name: Build
company_name: My Company