Giter Site home page Giter Site logo

run all tests in CI server(s) about vim HOT 6 CLOSED

guillermooo avatar guillermooo commented on August 15, 2024
run all tests in CI server(s)

from vim.

Comments (6)

jpoon avatar jpoon commented on August 15, 2024

Re: microsoft/vscode#118

from vim.

guillermooo avatar guillermooo commented on August 15, 2024

I think that being able to redirect the tests output to a file would be enough; no need to mock out the whole VS Code API from the cli. If I got you right.

from vim.

jpoon avatar jpoon commented on August 15, 2024

@guillermooo Tests execute in the VSCode context so it requires at least a window.

from vim.

guillermooo avatar guillermooo commented on August 15, 2024

@jpoon

GUIs run fine in Appveyor and you can get Travis to run GUIs too.

See: https://github.com/randy3k/UnitTesting/blob/master/sbin/travis.sh#L78

We test Sublime Text just fine in both CI services.

from vim.

jpoon avatar jpoon commented on August 15, 2024

Sweet! Didn't know you can have windowed processes on Travis or Appveyor. Definitely would be a better solution to just running a subset of the tests as we are now. I think we are blocked on this until microsoft/vscode#118.

from vim.

jpoon avatar jpoon commented on August 15, 2024

With Dec. update, possible to run tests with Travis CI (https://code.visualstudio.com/Docs/extensions/testing-extensions)

Caveats:

  • Does not work on Windows (e.g. AppVeyor)
  • activeTextEditor is null => any UI tests which insert/delete will fail :(

Investigative work in this branch: https://github.com/VSCodeVim/Vim/tree/run-all-tests

from vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.