move2kube
move2kube copied to clipboard
test: added test for Processor.go functions
test for filesystem processor.go functions
i) this test case covers a scenario where it checks if newProcessor function creates a processor instance with the given options. ii) test for the scenario where the processFile function is able to succesfully process the file. iii)test for scenario when processDirectory successfully processes an existing source and existing destination directory. iv) test for sceanrio when process function succesfully processes an existing source and existing destination directory.
partly fixes #881