Python-test
Advanced tools
@@ -8,2 +8,3 @@ "use strict"; | ||
| AppConstants.CONTACT_REVATURE = "Contact revature team to activate the revature-labs!"; | ||
| AppConstants.TEST_CASE_SYNTAX_ERROR = "You have compile/syntax issues in your Gitpod Workspace. Kindly fix the issues to load the test cases."; | ||
| AppConstants.UNDEFINED = "undefined"; | ||
@@ -10,0 +11,0 @@ AppConstants.SESSION_PLUGIN_INTERVAL = 60000; |
@@ -29,2 +29,4 @@ "use strict"; | ||
| const logging_1 = require("../../../logging"); | ||
| const vscode = require("vscode"); | ||
| const app_constants_1 = require("../../../revpro/constant/app-constants"); | ||
| let UnittestController = class UnittestController { | ||
@@ -51,3 +53,2 @@ constructor(discoveryRunner, runner, configService, workspaceService) { | ||
| if (rawTestData.tests.length === 0) { | ||
| testController.items.delete(item.id); | ||
| return Promise.resolve(); | ||
@@ -185,2 +186,5 @@ } | ||
| } | ||
| else { | ||
| vscode.window.showErrorMessage(app_constants_1.AppConstants.TEST_CASE_SYNTAX_ERROR); | ||
| } | ||
| } | ||
@@ -187,0 +191,0 @@ (0, telemetry_1.sendTelemetryEvent)(constants_2.EventName.UNITTEST_DISCOVERY_DONE, undefined, { tool: 'unittest', failed: false }); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display