we have tests directory at:
lepv/app/tests/
we need to create unit tests for all the profiler methods, take 'lepv/app/tests/profilers/cpu/GetProcLoadavg' for example, we have a unit test class: "unitTests.py", what we need to do is to build its unittests.json, with pre-fetched data from the different source of LEPD server ( linux/android, x86/arm ... ).
the unit tests does not talk to any real LEPD server, it just checks if the profiler parser method in LEPV can do its job, and can still do its job for new source of LEPD, and can still work as expected after refactoring.
we have tests directory at:
lepv/app/tests/
we need to create unit tests for all the profiler methods, take 'lepv/app/tests/profilers/cpu/GetProcLoadavg' for example, we have a unit test class: "unitTests.py", what we need to do is to build its unittests.json, with pre-fetched data from the different source of LEPD server ( linux/android, x86/arm ... ).
the unit tests does not talk to any real LEPD server, it just checks if the profiler parser method in LEPV can do its job, and can still do its job for new source of LEPD, and can still work as expected after refactoring.