in src/Framework/HackTest.hack [31:40]
public final function __construct() {
$class = new \ReflectionClass($this);
$this->filename = $class->getFileName() as string;
$this->methods = Vec\filter(
$class->getMethods(),
$method ==> Str\starts_with($method->getName(), 'test'),
);
$this->filterTestMethods();
$this->validateTestMethods();
}