Git Product home page Git Product logo

Comments (8)

marckhouzam avatar marckhouzam commented on May 25, 2024 1

@jdolitsky Good idea. And it turns out to be much easier than adding a new target.

from acceptance-testing.

marckhouzam avatar marckhouzam commented on May 25, 2024

Do you mean "Test Helm shell completion across different shells..." or did you have something larger in mind?

I think the shell matters greatly for completion but I don't believe it will affect other features.

from acceptance-testing.

jdolitsky avatar jdolitsky commented on May 25, 2024

@marckhouzam I think we should just add a shells.robot (or something similar), with the first test case inside being Verify command completion works. This opens up the possibility of adding other shell-specifc tests in the future.

Please see kubernetes_versions.robot#L45 for an example (similar to Verify --wait flag works as expected test case)

from acceptance-testing.

marckhouzam avatar marckhouzam commented on May 25, 2024

@jdolitsky Sounds good. I'll give it a try.

from acceptance-testing.

marckhouzam avatar marckhouzam commented on May 25, 2024

@jdolitsky The way things are currently setup, when I add a shells.robot file, then whenever I want to run the shell-completion tests, it will run the entire acceptance test-suite, which is already long (over 7 min on my machine). So to test completion during development, this becomes difficult.

Would it be ok to split things so I could do make shells which will only run shells.robot?
And make acceptance can run both shells.robot and kubernetes_versions.robot?

from acceptance-testing.

jdolitsky avatar jdolitsky commented on May 25, 2024

@marckhouzam It would be my preference/suggestion that instead of adding a separate make target, we find the appropriate way to do this with robot. Then we can maybe have an option ROBOT_RUN_TESTS that defaults to all tests ( ROBOT_RUN_TESTS=kubernetes_versions,shells).

This way you could do something like

ROBOT_RUN_TESTS=shells
make acceptance

from acceptance-testing.

marckhouzam avatar marckhouzam commented on May 25, 2024

Proposed implementation of ROBOT_RUN_TESTS in #10

from acceptance-testing.

jdolitsky avatar jdolitsky commented on May 25, 2024

closed via #12

from acceptance-testing.

Related Issues (16)

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.