Nuitka Webseite
Danke
This is how https://nuitka.net is built.
Please help and improve this in all ways, typos, better looks, more information, etc. all is appreciated and necessary. There is very extensive information available at https://nuitka.net/pages/website-manual.html with all the details
Right now, this is very much possible to improve in so many ways. Your turn!
Tests
This project includes visual regression tests to ensure the UI remains consistent across changes. Golden images act as the baseline reference for visual comparisons. Golden images can now be generated either locally or via GitHub Actions CI. Local (CLI) Method: CI Method (GitHub Actions): The Update Golden Images workflow automatically runs on pushes to main branches or can be triggered manually to update the golden images in CI. The workflow uses matrix combinations of browsers (Chromium, Firefox, WebKit) and devices (desktop, mobile). Generated golden images are cached for faster subsequent test runs. A backup of golden images is uploaded as an artifact with 90-day retention. Trigger the workflow manually in GitHub under Actions → Update Golden Images → Run workflow, or via GitHub CLI: All tests are executed with pytest. The suite includes explicit visual regression tests for each browser (Chromium, Firefox, WebKit) and viewport mode (desktop, mobile), parametrized across the golden pages. Ensure your local server is running at Activate your environment: run inside your pipenv shell. Run all tests (60 total: 10 pages × 3 browsers × 2 viewports): Use markers to run subsets (e.g., only desktop Chromium). Available markers: All desktop tests: All mobile tests: Specific combo (e.g., mobile Chromium): Single test function (e.g., desktop Firefox): Specific page in a test (e.g., home page on mobile WebKit): The following directories are created when running tests: CURRENT_DIR → Latest screenshots from the test run DIFF_DIR → Visual diffs highlighting failed comparisons GOLDEN_DIR → Baseline golden reference imagesGolden Images
Generate Golden Images
CLI Options
--browsers
→ Browsers to test (Chromium, Firefox, WebKit)--devices
→ Viewports (desktop, mobile)--pages
→ Pages to capture (e.g., home,about
)--wait
→ Delay (in ms) before taking the screenshot--clean
→ Remove old screenshots before generating--verbose
→ Enable detailed loggingRunning Tests
Prerequisites
http://localhost:8000
.Basic Commands
pytest tests/regression_test.py -v
Selective Execution with Markers
desktop
, mobile
, chromium
, firefox
, webkit
.pytest tests/regression_test.py -m "desktop" -v
pytest tests/regression_test.py -m "mobile" -v
pytest tests/regression_test.py -m "mobile and chromium" -v
pytest tests/regression_test.py::test_visual_desktop_firefox -v
pytest tests/regression_test.py::test_visual_mobile_webkit[/] -v
Test Output