Files
wallabag-mirror/doc/content/developer/testsuite.md
Yassine Guedidi efa2dd0d17 Add 'doc/' from commit '04f0bd51cc8886658dfcd3cda88c0948953b322f'
The documentation was imported from the former wallabag/doc repository.

We imported the documentation with:

  git subtree add --prefix=doc <path-or-url-to-wallabag/doc> master

A one-pass equivalent cleanup for imported commit messages was then:

  python3 git-filter-repo \
    --message-callback 'return re.sub(br"(?<![/\w])#(\d{1,3})(?!\d)", br"https://github.com/wallabag/doc/pull/\1", message)' \
    --refs master..chore/merge-doc-into-monorepo \
    --force

The rewrite approach was inspired by https://web.archive.org/web/20241208191856/https://aaronhe.org/git-filter-repo-to-rewrite-commit-history.

git-subtree-dir: doc
git-subtree-mainline: 6c48d72c64
git-subtree-split: 04f0bd51cc
2026-03-21 00:10:47 +01:00

556 B

title, weight
title weight
Test Suite 6

To ensure wallabag development quality, we wrote tests with PHPUnit.

When contributing to the project - whether through translations, bug fixes, or new features - you should include appropriate tests for your changes.

To launch wallabag testsuite, you need to have ant installed.

To run the tests, first install the project dependencies by running composer install. Then execute make test, which will populate the test database with sample data and run the tests.