From 0af0d4922241d676dce9f5861ae9074a8d06dbbb Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Wed, 16 Aug 2017 14:58:25 -0700 Subject: [PATCH] Remove overly wordy "Smoke Test Suite", change 'context' to 'describe' --- test/smoke/src/test.ts | 2 +- test/smoke/src/tests/configuration-views.ts | 2 +- test/smoke/src/tests/css.ts | 2 +- test/smoke/src/tests/data-loss.ts | 2 +- test/smoke/src/tests/data-migration.ts | 2 +- test/smoke/src/tests/explorer.ts | 2 +- test/smoke/src/tests/extensions.ts | 2 +- test/smoke/src/tests/git.ts | 2 +- test/smoke/src/tests/integrated-terminal.ts | 2 +- test/smoke/src/tests/javascript-debug.ts | 2 +- test/smoke/src/tests/javascript.ts | 2 +- test/smoke/src/tests/localization.ts | 2 +- test/smoke/src/tests/multiroot.ts | 2 +- test/smoke/src/tests/search.ts | 2 +- test/smoke/src/tests/statusbar.ts | 2 +- test/smoke/src/tests/tasks.ts | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/test/smoke/src/test.ts b/test/smoke/src/test.ts index 3eb91634c19..0f1725dfa90 100644 --- a/test/smoke/src/test.ts +++ b/test/smoke/src/test.ts @@ -19,7 +19,7 @@ import { testExtensions } from "./tests/extensions"; import { testLocalization } from "./tests/localization"; import { testMultiRoot } from "./tests/multiroot"; -describe('Smoke Test Suite', () => { +describe('Smoke:', () => { testDataMigration(); testDataLoss(); testExplorer(); diff --git a/test/smoke/src/tests/configuration-views.ts b/test/smoke/src/tests/configuration-views.ts index ff810dd37d4..c5673a73416 100644 --- a/test/smoke/src/tests/configuration-views.ts +++ b/test/smoke/src/tests/configuration-views.ts @@ -13,7 +13,7 @@ let app: SpectronApplication; let common: CommonActions; export function testConfigViews() { - context('Configuration and views', () => { + describe('Configuration and views', () => { let configView: ConfigurationView; beforeEach(async function () { diff --git a/test/smoke/src/tests/css.ts b/test/smoke/src/tests/css.ts index 52fcf60335f..c591c0fc6f2 100644 --- a/test/smoke/src/tests/css.ts +++ b/test/smoke/src/tests/css.ts @@ -13,7 +13,7 @@ let app: SpectronApplication; let common: CommonActions; export function testCSS() { - context('CSS', () => { + describe('CSS', () => { let css: CSS; beforeEach(async function () { diff --git a/test/smoke/src/tests/data-loss.ts b/test/smoke/src/tests/data-loss.ts index c090b6f140c..cccefb9aa42 100644 --- a/test/smoke/src/tests/data-loss.ts +++ b/test/smoke/src/tests/data-loss.ts @@ -14,7 +14,7 @@ let common: CommonActions; let dl: DataLoss; export function testDataLoss() { - context('Data Loss', () => { + describe('Data Loss', () => { beforeEach(async function () { app = new SpectronApplication(LATEST_PATH, this.currentTest.fullTitle(), (this.currentTest as any).currentRetry(), [WORKSPACE_PATH], [`--user-data-dir=${USER_DIR}`]); diff --git a/test/smoke/src/tests/data-migration.ts b/test/smoke/src/tests/data-migration.ts index 4c9ac38334d..86e781bf0ec 100644 --- a/test/smoke/src/tests/data-migration.ts +++ b/test/smoke/src/tests/data-migration.ts @@ -16,7 +16,7 @@ export function testDataMigration() { return; } - context('Data Migration', () => { + describe('Data Migration', () => { afterEach(async function () { await app.stop(); diff --git a/test/smoke/src/tests/explorer.ts b/test/smoke/src/tests/explorer.ts index d1a4570f003..9edf29bb7d6 100644 --- a/test/smoke/src/tests/explorer.ts +++ b/test/smoke/src/tests/explorer.ts @@ -12,7 +12,7 @@ let app: SpectronApplication; let common: CommonActions; export function testExplorer() { - context('Explorer', () => { + describe('Explorer', () => { beforeEach(async function () { app = new SpectronApplication(LATEST_PATH, this.currentTest.fullTitle(), (this.currentTest as any).currentRetry(), [WORKSPACE_PATH]); diff --git a/test/smoke/src/tests/extensions.ts b/test/smoke/src/tests/extensions.ts index 39894de6fea..d9527e1432e 100644 --- a/test/smoke/src/tests/extensions.ts +++ b/test/smoke/src/tests/extensions.ts @@ -16,7 +16,7 @@ let common: CommonActions; export function testExtensions() { - context('Extensions', () => { + describe('Extensions', () => { let extensions: Extensions; const extensionName = 'vscode-smoketest-check'; diff --git a/test/smoke/src/tests/git.ts b/test/smoke/src/tests/git.ts index 98f2c761aa5..35d61752dae 100644 --- a/test/smoke/src/tests/git.ts +++ b/test/smoke/src/tests/git.ts @@ -13,7 +13,7 @@ let app: SpectronApplication; let common: CommonActions; export function testGit() { - context('Git', () => { + describe('Git', () => { let git: Git; beforeEach(async function () { diff --git a/test/smoke/src/tests/integrated-terminal.ts b/test/smoke/src/tests/integrated-terminal.ts index 57ec1d42d09..b9dbe88bcb6 100644 --- a/test/smoke/src/tests/integrated-terminal.ts +++ b/test/smoke/src/tests/integrated-terminal.ts @@ -13,7 +13,7 @@ let app: SpectronApplication; let common: CommonActions; export function testIntegratedTerminal() { - context('Integrated Terminal', () => { + describe('Integrated Terminal', () => { let terminal: IntegratedTerminal; beforeEach(async function () { diff --git a/test/smoke/src/tests/javascript-debug.ts b/test/smoke/src/tests/javascript-debug.ts index 970fa6edabf..0018ae2f077 100644 --- a/test/smoke/src/tests/javascript-debug.ts +++ b/test/smoke/src/tests/javascript-debug.ts @@ -13,7 +13,7 @@ let app: SpectronApplication; let common: CommonActions; export function testJavaScriptDebug() { - context('Debugging JavaScript', () => { + describe('Debugging JavaScript', () => { let jsDebug: JavaScriptDebug; beforeEach(async function () { diff --git a/test/smoke/src/tests/javascript.ts b/test/smoke/src/tests/javascript.ts index b522ce5c66f..60466ec5deb 100644 --- a/test/smoke/src/tests/javascript.ts +++ b/test/smoke/src/tests/javascript.ts @@ -13,7 +13,7 @@ let app: SpectronApplication; let common: CommonActions; export function testJavaScript() { - context('JavaScript', () => { + describe('JavaScript', () => { let js: JavaScript; beforeEach(async function () { diff --git a/test/smoke/src/tests/localization.ts b/test/smoke/src/tests/localization.ts index a40f7cfc9ed..3e45fbc1e48 100644 --- a/test/smoke/src/tests/localization.ts +++ b/test/smoke/src/tests/localization.ts @@ -13,7 +13,7 @@ let app: SpectronApplication; let common: CommonActions; export function testLocalization() { - context('Localization', () => { + describe('Localization', () => { afterEach(async function () { return await app.stop(); }); diff --git a/test/smoke/src/tests/multiroot.ts b/test/smoke/src/tests/multiroot.ts index 22aa8001452..73153097514 100644 --- a/test/smoke/src/tests/multiroot.ts +++ b/test/smoke/src/tests/multiroot.ts @@ -12,7 +12,7 @@ let app: SpectronApplication; let common: CommonActions; export function testMultiRoot() { - context('Multi Root', () => { + describe('Multi Root', () => { beforeEach(async function () { app = new SpectronApplication(LATEST_PATH, this.currentTest.fullTitle(), (this.currentTest as any).currentRetry(), [CODE_WORKSPACE_PATH]); diff --git a/test/smoke/src/tests/search.ts b/test/smoke/src/tests/search.ts index 35ea09e7e46..36818f0bcbd 100644 --- a/test/smoke/src/tests/search.ts +++ b/test/smoke/src/tests/search.ts @@ -13,7 +13,7 @@ let app: SpectronApplication; let common: CommonActions; export function testSearch() { - context('Search', () => { + describe('Search', () => { let search: Search; beforeEach(async function () { diff --git a/test/smoke/src/tests/statusbar.ts b/test/smoke/src/tests/statusbar.ts index 9038266b334..d092105bec6 100644 --- a/test/smoke/src/tests/statusbar.ts +++ b/test/smoke/src/tests/statusbar.ts @@ -13,7 +13,7 @@ let app: SpectronApplication; let common: CommonActions; export function testStatusbar() { - context('Status Bar', () => { + describe('Status Bar', () => { let statusBar: StatusBar; beforeEach(async function () { diff --git a/test/smoke/src/tests/tasks.ts b/test/smoke/src/tests/tasks.ts index 45fc5d794bb..1aa10e3eac2 100644 --- a/test/smoke/src/tests/tasks.ts +++ b/test/smoke/src/tests/tasks.ts @@ -11,7 +11,7 @@ import { Tasks } from "../areas/tasks"; let app: SpectronApplication; export function testTasks() { - context('Tasks', () => { + describe('Tasks', () => { let tasks: Tasks; beforeEach(async function () {