From 9b976ccbfd173b65de266c086d269fb78bf641e8 Mon Sep 17 00:00:00 2001 From: George FunBook Date: Wed, 9 Aug 2023 16:30:27 -0500 Subject: [PATCH] add coverage and tests to top flixel --- .vscode/settings.json | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index 5289668371..5ab2220304 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,6 +5,10 @@ "tests/coverage/source", "tests/unit/src" ], + "search.exclude": { + "tests/coverage/export/**/*.hx": true, + "tests/unit/bin/**/*.hx": true + }, "[haxe]": { "editor.formatOnSave": true, "editor.formatOnSaveMode": "modifications" @@ -25,5 +29,37 @@ "flash:openfl" ] } + ], + "lime.projectFile": "tests/coverage/Project.xml", + "lime.targets": [ + { + "label": "AIR", + "enabled":false + }, + { + "label": "Electron", + "enabled":false + } + ], + "lime.buildTypes": [ + { + "label": "Final", + "enabled":false + }, + { + "label": "Debug", + "enabled":false + }, + { + "args": ["-Dcoverage1"], + "label": "Coverage1" + }, + { + "args": ["-Dcoverage2"], + "label": "Coverage2" + } + ], + "haxeTestExplorer.testCommand": [ + "haxelib", "run", "lime", "test", "tests/unit/project.xml", "cpp", "--haxelib=test-adapter" ] } \ No newline at end of file