Giter VIP home page Giter VIP logo

Comments (6)

AlecAivazis avatar AlecAivazis commented on May 29, 2024

Hmm so i'm not a huge fan of adding such an external dependency, especially since it adds new constraints on the dev flow. Thanks to survey, I try do just over half of my work on a windows machine so I dont forget about "the other side".

I'm curious if we can pull off something similar by providing a ReadWriter to the Stdin of the readline instance and terminal package.

from survey.

AlecAivazis avatar AlecAivazis commented on May 29, 2024

Although if this existed on the side of the scripts, so I could still run them by hand and then we just have Travis run the regression tests in its guaranteed Linux environment. That would definitely solve the problem in the short run (assuming the ReadWrite is non-trivial, which it feels like it would be)

from survey.

coryb avatar coryb commented on May 29, 2024

As far as effort goes, I think it would take ~5min to create a regression suite with autoexpect which could be run on travis (which now also supports OSX as well as linux). So to me that has pretty high value with little effort. For windows that is a port maintained by ActiveState: http://docs.activestate.com/activetcl/8.4/expect4win/ which might help with quasi manual testing. I could take a stab at creating these tests and hooking them up to travis, and if you decide you want to go in a different direction we can purge these scripts.

from survey.

AlecAivazis avatar AlecAivazis commented on May 29, 2024

Alright that sounds like a good plan. looking forward to seeing what you come up with

from survey.

coryb avatar coryb commented on May 29, 2024

Blorgh, I played around with it a bit more and the expect scripts that are generated do not fail cleanly when the output does not match, so this probably wont work as a regression after all. Off to try something less easy :)

from survey.

AlecAivazis avatar AlecAivazis commented on May 29, 2024

I'm closing this since the autoplay PR was finally merged

from survey.

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.