You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

776 B

README

  • Plan to convert the bash test scripts ../../test/*.sh into Python scripts and save them to this directory.
  • The test cases in this directory are based on unittest and written in a common format, which is different from the format described in ../writing_tests.md, but can be executed compatibly.

Running the test cases

  • Use runner.py to collect test cases and execute them:

    cd EXIV2_DIR/tests
    python3 runner.py -v unit_test
    
  • Also, you can use pytest to execute the test cases for unittest, so that the test report looks better:

    cd EXIV2_DIR/tests
    pytest -v unit_test
    
  • If no exception occurs during the execution of the test case, it passes. Otherwise it fails.