telstrapurple / PurpleExplorer

cross-platform Azure Service Bus explorer (Windows, MacOS, Linux)
MIT License
164 stars 33 forks source link

Add test #81

Closed LosManos closed 1 year ago

LosManos commented 1 year ago

This commit adds a test The value of the test is small but it is a start.

LosManos commented 1 year ago

I added a single test. I'm sorry for spamming your inbox with PR requests but I didn't realise the PR in my repo was connected to your repo. I had to play with the build to get test to work, until I found out tests in build was already activated.

So here it is. A simple test just to get rid of the excuses not to write tests.

I chose to put the test in a folder of its own. It can be argued it is over engineering.

It is not visible but I tried a failing test to verify the build failed. Then I rebased and force pushed the commit into oblivion.

Anything I missed?