Skip to content

jalansari/robomars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

  • Working in virtualenv:

    • Python v3.7.x+ is required.
    • Setup virtual environment:
      • python3 -m venv .venv && source .venv/bin/activate
    • Install components:
      • pip install -r requirements_test.txt
  • Deactivate virtualenv:

    • deactivate

Typical Running of Script

  • Make sure virtualenv is active in the terminal:

    • source .venv/bin/activate
  • Run:

    • ./robomars.py -h
    • ./robomars.py <input_file>
  • E.g. some samples:

    • ./robomars.py tests/testfiles/sample_input
    • ./robomars.py tests/testfiles/sample_input_noblanklines
  • E.g. run all samples, good and bad:

    • ./.runallsamples

Testing

  • Using pytest:
    • PYTHONPATH=. pytest
    • PYTHONPATH=. pytest --junit-xml=testresults.xml --cov-report=html --cov-branch --cov=src

About

Small demo project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published