Skip to content

How to ignore failing test #1700

Closed Answered by freddydk
KristofKlein asked this question in Q&A
Discussion options

You must be logged in to vote

Multiple things you can do...

You can create a file called DisabledTests.json and place this in your AL-Go project folder.
format should be:

[
  {
    "CodeunitName": "cuname1",
    "Method": "methodname1"
  },
  {
    "CodeunitName": "cuname2",
    "Method": "methodname2"
  }
]

wildcards are supported.

You can also disable all tests for CI/CD in the beginning (using doNotRunTests in workflow settings for CICD) and then run Test Current every night to run the tests and get the test failures.

But the thing you probably are looking for is a setting called failOn, which is error by default - but you should be able to set it to None. and then the pipeline doesn't fail on test failures.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by KristofKlein
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants