imjoseangel / powerline-k8sstatus

A Powerline segment for showing the status of a K8s context
MIT License
2 stars 0 forks source link

Investigate how to create unit tests for the segment #4

Closed imjoseangel closed 3 years ago

imjoseangel commented 3 years ago

SUMMARY

Create unit test

ISSUE TYPE

COMPONENT NAME

segments

ADDITIONAL INFORMATION

Find the way to create testing procedures for the project

imjoseangel commented 3 years ago

Just added first tests with mocking. Needed some more for current functionality and CI