Code Monkey home page Code Monkey logo

Comments (2)

bittner avatar bittner commented on June 20, 2024

Can you describe the way you'd like to use Behave to test the CLI behavior of your application?

It really depends on that. Behave is just a test runner. How you implement your tests is a different story.

For example, you may want to take a look at cli-test-helpers for ready-to-use test setups if you're fine to run unit tests. You can use the ideas to test a CLI from there too, and use (nearly) the same test code in your step implementations, if you prefer to stick to Behave.

from behave.

jenisys avatar jenisys commented on June 20, 2024

@FriesK1

  • Have you looked at behave4cmd0 and its step-library (bundled with behave) ?
  • There are some similar behave step-libraries for command-process on https://pypi.org/ (AFAIK).
    HINT: Just search for behave .

SEE ALSO:

NOTES:

  • Questions are normally asked under discussions and not under issues.

from behave.

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.