Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Output of SJS Unit Tests not reported correctly in UI #854

@tternquist

Description

@tternquist

CC @dmcassel

The issue

Short description of the problem:
When using SJS unit tests the outputs do not appear to be correctly reported. Instead of a count, the output for tests run, passed and failed are each "-"

What are the steps to reproduce the problem?
Can reproduce with these contents as a test file under any test suite:

const test = require("/test/test-helper.xqy");

(function testOne() {
    var actual = 2;
    return [test.assertEqual(3, actual), test.assertEqual(3, actual)];
})();
(function testTwo() {
    var actual = 1;
    return [test.assertEqual(3, actual), test.assertEqual(3, actual)];
})();

When run i see the following:

image

Tech Specs

Which Operating System are you using? MacOS Sierra

Which version of MarkLogic are you using? 9.0-2

Which version of Roxy are you using (see version.txt)? v1.7.7

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions