-
Notifications
You must be signed in to change notification settings - Fork 532
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AzureClient: Add JUnit reporting option to Azure End-to-end Tests (#1…
…6667) ## Description Similar to other E2E tests in the FF repo, it would be nice to have JUnit reports output from the Azure End-to-end test suite. With this change, setting `FLUID_TEST_REPORT=1` causes tests to output a nyc/junit-report.xml file. Additionally, mocha-test-setup adds the ability for us to easily plug in a test logger (e.g. ff-internal/aria-logger) for better log output reporting. I added `getTestLogger` as the logger for AzureClient when the mockLogger is not defined. As far as I can tell, there is currently no usage of MockLogger in these tests, so this shouldn't change anything. In the future, we can use a mix-in to output to both as needed, I think.
- Loading branch information
Showing
4 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/*! | ||
* Copyright (c) Microsoft Corporation and contributors. All rights reserved. | ||
* Licensed under the MIT License. | ||
*/ | ||
|
||
"use strict"; | ||
|
||
const packageDir = `${__dirname}/../..`; | ||
const getFluidTestMochaConfig = require("@fluidframework/mocha-test-setup/mocharc-common.js"); | ||
const config = getFluidTestMochaConfig(packageDir); | ||
module.exports = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.