Skip to content

Using vscode unit tests environment on travis build system. #779

@fforjan

Description

@fforjan

I all, I'm currently playing with VSC extensions and create a very simple one in typescript as learning experience about managing nuget packages for project.json - nuget4code, https://github.com/fforjan/nuget4code.

When learning, I'm always trying to do a full slice, including unit testing and build environment.
As I'm using GitHub, I've also link it to the Travis build system.
My npm test action is currently configure compile only, so I can catch build error which could have been missed on my computer (more likely none ;))

I got some unit tests working on my computer, they are really unit tests, I don't trigger any UI actions or other things, but they are doing import * as vscode from "vscode", use some vscode.Uri and thus require a vscode environment setup to run.

Do you have any idea how to configure Travis to be able to run unit tests ?

Metadata

Metadata

Assignees

Labels

*questionIssue represents a question, should be posted to StackOverflow (VS Code)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions