Sending your code to the Gym
Gym [8] is Python’s toolkit for reinforcement learning algorithms. This tool is commonly used for solving games, which could help us if we were to create test automation for games. However, it is not the only reinforcement learning tool that exists and games are not the only potential uses for it. In the previous chapter, we created an exploratory web crawler. We could create another version using reinforcement learning so that instead of telling the system where to crawl next, the system will crawl to the areas where crashes are most probable.
Creating a crawler using reinforcement learning might not be the best solution for it, but this is only an example to help us explain this concept in a friendly fashion to qualified experts and to inspire you to think out of the box concerning testing. Furthermore, keep in mind that there are some tools out there that already have crawlers built in, and you might be better off exploring purchasing such...