@@ -12,14 +12,14 @@ Tests run against the in-memory `DurableFunctionTestRunner`:
1212- ✅ Validates local runner behavior
1313
1414``` bash
15- # Run all example tests locally (default)
16- hatch run test: examples
15+ # Run all example tests locally (default, from repo root )
16+ hatch run dev- examples:test
1717
1818# Run with explicit mode flag
19- pytest --runner-mode=local -m example examples/test/
19+ pytest --runner-mode=local -m example packages/aws-durable-execution-sdk-python- examples/test/
2020
2121# Run specific test
22- pytest --runner-mode=local -k test_hello_world examples/test/
22+ pytest --runner-mode=local -k test_hello_world packages/aws-durable-execution-sdk-python- examples/test/
2323```
2424
2525### Cloud Mode (Integration)
@@ -30,7 +30,7 @@ Tests run against actual AWS Lambda functions using `DurableFunctionCloudTestRun
3030- ⚠️ Requires deployed functions
3131
3232``` bash
33- # Deploy function first
33+ # Deploy function first (from repo root)
3434hatch run examples:deploy " hello world" --function-name HelloWorld-Test
3535
3636# Set environment variables for cloud testing
@@ -39,10 +39,10 @@ export LAMBDA_ENDPOINT=https://lambda.us-west-2.amazonaws.com
3939export QUALIFIED_FUNCTION_NAME=" HelloWorld-Test:\$ LATEST"
4040export LAMBDA_FUNCTION_TEST_NAME=" hello world"
4141
42- # Run tests
43- pytest --runner-mode=cloud -k test_hello_world examples/test/
42+ # Run tests (from repo root)
43+ pytest --runner-mode=cloud -k test_hello_world packages/aws-durable-execution-sdk-python- examples/test/
4444
45- # Or using hatch
45+ # Or using hatch (from repo root)
4646hatch run test:examples-integration -k test_hello_world
4747```
4848
@@ -116,4 +116,4 @@ result = runner.run(input="test", timeout=120) # Increase to 120s
116116
117117** Solution** : Install dependencies:
118118``` bash
119- hatch run test: examples # Installs dependencies automatically
119+ hatch run dev- examples:test # Installs dependencies automatically
0 commit comments