DOKK / manpages / debian 11 / kgb-client / App::KGB::Client::Fake.3pm.en
App::KGB::Client::Fake(3pm) User Contributed Perl Documentation App::KGB::Client::Fake(3pm)

App::KGB::Client::Fake - Fake KGB client

    use App::KGB::Client::Fake;
    my $client = App::KGB::Client::Fake(
        # common App::KGB::Client parameters
        repo_id => 'my-repo',
        ...
    );
    $client->process;

App::KGB::Client::Fake generates a fake commit. It is useful when testing client-server communication separately from SCM setup. See kgb-client(1)'s "--fake" option.

new ()

Standard constructor. Accepts no arguments.

None.

The first time this method is called, it returns an instance of App::KGB::Commit containing random information.

All subsequential invocations return undef.

2020-11-03 perl v5.30.3