moviestar

Integration Test Documentation

This directory contains comprehensive documentation for MovieStar’s integration testing framework with Solid POD authentication.

Quick Navigation

πŸ“š Concepts - Understanding the System

Start here if you’re new to POD authentication:

πŸ“– Guides - Step-by-Step Instructions

Practical how-to guides:

πŸ“‹ Reference - Quick Lookup

Documentation Structure

integration_test/docs/
β”œβ”€β”€ README.md              # This file - main navigation
β”‚
β”œβ”€β”€ concepts/              # Understanding the system
β”‚   β”œβ”€β”€ authentication.md
β”‚   β”œβ”€β”€ architecture.md
β”‚   └── architecture-flows.md
β”‚
β”œβ”€β”€ guides/                # How-to documentation
β”‚   β”œβ”€β”€ setup-guide.md
β”‚   β”œβ”€β”€ testing-guide.md
β”‚   β”œβ”€β”€ troubleshooting.md
β”‚   β”œβ”€β”€ adapting.md
β”‚   β”œβ”€β”€ adapting-providers.md
β”‚   └── adapting-cicd.md
β”‚
└── reference/             # Quick lookup
    └── json-files.md

Quick Start

If you just want to run tests without understanding the details:

# 1. Ensure test_credentials.json exists
cat integration_test/fixtures/test_credentials.json

# 2. Run all integration tests
make qtest

# 3. If POD tests fail with expired tokens, regenerate:
dart run integration_test/tools/generate_auth_data.dart

For troubleshooting, see Troubleshooting.

Why This Documentation Exists

Solid POD authentication differs significantly from traditional app authentication. The integration test framework uses:

This documentation explains why these components are necessary, how they work together, and how to adapt them for other applications.

Learning Paths

Path 1: I just want to run tests

Path 2: I want to understand the system

Path 3: I want to adapt this for my app

External Resources

Contributing

When updating this documentation:

Questions or Issues?

If this documentation doesn’t answer your question, please: