mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-24 01:25:37 -05:00
Add notebook integration tests (#4652)
* Add notebook integration tests
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
import 'mocha';
|
||||
import * as vscode from 'vscode';
|
||||
import { context } from './testContext';
|
||||
import assert = require('assert');
|
||||
|
||||
if (!context.RunTest) {
|
||||
suite('integration test setup', () => {
|
||||
@@ -16,6 +17,10 @@ if (!context.RunTest) {
|
||||
await vscode.commands.executeCommand('test.setupIntegrationTest');
|
||||
//Reload the window, this is required for some changes made by the 'test.setupIntegrationTest' to work
|
||||
await vscode.commands.executeCommand('workbench.action.reloadWindow');
|
||||
|
||||
assert(process.env.BDC_BACKEND_HOSTNAME !== undefined &&
|
||||
process.env.BDC_BACKEND_USERNAME !== undefined &&
|
||||
process.env.BDC_BACKEND_PWD !== undefined, 'BDC_BACKEND_HOSTNAME, BDC_BACKEND_USERNAME, BDC_BACKEND_PWD must be set using ./scripts/setbackenvariables.sh or .\\scripts\\setbackendvaraibles.bat');
|
||||
});
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user