Skip to content

Releases: LouisLanganay/42sh-tester

Version 1.4

28 Apr 17:11
Compare
Choose a tag to compare

42sh tester

With this tester you can test your own shell.
Based on TCSH.

Requirements ⚠️

  • You must make your project.
  • Your binary must have the name "42sh".

Usage

  1. Clone this repo in your 42sh repository git clone git@github.com:LouisLanganay/42sh-tester.git
  2. Run it with ./42sh-tester/my_tester.sh

OR

  1. Go to the last release and download the run_tests.sh file.
  2. Put it in the root of your project.
  3. Run it with ./run_tests.sh.

Note You can get informations about a specific test using ./run_tests.sh TEST_NBR

Features tested

Commands builtin

  • cd
  • exit
  • env
  • setenv
  • unsetenv
  • echo
  • history
  • which
  • where
  • alias

Separators

  • |
  • >
  • >>
  • <

Operators

  • &&
  • ||

Backticks

  • ```

Note All return values are tested for each tests

Version 1.3

26 Apr 19:13
Compare
Choose a tag to compare

Requirements ⚠️

  • You must make your project.
  • Your binary must have the name "42sh".

Usage

  1. Clone this repo in your 42sh repository git clone git@github.com:LouisLanganay/42sh-tester.git
  2. Run it with ./42sh-tester/my_tester.sh

OR

  1. Go to the last release and download the run_tests.sh file.
  2. Put it in the root of your project.
  3. Run it with ./run_tests.sh.

Note Don't forget to chmod 777 run_tests.sh before running it.

Version 1.2

22 Apr 20:12
b4336b8
Compare
Choose a tag to compare

Requirements ⚠️

  • You must make your project.
  • Your binary must have the name "42sh".

Usage

  1. Clone this repo in your 42sh repository git clone git@github.com:LouisLanganay/42sh-tester.git
  2. Run it with ./42sh-tester/my_tester.sh

OR

  1. Go to the last release and download the run_tests.sh file.
  2. Put it in the root of your project.
  3. Run it with ./run_tests.sh.

Note Don't forget to chmod 777 run_tests.sh before running it.

Version 1.1

21 Apr 16:45
725c6b8
Compare
Choose a tag to compare

image

42sh tester

With this tester you can test your own shell.
Based on TCSH.

Requirements ⚠️

  • You must make your project.
  • Your binary must have the name "42sh".

Usage

  1. Clone this repo in your 42sh repository git clone git@github.com:LouisLanganay/42sh-tester.git
  2. Run it with ./42sh-tester/my_tester.sh

ℹ️ Don't forget to chmod 777 my_tester.sh before running it.

Features tested

Commands builtin

  • cd
  • exit
  • env
  • setenv
  • unsetenv
  • echo

Separators

  • |
  • >
  • >>
  • <

Version v1.0

29 Mar 22:30
Compare
Choose a tag to compare

Version v1.0

Requirements

  • You must make your project.
  • Your binary must have the name "mysh".

Usage

  1. Go to the last release and download the my_tester.sh file.
  2. Put it in the root of your project.
  3. Run it with ./my_tester.sh.

ℹ️ Don't forget to chmod 777 my_tester.sh before running it.

Features tested

Commands builtin

  • cd
  • exit
  • env
  • setenv
  • unsetenv
  • echo

Separators

  • |
  • >
  • >>
  • <