-
Code is written in python3
-
Install pytest for running unit tests
pip install -r requirements.txt
-
Run unit test using command
python3 -m pytest
-
Run driver program -
python3 main.py 10 sample.log
parameters to be passed areno. of lines to parse
andlog file path
rahulbagad / logparser Goto Github PK
View Code? Open in Web Editor NEWSolution for https://github.com/rahulbagad/LogParser/blob/master/problem-statement.pdf