Giter Club home page Giter Club logo

Comments (6)

plocket avatar plocket commented on June 25, 2024

Discussing allowing the following inputs:

  1. language: Pick just one language to run. How do we make sure that 'default' will run the default language without error? Can probably use it to set environment variables. Alternatively, an if in the workflow or in the test?
  2. extra_languages: A list of comma separated languages to test. Why not? Nothing should ever not be a list!
  3. url: Specify a different url to test at (INTERVIEW_URL environment variable) (test_url? interview_url? Do not run setup or takedown when this is set)
  4. tag: Once we have tags figured out, test only tests with that tag.
  5. filepath: Pick one specific test file. Would probably affect the file path given as the argument to the script. Can that script use environment variables? [Maybe allow a glob?] [Maybe tags would be better than filepaths]

Should all of these be able to be env variables that are then overridden by these manual variables?

Other ideas/thoughts?

from alkiln.

plocket avatar plocket commented on June 25, 2024

extra_languages might be a better name than languages

from alkiln.

plocket avatar plocket commented on June 25, 2024
  • Manual trigger has been added.
  • extra_languages is now available, though language-agnostic functionality is not quite ready.

from alkiln.

plocket avatar plocket commented on June 25, 2024

extra_languages has been added.

from alkiln.

plocket avatar plocket commented on June 25, 2024

Remaining:

  • url
  • tags
  • fileglob (?)

from alkiln.

plocket avatar plocket commented on June 25, 2024

At this point, we have decided against adding these other env vars.

  • tags: Authors manage this now in their workflow file
  • languages: Can be controlled with a cucumber Examples block in a Scenario Outline for the test. We'll see if it's possible to use a Background action so authors can avoid writing those examples in every test.
  • url Can be given on a per-Scenario, or even per-Step, basis.
  • filepath: Actually better taken care of by tags

from alkiln.

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.