Giter VIP home page Giter VIP logo

minishell_tester's Introduction

Minishell Tester

๐Ÿ - Python

python3 --version >= Python 3.8

๐Ÿ› ๏ธ - How to use?

First time

git clone https://github.com/kichkiro/minishell_tester.git
cd minishell_tester 
pip3 install -r requirements.txt 
python3 src/__main__.py [project path]

Next times

python3 src/__main__.py [project path]

๐Ÿ“ˆ - Tester

The tests are divided into the following categories:

  • Parsing
  • Commands
  • Redirects
  • Pipe
  • Exit status
  • Booleans
  • Wildcards

IMPORTANT: The tests are not exhaustive, so it is possible that the project is not 100% functional even if all the tests are passed. Make your own tests.

๐Ÿ“ - Compatibility

As much as I have tried to make the tester as generic as possible, there may be some projects that may not be compatible. In that I have noticed that the Popen() method of the 'subprocess' module, the method I use to capture minishell output for some tests (Parsing, Commands, Exit Status, Booleans, Wildcards), does not always return the correct output on all projects.

๐Ÿชฒ - Report bugs

To report bugs, contact me:

Also feel free to send me Pull Request to add tests, implement new features, or fix bugs.

โš–๏ธ - License

See LICENSE

minishell_tester's People

Contributors

kichkiro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.