You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve the stability of API mock servers in unit tests #157
@seratch hi! our company put together a bot using the Bolt python framework (leveraging the FastAPI adaptor) and were curious if you have any documentation you could point us to in regards to the mock server and its usage outside of the provided code?
@vgupta-spothero Hi, I am glad to know you use Bolt and are curious about testing 👍
any documentation you could point us to in regards to the mock server and its usage outside of the provided code
Unfortunately, we do not have any document about testing and we do not provide any available testing tools for developers yet.
But if you are happy to reuse some part of the unit tests in this project, the following test code and its dependencies like tests.mock_web_api_server should be useful for writing scenario tests without Slack servers. If you like the code, please feel free to copy and customize them in your project (it's under the MIT license).
I cannot tell when and how but I am personally keen to provide some testing tools for Bolt users. We may be able to provide easy-to-use testing tools in the near future but until then, please go with your own solution 🙇
Reacted by Vibhav Gupta, Adrian Diaz Garcia, David Garaña Peña and David Ross
@vgupta-spothero Hi, I am glad to know you use Bolt and are curious about testing 👍
any documentation you could point us to in regards to the mock server and its usage outside of the provided code
Unfortunately, we do not have any document about testing and we do not provide any available testing tools for developers yet.
But if you are happy to reuse some part of the unit tests in this project, the following test code and its dependencies like tests.mock_web_api_server should be useful for writing scenario tests without Slack servers. If you like the code, please feel free to copy and customize them in your project (it's under the MIT license).
I cannot tell when and how but I am personally keen to provide some testing tools for Bolt users. We may be able to provide easy-to-use testing tools in the near future but until then, please go with your own solution 🙇
Sounds great @seratch! Thank you for that reply, much appreciated 🙏🏽
I cannot tell when and how but I am personally keen to provide some testing tools for Bolt users. We may be able to provide easy-to-use testing tools in the near future but until then, please go with your own solution 🙇
Activity
vgupta-spothero commentedon Jan 21, 2021
@seratch hi! our company put together a bot using the Bolt python framework (leveraging the FastAPI adaptor) and were curious if you have any documentation you could point us to in regards to the mock server and its usage outside of the provided code?
seratch commentedon Jan 22, 2021
@vgupta-spothero Hi, I am glad to know you use Bolt and are curious about testing 👍
Unfortunately, we do not have any document about testing and we do not provide any available testing tools for developers yet.
But if you are happy to reuse some part of the unit tests in this project, the following test code and its dependencies like
tests.mock_web_api_servershould be useful for writing scenario tests without Slack servers. If you like the code, please feel free to copy and customize them in your project (it's under the MIT license).I cannot tell when and how but I am personally keen to provide some testing tools for Bolt users. We may be able to provide easy-to-use testing tools in the near future but until then, please go with your own solution 🙇
vgupta-spothero commentedon Jan 25, 2021
Sounds great @seratch! Thank you for that reply, much appreciated 🙏🏽
Fix #157 Improve the stability of API mock servers in unit tests
adriandiazgar commentedon Aug 5, 2021
This would be very useful, +1 here
dgarana commentedon Aug 5, 2021
Can't wait for having that testing utils included on this framework :)