robotframework-aws icon indicating copy to clipboard operation
robotframework-aws copied to clipboard

add tests for keywords

Open teaglebuilt opened this issue 5 years ago • 3 comments

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...

teaglebuilt avatar Dec 16 '19 16:12 teaglebuilt

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

adrianyorke avatar Dec 16 '19 21:12 adrianyorke

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.

adrianyorke avatar Jun 24 '20 17:06 adrianyorke

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.

teaglebuilt avatar Jun 25 '20 15:06 teaglebuilt