forked from microsoft/vscode-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.ts
More file actions
24 lines (21 loc) · 832 Bytes
/
constants.ts
File metadata and controls
24 lines (21 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import { Product } from '../../common/types';
import { TestProvider, UnitTestProduct } from './types';
export const CANCELLATION_REASON = 'cancelled_user_request';
export enum CommandSource {
auto = 'auto',
ui = 'ui',
codelens = 'codelens',
commandPalette = 'commandpalette',
testExplorer = 'testExplorer'
}
export const TEST_OUTPUT_CHANNEL = 'TEST_OUTPUT_CHANNEL';
export const UNIT_TEST_PRODUCTS: UnitTestProduct[] = [Product.pytest, Product.unittest, Product.nosetest];
export const NOSETEST_PROVIDER: TestProvider = 'nosetest';
export const PYTEST_PROVIDER: TestProvider = 'pytest';
export const UNITTEST_PROVIDER: TestProvider = 'unittest';
export enum Icons {
discovering = 'discovering-tests.svg',
passed = 'status-ok.svg',
failed = 'status-error.svg',
unknown = 'status-unknown.svg'
}