提交 0af0d492 编写于 作者: R Rob Lourens

Remove overly wordy "Smoke Test Suite", change 'context' to 'describe'

上级 cb1797f1
......@@ -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();
......
......@@ -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 () {
......
......@@ -13,7 +13,7 @@ let app: SpectronApplication;
let common: CommonActions;
export function testCSS() {
context('CSS', () => {
describe('CSS', () => {
let css: CSS;
beforeEach(async function () {
......
......@@ -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}`]);
......
......@@ -16,7 +16,7 @@ export function testDataMigration() {
return;
}
context('Data Migration', () => {
describe('Data Migration', () => {
afterEach(async function () {
await app.stop();
......
......@@ -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]);
......
......@@ -16,7 +16,7 @@ let common: CommonActions;
export function testExtensions() {
context('Extensions', () => {
describe('Extensions', () => {
let extensions: Extensions;
const extensionName = 'vscode-smoketest-check';
......
......@@ -13,7 +13,7 @@ let app: SpectronApplication;
let common: CommonActions;
export function testGit() {
context('Git', () => {
describe('Git', () => {
let git: Git;
beforeEach(async function () {
......
......@@ -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 () {
......
......@@ -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 () {
......
......@@ -13,7 +13,7 @@ let app: SpectronApplication;
let common: CommonActions;
export function testJavaScript() {
context('JavaScript', () => {
describe('JavaScript', () => {
let js: JavaScript;
beforeEach(async function () {
......
......@@ -13,7 +13,7 @@ let app: SpectronApplication;
let common: CommonActions;
export function testLocalization() {
context('Localization', () => {
describe('Localization', () => {
afterEach(async function () {
return await app.stop();
});
......
......@@ -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]);
......
......@@ -13,7 +13,7 @@ let app: SpectronApplication;
let common: CommonActions;
export function testSearch() {
context('Search', () => {
describe('Search', () => {
let search: Search;
beforeEach(async function () {
......
......@@ -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 () {
......
......@@ -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 () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册