MarketSquare / robotframework-aws

Custom Library for Robot Framework to interact with Amazon Cloud Services
MIT License
26 stars 21 forks source link

add tests for keywords #19

Closed teaglebuilt closed 3 months ago

teaglebuilt commented 4 years ago

We need to cover existing keywords with unit tests. Adleast, every keyword should have a direct unit test. We also need solutions in how we will choose to write our tests with aws services, mocking, etc...

adrianyorke commented 4 years ago

Yes, I agree. I will have a think about this next time I am deep into coding/testing.

adrianyorke commented 4 years ago

I'm still pondering this. Unit tests should not have any external dependencies, i.e. they should be able to test the code in isolation without connecting to external systems but of course the whole point of this library is to connect to AWS.

teaglebuilt commented 4 years ago

I'm still pondering this. Unit tests should not have any external dependencies, i.e. they should be able to test the code in isolation without connecting to external systems but of course the whole point of this library is to connect to AWS.

yeah since this library is essentially a wrapper. Each keyword needs tests to verify the functionality.