Source: Software Testing course at ITMO university by Kochubeev Nikolay Sergeevich
Factory is a method or class that creates a ready-made object for a test. It is useful if the object is complex or requires many parameters.