QtPass 1.6.0
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
tst_integration.cpp File Reference
#include <QCoreApplication>
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QProcess>
#include <QRegularExpression>
#include <QSignalSpy>
#include <QStandardPaths>
#include <QTemporaryDir>
#include <QtTest>
#include "../../../src/enums.h"
#include "../../../src/imitatepass.h"
#include "../../../src/pass.h"
#include "../../../src/qtpasssettings.h"
#include "../../../src/realpass.h"
#include "../../../src/userinfo.h"
#include "tst_integration.moc"
Include dependency graph for tst_integration.cpp:

Go to the source code of this file.

Classes

class  tst_integration

Typedefs

using GrepResults = QList<QPair<QString, QStringList>>
 Integration tests for ImitatePass and RealPass backends.

Typedef Documentation

◆ GrepResults

using GrepResults = QList<QPair<QString, QStringList>>

Integration tests for ImitatePass and RealPass backends.

These tests spin up a real GPG homedir, generate a temporary key, and drive the password-store operations end-to-end without mocking gpg.

Prerequisites (all available on standard CI):

  • gpg (GnuPG 2.x)
  • pass (optional – RealPass tests are skipped when absent)
  • pass otp extension (optional – OTP tests skipped when absent)

Definition at line 34 of file tst_integration.cpp.