From 24d3d5c46e40c78c4ced83a389bb1469b3b2dfe4 Mon Sep 17 00:00:00 2001 From: Mathias Moser Date: Fri, 4 Dec 2026 09:19:58 +0100 Subject: [PATCH 1/4] docs(e2e-testing): name every step and chapter after what the reader does MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The side menu, page titles, next/previous buttons, tables and the diagram now say what to do, not just a topic: Step 1 · Learn with a Hello World 1 · Get your team ready 2 · Write and run your first test Step 2 · Test your product against its mock 3 · Get to know your product and its mock 4 · Connect an AI assistant (A · Connect an API key in the IDE, B · Connect a local model in the IDE, C · Build with your own AI tool) 5 · Build your product's test with AI 6 · Run your test against the mock Step 3 · Run it against the real product 7 · Add the test to your product's repository 8 · Shape the developer toolbox 9 · Link the test and open the pull request 10 · Plan your next test Signed-off-by: Mathias Moser Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01PpcAVdGCmbXy732EphNHQj --- e2e-testing/README.md | 28 +++++++-------- e2e-testing/docs/admin/run-of-show.md | 8 ++--- e2e-testing/docs/index.md | 28 +++++++-------- e2e-testing/docs/reference/ide.md | 2 +- e2e-testing/docs/reference/prepare.md | 2 +- e2e-testing/docs/reference/syntax.md | 2 +- e2e-testing/docs/tutorial/01-start-here.md | 6 ++-- e2e-testing/docs/tutorial/02-hello-testlab.md | 6 ++-- e2e-testing/docs/tutorial/03-your-product.md | 6 ++-- .../docs/tutorial/04-choose-your-ai/index.md | 10 +++--- e2e-testing/docs/tutorial/04a-api-key.md | 4 +-- e2e-testing/docs/tutorial/04b-local-model.md | 4 +-- .../docs/tutorial/04c-your-own-ai-tool.md | 4 +-- .../docs/tutorial/05-build-the-test.md | 6 ++-- e2e-testing/docs/tutorial/06-run-it.md | 6 ++-- .../docs/tutorial/07-add-to-repository.md | 6 ++-- .../docs/tutorial/08-configure-the-toolbox.md | 6 ++-- .../docs/tutorial/09-link-and-pull-request.md | 6 ++-- .../docs/tutorial/10-what-comes-next.md | 6 ++-- .../docs/tutorial/step-1-hello-world/index.md | 10 +++--- .../tutorial/step-2-your-product/index.md | 14 ++++---- .../tutorial/step-3-the-real-product/index.md | 14 ++++---- e2e-testing/hello-service/README.md | 2 +- e2e-testing/mkdocs.yml | 34 +++++++++---------- e2e-testing/snippets/three-steps.md | 6 ++-- 25 files changed, 113 insertions(+), 113 deletions(-) diff --git a/e2e-testing/README.md b/e2e-testing/README.md index 8cc3ba32..0e13edec 100644 --- a/e2e-testing/README.md +++ b/e2e-testing/README.md @@ -13,7 +13,7 @@ Made for the "AI and Test Management" session of the 7th Eclipse Tractus-X Commu | --- | --- | | New to all of this | [Why we are here](docs/story/why.md), then [A dataspace in five minutes](docs/story/dataspace.md) | | A participant, before the workshop | [Before you come](docs/reference/prepare.md) | -| A participant, and the clock is running | [1 · Start here](docs/tutorial/01-start-here.md) | +| A participant, and the clock is running | [1 · Get your team ready](docs/tutorial/01-start-here.md) | | Looking up a word | [Glossary](docs/reference/glossary.md) | | Running the session | [For administrators](docs/admin/index.md) | @@ -24,19 +24,19 @@ mock of the product, then the same test against the real product in the develope | | Chapter | Minutes | | --- | --- | --- | -| **Step 1 · Hello World** | | | -| 1 | [Start here](docs/tutorial/01-start-here.md) | 5 | -| 2 | [Hello, TestLab: your first test, by hand](docs/tutorial/02-hello-testlab.md) | 15 | -| **Step 2 · Your product's test** | | | -| 3 | [Your product and its mock](docs/tutorial/03-your-product.md) | 10 | -| 4 | [Choose your AI](docs/tutorial/04-choose-your-ai/index.md) | 5 | -| 5 | [Build the test with the assistant](docs/tutorial/05-build-the-test.md) | 15 | -| 6 | [Run it against your connectors](docs/tutorial/06-run-it.md) | 10 | -| **Step 3 · The real product** | | | -| 7 | [Add it to your repository](docs/tutorial/07-add-to-repository.md) | 10 | -| 8 | [Configure the developer toolbox](docs/tutorial/08-configure-the-toolbox.md) (optional) | 10 | -| 9 | [Link it and open the pull request](docs/tutorial/09-link-and-pull-request.md) | 5 | -| 10 | [What comes next](docs/tutorial/10-what-comes-next.md) | 5 | +| **Step 1 · Learn with a Hello World** | | | +| 1 | [Get your team ready](docs/tutorial/01-start-here.md) | 5 | +| 2 | [Write and run your first test, by hand](docs/tutorial/02-hello-testlab.md) | 15 | +| **Step 2 · Test your product against its mock** | | | +| 3 | [Get to know your product and its mock](docs/tutorial/03-your-product.md) | 10 | +| 4 | [Connect an AI assistant](docs/tutorial/04-choose-your-ai/index.md) | 5 | +| 5 | [Build your product's test with AI](docs/tutorial/05-build-the-test.md) | 15 | +| 6 | [Run your test against the mock](docs/tutorial/06-run-it.md) | 10 | +| **Step 3 · Run it against the real product** | | | +| 7 | [Add the test to your product's repository](docs/tutorial/07-add-to-repository.md) | 10 | +| 8 | [Shape the developer toolbox](docs/tutorial/08-configure-the-toolbox.md) (optional) | 10 | +| 9 | [Link the test and open the pull request](docs/tutorial/09-link-and-pull-request.md) | 5 | +| 10 | [Plan your next test](docs/tutorial/10-what-comes-next.md) | 5 | | | | **about 80** | ## What is in this folder diff --git a/e2e-testing/docs/admin/run-of-show.md b/e2e-testing/docs/admin/run-of-show.md index b7e52dd2..efefa258 100644 --- a/e2e-testing/docs/admin/run-of-show.md +++ b/e2e-testing/docs/admin/run-of-show.md @@ -33,11 +33,11 @@ chapters 5 and 6, and keep the two checkpoints. | Minute | Teams are in | Host says | Floor looks for | | --- | --- | --- | --- | -| 0 | [Step 1](../tutorial/step-1-hello-world/index.md) · [1 · Start here](../tutorial/01-start-here.md) | "Three steps: hello world, your product against its mock, the real product. Pick Driver, Navigator, Skeptic. Open a terminal." | Teams without Python 3.12: one laptop per team is enough | -| 5 | [2 · Hello, TestLab](../tutorial/02-hello-testlab.md) | "Write the first test yourself, on your laptop. No AI, no handout yet." | `testlab` not found; indentation. Teams with no working laptop: give them their IDE sign-in for the fallback | +| 0 | [Step 1](../tutorial/step-1-hello-world/index.md) · [1 · Get your team ready](../tutorial/01-start-here.md) | "Three steps: hello world, your product against its mock, the real product. Pick Driver, Navigator, Skeptic. Open a terminal." | Teams without Python 3.12: one laptop per team is enough | +| 5 | [2 · Write and run your first test](../tutorial/02-hello-testlab.md) | "Write the first test yourself, on your laptop. No AI, no handout yet." | `testlab` not found; indentation. Teams with no working laptop: give them their IDE sign-in for the fallback | | 20 | **Handout** | "Show us green, then red, and you get your handout." | Each team shows green and red. Hand over the handout and, for a team with a box **M**, its `.bruno-workshop.bru` | -| 22 | [Step 2](../tutorial/step-2-your-product/index.md) · [3 · Your product and its mock](../tutorial/03-your-product.md) | "Read your scenario. Press Fork now. Open your mock in Bruno and reset it." | Teams that cannot find a refusal: suggest "what was never offered is not found". Bruno with the `mock` environment selected instead of the workshop one | -| 30 | [4 · Choose your AI](../tutorial/04-choose-your-ai/index.md) | "Hands up when your assistant has answered." | Teams without a model: seat them with a team that has one | +| 22 | [Step 2](../tutorial/step-2-your-product/index.md) · [3 · Get to know your product and its mock](../tutorial/03-your-product.md) | "Read your scenario. Press Fork now. Open your mock in Bruno and reset it." | Teams that cannot find a refusal: suggest "what was never offered is not found". Bruno with the `mock` environment selected instead of the workshop one | +| 30 | [4 · Connect an AI assistant](../tutorial/04-choose-your-ai/index.md) | "Hands up when your assistant has answered." | Teams without a model: seat them with a team that has one | | 35 | [5 · Build](../tutorial/05-build-the-test.md) | "Plan first. Do not let it write before you agree with the plan." | Teams whose compile stays red after three rounds | | 50 | [6 · Run](../tutorial/06-run-it.md) | **Checkpoint:** "Who has a green compile? Reset your mock before every run." | Runs that wait: check the connectors at the Desk. A second run red: the mock was not reset | | 60 | [Step 3](../tutorial/step-3-the-real-product/index.md) · [7 · Repository](../tutorial/07-add-to-repository.md) | **Checkpoint:** "Who has seen a green run? Who has seen a red one and knows why? Now the same test meets the real product." | Git push problems, missing sign-off | diff --git a/e2e-testing/docs/index.md b/e2e-testing/docs/index.md index dbada4fe..9f671c80 100644 --- a/e2e-testing/docs/index.md +++ b/e2e-testing/docs/index.md @@ -41,25 +41,25 @@ Today you write the first one for your product. | Step | You do | You need | Done when | | --- | --- | --- | --- | -| [**1 · Hello World**](tutorial/step-1-hello-world/index.md) | Write one small test by hand and run it with TestLab on your laptop. No AI. | This page and a laptop with Python 3.12+ | You show a facilitator your test green, then red. **You get your handout.** | -| [**2 · Your product's test**](tutorial/step-2-your-product/index.md) | Build a test for your team's product with an AI assistant, and run it in the Test Suite. | The handout | It runs green against your product's **mock**, a WireMock that answers like the real product | -| [**3 · The real product**](tutorial/step-3-the-real-product/index.md) | Put the same test in the product's repository; the developer toolbox runs it against the real product in GitHub Actions. | Your fork | Your pull request shows the check | +| [**1 · Learn with a Hello World**](tutorial/step-1-hello-world/index.md) | Write one small test by hand and run it with TestLab on your laptop. No AI. | This page and a laptop with Python 3.12+ | You show a facilitator your test green, then red. **You get your handout.** | +| [**2 · Test your product against its mock**](tutorial/step-2-your-product/index.md) | Build a test for your team's product with an AI assistant, and run it in the Test Suite. | The handout | It runs green against your product's **mock**, a WireMock that answers like the real product | +| [**3 · Run it against the real product**](tutorial/step-3-the-real-product/index.md) | Put the same test in the product's repository; the developer toolbox runs it against the real product in GitHub Actions. | Your fork | Your pull request shows the check | ### Every chapter | Step | | Chapter | Minutes | At the end you have | | --- | --- | --- | --- | --- | -| **1** | 1 | [Start here](tutorial/01-start-here.md) | 5 | The mission, your roles, GitHub open | -| | 2 | [Hello, TestLab: your first test, by hand](tutorial/02-hello-testlab.md) | 15 | A test you wrote yourself, green and red. Then your handout | -| **2** | 3 | [Your product and its mock](tutorial/03-your-product.md) | 10 | Your fork, your scenario, and the mock answering in Bruno | -| | 4 | [Choose your AI](tutorial/04-choose-your-ai/index.md): [A · API key](tutorial/04a-api-key.md), [B · local model](tutorial/04b-local-model.md) or [C · your own AI tool](tutorial/04c-your-own-ai-tool.md) | 5–10 | An assistant that answers | +| **1** | 1 | [Get your team ready](tutorial/01-start-here.md) | 5 | The mission, your roles, GitHub open | +| | 2 | [Write and run your first test, by hand](tutorial/02-hello-testlab.md) | 15 | A test you wrote yourself, green and red. Then your handout | +| **2** | 3 | [Get to know your product and its mock](tutorial/03-your-product.md) | 10 | Your fork, your scenario, and the mock answering in Bruno | +| | 4 | [Connect an AI assistant](tutorial/04-choose-your-ai/index.md): [A · API key](tutorial/04a-api-key.md), [B · local model](tutorial/04b-local-model.md) or [C · your own AI tool](tutorial/04c-your-own-ai-tool.md) | 5–10 | An assistant that answers | | | | *Route C builds on your laptop and replaces chapter 5* | *20* | | -| | 5 | [Build the test with the assistant](tutorial/05-build-the-test.md) | 15 | A test project that compiles | -| | 6 | [Run it against your connectors](tutorial/06-run-it.md) | 10 | A green run against the mock, for the right reasons | -| **3** | 7 | [Add it to your repository](tutorial/07-add-to-repository.md) | 10 | The test and its workflow, committed | -| | 8 | [Configure the developer toolbox](tutorial/08-configure-the-toolbox.md) *(optional)* | 10 | A dataspace shaped like your product's: more partners, your own chart | -| | 9 | [Link it and open the pull request](tutorial/09-link-and-pull-request.md) | 5 | A pull request with a green check | -| | 10 | [What comes next](tutorial/10-what-comes-next.md) | 5 | A plan for the second test | +| | 5 | [Build your product's test with AI](tutorial/05-build-the-test.md) | 15 | A test project that compiles | +| | 6 | [Run your test against the mock](tutorial/06-run-it.md) | 10 | A green run against the mock, for the right reasons | +| **3** | 7 | [Add the test to your product's repository](tutorial/07-add-to-repository.md) | 10 | The test and its workflow, committed | +| | 8 | [Shape the developer toolbox](tutorial/08-configure-the-toolbox.md) *(optional)* | 10 | A dataspace shaped like your product's: more partners, your own chart | +| | 9 | [Link the test and open the pull request](tutorial/09-link-and-pull-request.md) | 5 | A pull request with a green check | +| | 10 | [Plan your next test](tutorial/10-what-comes-next.md) | 5 | A plan for the second test | | | | | **about 80** | | The minutes are a guide for a team that has done it before. A first-time reader in our dry @@ -70,7 +70,7 @@ run needed closer to 90: if your session is longer, spend the extra time on chap | You are | Go to | | --- | --- | | A participant, ten minutes before the workshop | [Prerequisites](reference/prepare.md) | -| A participant, and the clock is running | [Step 1 · Hello World](tutorial/step-1-hello-world/index.md) | +| A participant, and the clock is running | [Step 1 · Learn with a Hello World](tutorial/step-1-hello-world/index.md) | | Curious about the words on the slides | [Glossary](reference/glossary.md) and [the introduction](story/why.md) | | An administrator of the session | [For administrators](admin/index.md) | diff --git a/e2e-testing/docs/reference/ide.md b/e2e-testing/docs/reference/ide.md index 44dc0b08..eaee5e2a 100644 --- a/e2e-testing/docs/reference/ide.md +++ b/e2e-testing/docs/reference/ide.md @@ -3,7 +3,7 @@ The IDE builds a [TCK project](glossary.md#tck-project) in the browser. Each test shows as **blocks** and as **YAML**: change one, the other follows. It also compiles and runs. -[Home](../index.md) · [2 · Hello, TestLab](../tutorial/02-hello-testlab.md) · [Syntax cheat sheet](syntax.md) +[Home](../index.md) · [2 · Write and run your first test](../tutorial/02-hello-testlab.md) · [Syntax cheat sheet](syntax.md) ## The screen diff --git a/e2e-testing/docs/reference/prepare.md b/e2e-testing/docs/reference/prepare.md index e3011495..a5c655bb 100644 --- a/e2e-testing/docs/reference/prepare.md +++ b/e2e-testing/docs/reference/prepare.md @@ -36,7 +36,7 @@ with a token or an SSH key. If you have never pushed from it, do it once now. ## 4 · A model for the assistant -You bring your own. No key is shared in the workshop. One of these is enough. Not sure which? See [Choose your AI option](ai-options.md). +You bring your own. No key is shared in the workshop. One of these is enough. Not sure which? See [Connect an AI assistant option](ai-options.md). | Option | What you need | Good to know | | --- | --- | --- | diff --git a/e2e-testing/docs/reference/syntax.md b/e2e-testing/docs/reference/syntax.md index 9ec43297..b815beda 100644 --- a/e2e-testing/docs/reference/syntax.md +++ b/e2e-testing/docs/reference/syntax.md @@ -3,7 +3,7 @@ The parts of a TCK project on one page. Full reference: [TestLab TCK syntax](https://eclipse-tractusx.github.io/tractusx-testlab/tck-syntax/). -[Home](../index.md) · [2 · Hello, TestLab](../tutorial/02-hello-testlab.md) +[Home](../index.md) · [2 · Write and run your first test](../tutorial/02-hello-testlab.md) ## The folder diff --git a/e2e-testing/docs/tutorial/01-start-here.md b/e2e-testing/docs/tutorial/01-start-here.md index 0f3d7337..6ae925b1 100644 --- a/e2e-testing/docs/tutorial/01-start-here.md +++ b/e2e-testing/docs/tutorial/01-start-here.md @@ -1,6 +1,6 @@ -Step 1 of 3 · Hello World · chapter 1 of 10 · ● ○ ○ ○ ○ ○ ○ ○ ○ ○ +Step 1 of 3 · Learn with a Hello World · chapter 1 of 10 · ● ○ ○ ○ ○ ○ ○ ○ ○ ○ -# 1 · Start here +# 1 · Get your team ready > **Goal:** you know the mission and the three steps, and your team is ready to write its > first test. @@ -60,7 +60,7 @@ comes at the end of chapter 2. --- -[← Step 1 · Hello World](step-1-hello-world/index.md) · [Home](../index.md) · [Next: 2 · Hello, TestLab →](02-hello-testlab.md) +[← Step 1 · Learn with a Hello World](step-1-hello-world/index.md) · [Home](../index.md) · [Next: 2 · Write and run your first test →](02-hello-testlab.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/02-hello-testlab.md b/e2e-testing/docs/tutorial/02-hello-testlab.md index db58f984..540d8573 100644 --- a/e2e-testing/docs/tutorial/02-hello-testlab.md +++ b/e2e-testing/docs/tutorial/02-hello-testlab.md @@ -1,6 +1,6 @@ -Step 1 of 3 · Hello World · chapter 2 of 10 · ● ● ○ ○ ○ ○ ○ ○ ○ ○ +Step 1 of 3 · Learn with a Hello World · chapter 2 of 10 · ● ● ○ ○ ○ ○ ○ ○ ○ ○ -# 2 · Hello, TestLab: your first test, by hand +# 2 · Write and run your first test, by hand > **Goal:** write one small test yourself, run it on your laptop, see it pass, then see it > fail. No AI, and no handout yet: you get it when you show your test. @@ -163,7 +163,7 @@ connectors and, for most products, your product's mock. That is the start of ste --- -[← 1 · Start here](01-start-here.md) · [Home](../index.md) · [Next: Step 2 · Your product's test →](step-2-your-product/index.md) +[← 1 · Get your team ready](01-start-here.md) · [Home](../index.md) · [Next: Step 2 · Test your product against its mock →](step-2-your-product/index.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/03-your-product.md b/e2e-testing/docs/tutorial/03-your-product.md index af4b1273..094d5145 100644 --- a/e2e-testing/docs/tutorial/03-your-product.md +++ b/e2e-testing/docs/tutorial/03-your-product.md @@ -1,6 +1,6 @@ -Step 2 of 3 · Your product's test · chapter 3 of 10 · ● ● ● ○ ○ ○ ○ ○ ○ ○ +Step 2 of 3 · Test your product against its mock · chapter 3 of 10 · ● ● ● ○ ○ ○ ○ ○ ○ ○ -# 3 · Your product and its mock +# 3 · Get to know your product and its mock > **Goal:** you know your product, the scenario your test will prove, your two connectors, > and the mock your test talks to in this step. @@ -110,7 +110,7 @@ Their finished project is the [worked example](../reference/worked-example.md). --- -[← Step 2 · Your product's test](step-2-your-product/index.md) · [Home](../index.md) · [Next: 4 · Choose your AI →](04-choose-your-ai/index.md) +[← Step 2 · Test your product against its mock](step-2-your-product/index.md) · [Home](../index.md) · [Next: 4 · Connect an AI assistant →](04-choose-your-ai/index.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/04-choose-your-ai/index.md b/e2e-testing/docs/tutorial/04-choose-your-ai/index.md index 99a91665..a06d1d8b 100644 --- a/e2e-testing/docs/tutorial/04-choose-your-ai/index.md +++ b/e2e-testing/docs/tutorial/04-choose-your-ai/index.md @@ -1,6 +1,6 @@ -Step 2 of 3 · Your product's test · chapter 4 of 10 · ● ● ● ● ○ ○ ○ ○ ○ ○ +Step 2 of 3 · Test your product against its mock · chapter 4 of 10 · ● ● ● ● ○ ○ ○ ○ ○ ○ -# 4 · Choose your AI +# 4 · Connect an AI assistant > **Goal:** pick the AI help that fits your laptop and what you brought. > **Time:** 1 minute @@ -33,7 +33,7 @@ an AI coding tool, otherwise **B**. [Take route B →](../04b-local-model.md) -- **C · Your own AI tool, then upload** +- **C · Build with your own AI tool, then upload** --- @@ -53,7 +53,7 @@ flowchart LR S --> C["C · Your own tool"] --> R ``` -The details, sizes and limits of each route: [Choose your AI option](../../reference/ai-options.md). +The details, sizes and limits of each route: [Connect an AI assistant option](../../reference/ai-options.md). > [!TIP] > **Stuck?** @@ -63,7 +63,7 @@ The details, sizes and limits of each route: [Choose your AI option](../../refer --- -[← 3 · Your product and its mock](../03-your-product.md) · [Home](../../index.md) +[← 3 · Get to know your product and its mock](../03-your-product.md) · [Home](../../index.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/04a-api-key.md b/e2e-testing/docs/tutorial/04a-api-key.md index daa33fc0..f4f99edc 100644 --- a/e2e-testing/docs/tutorial/04a-api-key.md +++ b/e2e-testing/docs/tutorial/04a-api-key.md @@ -1,4 +1,4 @@ -Step 2 of 3 · Your product's test · chapter 4, route A · ● ● ● ● ○ ○ ○ ○ ○ +Step 2 of 3 · Test your product against its mock · chapter 4, route A · ● ● ● ● ○ ○ ○ ○ ○ # 4A · Connect your API key in the IDE @@ -52,7 +52,7 @@ After step 5, the assistant answers with a short description of the two tests. --- -[← 4 · Choose your AI](04-choose-your-ai/index.md) · [Home](../index.md) · [Next: 5 · Build the test with the assistant →](05-build-the-test.md) +[← 4 · Connect an AI assistant](04-choose-your-ai/index.md) · [Home](../index.md) · [Next: 5 · Build your product's test with AI →](05-build-the-test.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/04b-local-model.md b/e2e-testing/docs/tutorial/04b-local-model.md index 95ade72f..834180a2 100644 --- a/e2e-testing/docs/tutorial/04b-local-model.md +++ b/e2e-testing/docs/tutorial/04b-local-model.md @@ -1,4 +1,4 @@ -Step 2 of 3 · Your product's test · chapter 4, route B · ● ● ● ● ○ ○ ○ ○ ○ +Step 2 of 3 · Test your product against its mock · chapter 4, route B · ● ● ● ● ○ ○ ○ ○ ○ # 4B · Connect a local model @@ -79,7 +79,7 @@ You will use these in chapter 5: --- -[← 4 · Choose your AI](04-choose-your-ai/index.md) · [Home](../index.md) · [Next: 5 · Build the test with the assistant →](05-build-the-test.md) +[← 4 · Connect an AI assistant](04-choose-your-ai/index.md) · [Home](../index.md) · [Next: 5 · Build your product's test with AI →](05-build-the-test.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/04c-your-own-ai-tool.md b/e2e-testing/docs/tutorial/04c-your-own-ai-tool.md index 761d4686..18f9abd5 100644 --- a/e2e-testing/docs/tutorial/04c-your-own-ai-tool.md +++ b/e2e-testing/docs/tutorial/04c-your-own-ai-tool.md @@ -1,4 +1,4 @@ -Step 2 of 3 · Your product's test · chapter 4, route C · ● ● ● ● ○ ○ ○ ○ ○ +Step 2 of 3 · Test your product against its mock · chapter 4, route C · ● ● ● ● ○ ○ ○ ○ ○ # 4C · Build with your own AI tool @@ -114,7 +114,7 @@ In the IDE, your tests in the explorer on the left and the message **Compilation --- -[← 4 · Choose your AI](04-choose-your-ai/index.md) · [Home](../index.md) · [Next: 6 · Run it against your connectors →](06-run-it.md) +[← 4 · Connect an AI assistant](04-choose-your-ai/index.md) · [Home](../index.md) · [Next: 6 · Run your test against the mock →](06-run-it.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/05-build-the-test.md b/e2e-testing/docs/tutorial/05-build-the-test.md index e84238b9..2d196255 100644 --- a/e2e-testing/docs/tutorial/05-build-the-test.md +++ b/e2e-testing/docs/tutorial/05-build-the-test.md @@ -1,6 +1,6 @@ -Step 2 of 3 · Your product's test · chapter 5 of 10 · ● ● ● ● ● ○ ○ ○ ○ ○ +Step 2 of 3 · Test your product against its mock · chapter 5 of 10 · ● ● ● ● ● ○ ○ ○ ○ ○ -# 5 · Build the test with the assistant +# 5 · Build your product's test with AI > **Goal:** a test project for your product that compiles. > **Time:** 15 minutes @@ -78,7 +78,7 @@ Read them in the [worked example](../reference/worked-example.md). --- -[← 4 · Choose your AI](04-choose-your-ai/index.md) · [Home](../index.md) · [Next: 6 · Run it against your connectors →](06-run-it.md) +[← 4 · Connect an AI assistant](04-choose-your-ai/index.md) · [Home](../index.md) · [Next: 6 · Run your test against the mock →](06-run-it.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/06-run-it.md b/e2e-testing/docs/tutorial/06-run-it.md index 8c96f7f0..86727bdc 100644 --- a/e2e-testing/docs/tutorial/06-run-it.md +++ b/e2e-testing/docs/tutorial/06-run-it.md @@ -1,6 +1,6 @@ -Step 2 of 3 · Your product's test · chapter 6 of 10 · ● ● ● ● ● ● ○ ○ ○ ○ +Step 2 of 3 · Test your product against its mock · chapter 6 of 10 · ● ● ● ● ● ● ○ ○ ○ ○ -# 6 · Run it against your connectors +# 6 · Run your test against the mock > **Goal:** a green run, and one red run that you caused on purpose. > **Time:** 10 minutes @@ -88,7 +88,7 @@ The second step, **Infrastructure**, looks like this when your components are re --- -[← 5 · Build the test with the assistant](05-build-the-test.md) · [Home](../index.md) · [Next: Step 3 · The real product →](step-3-the-real-product/index.md) +[← 5 · Build your product's test with AI](05-build-the-test.md) · [Home](../index.md) · [Next: Step 3 · Run it against the real product →](step-3-the-real-product/index.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/07-add-to-repository.md b/e2e-testing/docs/tutorial/07-add-to-repository.md index 9b2c3221..8cd0ca65 100644 --- a/e2e-testing/docs/tutorial/07-add-to-repository.md +++ b/e2e-testing/docs/tutorial/07-add-to-repository.md @@ -1,6 +1,6 @@ -Step 3 of 3 · The real product · chapter 7 of 10 · ● ● ● ● ● ● ● ○ ○ ○ +Step 3 of 3 · Run it against the real product · chapter 7 of 10 · ● ● ● ● ● ● ● ○ ○ ○ -# 7 · Add it to your repository +# 7 · Add the test to your product's repository > **Goal:** your test and the workflow that runs it are committed on a branch of your fork. > **Time:** 10 minutes @@ -92,7 +92,7 @@ And this is all the workflow is: a few lines that call a --- -[← Step 3 · The real product](step-3-the-real-product/index.md) · [Home](../index.md) · [Next: 8 · Configure the developer toolbox →](08-configure-the-toolbox.md) +[← Step 3 · Run it against the real product](step-3-the-real-product/index.md) · [Home](../index.md) · [Next: 8 · Shape the developer toolbox →](08-configure-the-toolbox.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/08-configure-the-toolbox.md b/e2e-testing/docs/tutorial/08-configure-the-toolbox.md index e85f6dc0..d990be63 100644 --- a/e2e-testing/docs/tutorial/08-configure-the-toolbox.md +++ b/e2e-testing/docs/tutorial/08-configure-the-toolbox.md @@ -1,6 +1,6 @@ -Step 3 of 3 · The real product · chapter 8 of 10 · ● ● ● ● ● ● ● ● ○ ○ +Step 3 of 3 · Run it against the real product · chapter 8 of 10 · ● ● ● ● ● ● ● ● ○ ○ -# 8 · Configure the developer toolbox +# 8 · Shape the developer toolbox > **Goal:** the dataspace your workflow starts has the participants, credentials and charts > your test needs. @@ -135,7 +135,7 @@ tx-toolbox down # removes it again --- -[← 7 · Add it to your repository](07-add-to-repository.md) · [Home](../index.md) · [Next: 9 · Link it and open the pull request →](09-link-and-pull-request.md) +[← 7 · Add the test to your product's repository](07-add-to-repository.md) · [Home](../index.md) · [Next: 9 · Link the test and open the pull request →](09-link-and-pull-request.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/09-link-and-pull-request.md b/e2e-testing/docs/tutorial/09-link-and-pull-request.md index bb2dc4fd..6c6076c4 100644 --- a/e2e-testing/docs/tutorial/09-link-and-pull-request.md +++ b/e2e-testing/docs/tutorial/09-link-and-pull-request.md @@ -1,6 +1,6 @@ -Step 3 of 3 · The real product · chapter 9 of 10 · ● ● ● ● ● ● ● ● ● ○ +Step 3 of 3 · Run it against the real product · chapter 9 of 10 · ● ● ● ● ● ● ● ● ● ○ -# 9 · Link it and open the pull request +# 9 · Link the test and open the pull request > **Goal:** a draft pull request in your product's repository, with the test linked in `.tractusx`. > **Time:** 5 minutes @@ -67,7 +67,7 @@ RESULT: PASS | 3 passed 0 failed 0 skipped --- -[← 8 · Configure the developer toolbox](08-configure-the-toolbox.md) · [Home](../index.md) · [Next: 10 · What comes next →](10-what-comes-next.md) +[← 8 · Shape the developer toolbox](08-configure-the-toolbox.md) · [Home](../index.md) · [Next: 10 · Plan your next test →](10-what-comes-next.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/10-what-comes-next.md b/e2e-testing/docs/tutorial/10-what-comes-next.md index 84a247ce..a49db5c8 100644 --- a/e2e-testing/docs/tutorial/10-what-comes-next.md +++ b/e2e-testing/docs/tutorial/10-what-comes-next.md @@ -1,6 +1,6 @@ -Step 3 of 3 · The real product · chapter 10 of 10 · ● ● ● ● ● ● ● ● ● ● +Step 3 of 3 · Run it against the real product · chapter 10 of 10 · ● ● ● ● ● ● ● ● ● ● -# 10 · What comes next +# 10 · Plan your next test > **Goal:** you know what you built, and what your second test will be. > **Time:** 5 minutes @@ -58,7 +58,7 @@ Twenty-nine products are in the catalog. Count how many have a pull request toni --- -[← 9 · Link it and open the pull request](09-link-and-pull-request.md) · [Home](../index.md) +[← 9 · Link the test and open the pull request](09-link-and-pull-request.md) · [Home](../index.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/step-1-hello-world/index.md b/e2e-testing/docs/tutorial/step-1-hello-world/index.md index 1a011590..bc6eb56c 100644 --- a/e2e-testing/docs/tutorial/step-1-hello-world/index.md +++ b/e2e-testing/docs/tutorial/step-1-hello-world/index.md @@ -1,6 +1,6 @@ -Step 1 of 3 · Hello World · chapters 1 and 2 +Step 1 of 3 · Learn with a Hello World · chapters 1 and 2 -# Step 1 · Hello World +# Step 1 · Learn with a Hello World > **Goal:** you have written one small test by hand, run it on your laptop, and seen it pass > and fail. No AI, and no handout yet. @@ -19,8 +19,8 @@ same tool that runs your test in GitHub Actions in step 3. | Chapter | You do | Minutes | | --- | --- | --- | -| [1 · Start here](../01-start-here.md) | Read the mission, pick roles, sign in to GitHub | 5 | -| [2 · Hello, TestLab](../02-hello-testlab.md) | Install TestLab, write the hello test, run it green, then red | 15 | +| [1 · Get your team ready](../01-start-here.md) | Read the mission, pick roles, sign in to GitHub | 5 | +| [2 · Write and run your first test](../02-hello-testlab.md) | Install TestLab, write the hello test, run it green, then red | 15 | ## Done when @@ -34,7 +34,7 @@ then green again. You get your team's **handout** for step 2. --- -[Home](../../index.md) · [Next: 1 · Start here →](../01-start-here.md) +[Home](../../index.md) · [Next: 1 · Get your team ready →](../01-start-here.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/step-2-your-product/index.md b/e2e-testing/docs/tutorial/step-2-your-product/index.md index e36e23c0..46269c1e 100644 --- a/e2e-testing/docs/tutorial/step-2-your-product/index.md +++ b/e2e-testing/docs/tutorial/step-2-your-product/index.md @@ -1,6 +1,6 @@ -Step 2 of 3 · Your product's test · chapters 3 to 6 +Step 2 of 3 · Test your product against its mock · chapters 3 to 6 -# Step 2 · Your product's test, against its mock +# Step 2 · Test your product against its mock > **Goal:** a test for your team's product that compiles and runs green, built with an AI > assistant. @@ -28,10 +28,10 @@ in this step. | Chapter | You do | Minutes | | --- | --- | --- | -| [3 · Your product and its mock](../03-your-product.md) | Read your scenario, fork the repository, meet the mock in Bruno | 10 | -| [4 · Choose your AI](../04-choose-your-ai/index.md) | Connect an assistant: API key, local model, or your own AI tool | 5–10 | -| [5 · Build the test with the assistant](../05-build-the-test.md) | Plan, build and compile your test | 15 | -| [6 · Run it against your connectors](../06-run-it.md) | Run it against the mock: green, then red on purpose | 10 | +| [3 · Get to know your product and its mock](../03-your-product.md) | Read your scenario, fork the repository, meet the mock in Bruno | 10 | +| [4 · Connect an AI assistant](../04-choose-your-ai/index.md) | Connect an assistant: API key, local model, or your own AI tool | 5–10 | +| [5 · Build your product's test with AI](../05-build-the-test.md) | Plan, build and compile your test | 15 | +| [6 · Run your test against the mock](../06-run-it.md) | Run it against the mock: green, then red on purpose | 10 | ## Done when @@ -40,7 +40,7 @@ have seen it fail on purpose. --- -[Home](../../index.md) · [Next: 3 · Your product and its mock →](../03-your-product.md) +[Home](../../index.md) · [Next: 3 · Get to know your product and its mock →](../03-your-product.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/step-3-the-real-product/index.md b/e2e-testing/docs/tutorial/step-3-the-real-product/index.md index 9041d40c..e62bad68 100644 --- a/e2e-testing/docs/tutorial/step-3-the-real-product/index.md +++ b/e2e-testing/docs/tutorial/step-3-the-real-product/index.md @@ -1,6 +1,6 @@ -Step 3 of 3 · The real product · chapters 7 to 10 +Step 3 of 3 · Run it against the real product · chapters 7 to 10 -# Step 3 · The real product, in the developer toolbox +# Step 3 · Run it against the real product > **Goal:** the same test runs against the real product in GitHub Actions, and you open a > pull request with it. @@ -22,10 +22,10 @@ | Chapter | You do | Minutes | | --- | --- | --- | -| [7 · Add it to your repository](../07-add-to-repository.md) | Export the test, commit it with the workflow | 10 | -| [8 · Configure the developer toolbox](../08-configure-the-toolbox.md) *(optional)* | Shape the toolbox: more partners, your own chart | 10 | -| [9 · Link it and open the pull request](../09-link-and-pull-request.md) | Link the test in `.tractusx`, open the pull request | 5 | -| [10 · What comes next](../10-what-comes-next.md) | Plan the second test | 5 | +| [7 · Add the test to your product's repository](../07-add-to-repository.md) | Export the test, commit it with the workflow | 10 | +| [8 · Shape the developer toolbox](../08-configure-the-toolbox.md) *(optional)* | Shape the toolbox: more partners, your own chart | 10 | +| [9 · Link the test and open the pull request](../09-link-and-pull-request.md) | Link the test in `.tractusx`, open the pull request | 5 | +| [10 · Plan your next test](../10-what-comes-next.md) | Plan the second test | 5 | ## Done when @@ -34,7 +34,7 @@ that you can explain still counts. --- -[Home](../../index.md) · [Next: 7 · Add it to your repository →](../07-add-to-repository.md) +[Home](../../index.md) · [Next: 7 · Add the test to your product's repository →](../07-add-to-repository.md) ## NOTICE diff --git a/e2e-testing/hello-service/README.md b/e2e-testing/hello-service/README.md index 7775b275..a77b7cb4 100644 --- a/e2e-testing/hello-service/README.md +++ b/e2e-testing/hello-service/README.md @@ -1,7 +1,7 @@ # Hello service A tiny read-only API for the first test of the E2E testing tutorial -([chapter 2 · Hello, TestLab](../docs/tutorial/02-hello-testlab.md)). Participants write a test +([chapter 2 · Write and run your first test](../docs/tutorial/02-hello-testlab.md)). Participants write a test against it by hand before an AI assistant writes anything. Stock nginx answers from the JSON files in [`site/`](site); there is no code to build and no diff --git a/e2e-testing/mkdocs.yml b/e2e-testing/mkdocs.yml index d1f2100f..9bc54fa7 100644 --- a/e2e-testing/mkdocs.yml +++ b/e2e-testing/mkdocs.yml @@ -88,26 +88,26 @@ nav: # without the handout, then the team's product against its mock, then the real # product in the developer toolbox. - Getting Started: - - Step 1 · Hello World: + - Step 1 · Learn with a Hello World: - tutorial/step-1-hello-world/index.md - - 1 · Start here: tutorial/01-start-here.md - - 2 · Hello, TestLab: tutorial/02-hello-testlab.md - - Step 2 · Your product's test: + - 1 · Get your team ready: tutorial/01-start-here.md + - 2 · Write and run your first test: tutorial/02-hello-testlab.md + - Step 2 · Test your product against its mock: - tutorial/step-2-your-product/index.md - - 3 · Your product and its mock: tutorial/03-your-product.md - - 4 · Choose your AI: + - 3 · Get to know your product and its mock: tutorial/03-your-product.md + - 4 · Connect an AI assistant: - tutorial/04-choose-your-ai/index.md - - A · API key in the IDE: tutorial/04a-api-key.md - - B · Local model in the IDE: tutorial/04b-local-model.md - - C · Your own AI tool: tutorial/04c-your-own-ai-tool.md - - 5 · Build the test with the assistant: tutorial/05-build-the-test.md - - 6 · Run it against your connectors: tutorial/06-run-it.md - - Step 3 · The real product: + - A · Connect an API key in the IDE: tutorial/04a-api-key.md + - B · Connect a local model in the IDE: tutorial/04b-local-model.md + - C · Build with your own AI tool: tutorial/04c-your-own-ai-tool.md + - 5 · Build your product's test with AI: tutorial/05-build-the-test.md + - 6 · Run your test against the mock: tutorial/06-run-it.md + - Step 3 · Run it against the real product: - tutorial/step-3-the-real-product/index.md - - 7 · Add it to your repository: tutorial/07-add-to-repository.md - - 8 · Configure the developer toolbox: tutorial/08-configure-the-toolbox.md - - 9 · Link it and open the pull request: tutorial/09-link-and-pull-request.md - - 10 · What comes next: tutorial/10-what-comes-next.md + - 7 · Add the test to your product's repository: tutorial/07-add-to-repository.md + - 8 · Shape the developer toolbox: tutorial/08-configure-the-toolbox.md + - 9 · Link the test and open the pull request: tutorial/09-link-and-pull-request.md + - 10 · Plan your next test: tutorial/10-what-comes-next.md - E2E specs: - specs/index.md - BPN Discovery: specs/sldt-bpn-discovery.md @@ -134,7 +134,7 @@ nav: - Reference: - Glossary: reference/glossary.md - Prerequisites: reference/prepare.md - - Choose your AI option: reference/ai-options.md + - Connect an AI assistant option: reference/ai-options.md - Set up your AI tool: reference/ai-tool-setup.md - Product catalog: reference/catalog.md - Starter prompts: reference/prompts.md diff --git a/e2e-testing/snippets/three-steps.md b/e2e-testing/snippets/three-steps.md index 3ed46fd1..f66cbcdb 100644 --- a/e2e-testing/snippets/three-steps.md +++ b/e2e-testing/snippets/three-steps.md @@ -1,9 +1,9 @@ ```mermaid %%{init: {"flowchart": {"rankSpacing": 40, "nodeSpacing": 24}}}%% flowchart LR - S1["1 · Hello World
No AI, no handout yet.
TestLab on your laptop
against the hello service."] - S2["2 · Your product's test
With AI, from your handout.
Against a WireMock that
answers like your product."] - S3["3 · The real product
The same test, in the
developer toolbox in
GitHub Actions. Then
your pull request."] + S1["1 · Learn with a Hello World
No AI, no handout yet.
TestLab on your laptop
against the hello service."] + S2["2 · Test your product against its mock
With AI, from your handout.
Against a WireMock that
answers like your product."] + S3["3 · Run it against the real product
The same test, in the
developer toolbox in
GitHub Actions. Then
your pull request."] S1 -- "show it green and red:
you get your handout" --> S2 S2 -- "same test,
only the addresses change" --> S3 ``` From 9b52944e22205cbc72bd9e241254b7a7bf029653 Mon Sep 17 00:00:00 2001 From: Mathias Moser Date: Fri, 4 Dec 2026 09:24:35 +0100 Subject: [PATCH 2/4] docs(e2e-testing): connect the AI assistant before getting to know the product Chapter 3 is now "Connect an AI assistant" (routes 3A, 3B, 3C) and chapter 4 "Get to know your product and its mock", right before the build, so the scenario and the mock are fresh when the team plans the test. The handout table and the IDE sign-in move to the step 2 overview, since connecting the assistant needs box B. Route C builds at once and clones the fork, so it now says to do chapter 4 first. Signed-off-by: Mathias Moser Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01PpcAVdGCmbXy732EphNHQj --- e2e-testing/README.md | 4 +-- e2e-testing/docs/admin/run-of-show.md | 6 ++-- e2e-testing/docs/index.md | 6 ++-- e2e-testing/docs/reference/ai-options.md | 2 +- e2e-testing/docs/reference/ai-tool-setup.md | 6 ++-- e2e-testing/docs/reference/ide.md | 2 +- e2e-testing/docs/reference/prepare.md | 2 +- e2e-testing/docs/reference/troubleshooting.md | 2 +- .../index.md | 14 ++++---- .../{04a-api-key.md => 03a-api-key.md} | 8 ++--- ...{04b-local-model.md => 03b-local-model.md} | 8 ++--- ...own-ai-tool.md => 03c-your-own-ai-tool.md} | 17 ++++++---- ...{03-your-product.md => 04-your-product.md} | 30 ++++------------- .../docs/tutorial/05-build-the-test.md | 2 +- .../docs/tutorial/07-add-to-repository.md | 2 +- .../tutorial/step-2-your-product/index.md | 32 +++++++++++++++---- e2e-testing/mkdocs.yml | 14 ++++---- 17 files changed, 82 insertions(+), 75 deletions(-) rename e2e-testing/docs/tutorial/{04-choose-your-ai => 03-choose-your-ai}/index.md (81%) rename e2e-testing/docs/tutorial/{04a-api-key.md => 03a-api-key.md} (88%) rename e2e-testing/docs/tutorial/{04b-local-model.md => 03b-local-model.md} (91%) rename e2e-testing/docs/tutorial/{04c-your-own-ai-tool.md => 03c-your-own-ai-tool.md} (88%) rename e2e-testing/docs/tutorial/{03-your-product.md => 04-your-product.md} (78%) diff --git a/e2e-testing/README.md b/e2e-testing/README.md index 0e13edec..645a2cc2 100644 --- a/e2e-testing/README.md +++ b/e2e-testing/README.md @@ -28,8 +28,8 @@ mock of the product, then the same test against the real product in the develope | 1 | [Get your team ready](docs/tutorial/01-start-here.md) | 5 | | 2 | [Write and run your first test, by hand](docs/tutorial/02-hello-testlab.md) | 15 | | **Step 2 · Test your product against its mock** | | | -| 3 | [Get to know your product and its mock](docs/tutorial/03-your-product.md) | 10 | -| 4 | [Connect an AI assistant](docs/tutorial/04-choose-your-ai/index.md) | 5 | +| 3 | [Connect an AI assistant](docs/tutorial/03-choose-your-ai/index.md) | 5 | +| 4 | [Get to know your product and its mock](docs/tutorial/04-your-product.md) | 10 | | 5 | [Build your product's test with AI](docs/tutorial/05-build-the-test.md) | 15 | | 6 | [Run your test against the mock](docs/tutorial/06-run-it.md) | 10 | | **Step 3 · Run it against the real product** | | | diff --git a/e2e-testing/docs/admin/run-of-show.md b/e2e-testing/docs/admin/run-of-show.md index efefa258..7ae76c3b 100644 --- a/e2e-testing/docs/admin/run-of-show.md +++ b/e2e-testing/docs/admin/run-of-show.md @@ -36,8 +36,8 @@ chapters 5 and 6, and keep the two checkpoints. | 0 | [Step 1](../tutorial/step-1-hello-world/index.md) · [1 · Get your team ready](../tutorial/01-start-here.md) | "Three steps: hello world, your product against its mock, the real product. Pick Driver, Navigator, Skeptic. Open a terminal." | Teams without Python 3.12: one laptop per team is enough | | 5 | [2 · Write and run your first test](../tutorial/02-hello-testlab.md) | "Write the first test yourself, on your laptop. No AI, no handout yet." | `testlab` not found; indentation. Teams with no working laptop: give them their IDE sign-in for the fallback | | 20 | **Handout** | "Show us green, then red, and you get your handout." | Each team shows green and red. Hand over the handout and, for a team with a box **M**, its `.bruno-workshop.bru` | -| 22 | [Step 2](../tutorial/step-2-your-product/index.md) · [3 · Get to know your product and its mock](../tutorial/03-your-product.md) | "Read your scenario. Press Fork now. Open your mock in Bruno and reset it." | Teams that cannot find a refusal: suggest "what was never offered is not found". Bruno with the `mock` environment selected instead of the workshop one | -| 30 | [4 · Connect an AI assistant](../tutorial/04-choose-your-ai/index.md) | "Hands up when your assistant has answered." | Teams without a model: seat them with a team that has one | +| 22 | [Step 2](../tutorial/step-2-your-product/index.md) · [3 · Connect an AI assistant](../tutorial/03-choose-your-ai/index.md) | "Hands up when your assistant has answered." | Teams without a model: seat them with a team that has one | +| 27 | [4 · Get to know your product and its mock](../tutorial/04-your-product.md) | "Read your scenario. Press Fork now. Open your mock in Bruno and reset it." | Teams that cannot find a refusal: suggest "what was never offered is not found". Bruno with the `mock` environment selected instead of the workshop one | | 35 | [5 · Build](../tutorial/05-build-the-test.md) | "Plan first. Do not let it write before you agree with the plan." | Teams whose compile stays red after three rounds | | 50 | [6 · Run](../tutorial/06-run-it.md) | **Checkpoint:** "Who has a green compile? Reset your mock before every run." | Runs that wait: check the connectors at the Desk. A second run red: the mock was not reset | | 60 | [Step 3](../tutorial/step-3-the-real-product/index.md) · [7 · Repository](../tutorial/07-add-to-repository.md) | **Checkpoint:** "Who has seen a green run? Who has seen a red one and knows why? Now the same test meets the real product." | Git push problems, missing sign-off | @@ -59,7 +59,7 @@ chapters 5 and 6, and keep the two checkpoints. | Behind at | Do | | --- | --- | -| Minute 30, no API key but an AI coding assistant on the laptop | Send them down the [route C](../tutorial/04c-your-own-ai-tool.md). It needs Python and a `git clone`, so decide early. | +| Minute 30, no API key but an AI coding assistant on the laptop | Send them down the [route C](../tutorial/03c-your-own-ai-tool.md). It needs Python and a `git clone`, so decide early. | | Minute 40, no assistant | Give them the [worked example](../reference/worked-example.md) to read and adapt by hand, or seat them with another team. | | Minute 55, compile still red | Have them open the template again and change only the names. A small green test beats a large red one. | | Minute 65, no green run | Skip the run. Go to chapter 7: the workflow will run the test in CI. | diff --git a/e2e-testing/docs/index.md b/e2e-testing/docs/index.md index 9f671c80..f8632760 100644 --- a/e2e-testing/docs/index.md +++ b/e2e-testing/docs/index.md @@ -51,9 +51,9 @@ Today you write the first one for your product. | --- | --- | --- | --- | --- | | **1** | 1 | [Get your team ready](tutorial/01-start-here.md) | 5 | The mission, your roles, GitHub open | | | 2 | [Write and run your first test, by hand](tutorial/02-hello-testlab.md) | 15 | A test you wrote yourself, green and red. Then your handout | -| **2** | 3 | [Get to know your product and its mock](tutorial/03-your-product.md) | 10 | Your fork, your scenario, and the mock answering in Bruno | -| | 4 | [Connect an AI assistant](tutorial/04-choose-your-ai/index.md): [A · API key](tutorial/04a-api-key.md), [B · local model](tutorial/04b-local-model.md) or [C · your own AI tool](tutorial/04c-your-own-ai-tool.md) | 5–10 | An assistant that answers | -| | | *Route C builds on your laptop and replaces chapter 5* | *20* | | +| **2** | 3 | [Connect an AI assistant](tutorial/03-choose-your-ai/index.md): [A · API key](tutorial/03a-api-key.md), [B · local model](tutorial/03b-local-model.md) or [C · your own AI tool](tutorial/03c-your-own-ai-tool.md) | 5–10 | An assistant that answers | +| | 4 | [Get to know your product and its mock](tutorial/04-your-product.md) | 10 | Your fork, your scenario, and the mock answering in Bruno | +| | | *Route C connects your own AI tool and builds the test in one go: it replaces chapter 5* | *15* | | | | 5 | [Build your product's test with AI](tutorial/05-build-the-test.md) | 15 | A test project that compiles | | | 6 | [Run your test against the mock](tutorial/06-run-it.md) | 10 | A green run against the mock, for the right reasons | | **3** | 7 | [Add the test to your product's repository](tutorial/07-add-to-repository.md) | 10 | The test and its workflow, committed | diff --git a/e2e-testing/docs/reference/ai-options.md b/e2e-testing/docs/reference/ai-options.md index 96f9ac59..551b3dfc 100644 --- a/e2e-testing/docs/reference/ai-options.md +++ b/e2e-testing/docs/reference/ai-options.md @@ -118,7 +118,7 @@ Your own assistant works straight in the open IDE: the IDE offers its tools over No API key and nothing to install. Building on your laptop instead still works: see [Set up your AI tool](ai-tool-setup.md). -The full route is chapter [4C · Your own AI tool](../tutorial/04c-your-own-ai-tool.md). +The full route is chapter [3C · Your own AI tool](../tutorial/03c-your-own-ai-tool.md). ## No AI at all? diff --git a/e2e-testing/docs/reference/ai-tool-setup.md b/e2e-testing/docs/reference/ai-tool-setup.md index b5e7c7ad..8817c34f 100644 --- a/e2e-testing/docs/reference/ai-tool-setup.md +++ b/e2e-testing/docs/reference/ai-tool-setup.md @@ -2,7 +2,7 @@ How to give your own AI coding assistant the **agent kit**, so that it can write a [TCK project](glossary.md#tck-project). You need this only for the -[route C](../tutorial/04c-your-own-ai-tool.md), when you build on +[route C](../tutorial/03c-your-own-ai-tool.md), when you build on your laptop instead of with the assistant in the IDE. [Home](../index.md) · Files: [`agent-kit`](https://github.com/eclipse-tractusx/tutorial-resources/tree/main/e2e-testing/agent-kit) @@ -20,7 +20,7 @@ assistants read it. They differ only in **where** they look for it. ## Connect over MCP -The quickest way for [route C](../tutorial/04c-your-own-ai-tool.md): your assistant works +The quickest way for [route C](../tutorial/03c-your-own-ai-tool.md): your assistant works in the open IDE. First press **Connect** in the card **Your own AI** of the IDE's assistant panel and copy the link. Then: @@ -136,7 +136,7 @@ ChatGPT, Claude or another chat in the browser. It works, with you as the hands. testlab docs -o - > tck-steps.md ``` -3. Send the prompt from the [route C](../tutorial/04c-your-own-ai-tool.md), step 5. +3. Send the prompt from the [route C](../tutorial/03c-your-own-ai-tool.md), step 5. 4. Save each file the chat gives you under `tck/e2e` in your repository. 5. Run `testlab validate tck/e2e/index.yaml` and paste the output back. Repeat until it prints `OK`. diff --git a/e2e-testing/docs/reference/ide.md b/e2e-testing/docs/reference/ide.md index eaee5e2a..a7e7e3ac 100644 --- a/e2e-testing/docs/reference/ide.md +++ b/e2e-testing/docs/reference/ide.md @@ -51,7 +51,7 @@ The result shows in the top bar (**PASSED** or **FAILED**) and in the console. ## The assistant **Ask AI** opens the assistant. Your key goes from your browser straight to the provider. -[Chapter 4](../tutorial/04-choose-your-ai/index.md) connects it. +[Chapter 3](../tutorial/03-choose-your-ai/index.md) connects it. ![The assistant panel](../assets/screenshots/ide-ask-ai.png) diff --git a/e2e-testing/docs/reference/prepare.md b/e2e-testing/docs/reference/prepare.md index a5c655bb..e3011495 100644 --- a/e2e-testing/docs/reference/prepare.md +++ b/e2e-testing/docs/reference/prepare.md @@ -36,7 +36,7 @@ with a token or an SSH key. If you have never pushed from it, do it once now. ## 4 · A model for the assistant -You bring your own. No key is shared in the workshop. One of these is enough. Not sure which? See [Connect an AI assistant option](ai-options.md). +You bring your own. No key is shared in the workshop. One of these is enough. Not sure which? See [Choose your AI option](ai-options.md). | Option | What you need | Good to know | | --- | --- | --- | diff --git a/e2e-testing/docs/reference/troubleshooting.md b/e2e-testing/docs/reference/troubleshooting.md index 3eb4c3ca..3591c75f 100644 --- a/e2e-testing/docs/reference/troubleshooting.md +++ b/e2e-testing/docs/reference/troubleshooting.md @@ -11,7 +11,7 @@ Find the symptom, try the fix, raise your hand if it does not help. | It says the key is not valid | Copy the key again, without spaces. A ChatGPT or Claude **subscription** is not an API key. | | A local model cannot be reached | The server must allow the IDE's address as an origin (CORS), and the address must end in `/v1`. | | A local model answers as if it never heard of TCKs | Switch on **Small model mode** in the assistant's settings. Without it, the IDE sends about 29,000 tokens before your first question, and the model needs 64,000 tokens of context. | -| A local model "thinks" for minutes and never answers | Switch on **Small model mode**: the first answer then takes about 20 seconds instead of 7 minutes. On a laptop without a GPU it can still take a minute or more. Then use a hosted model, or the [own AI tool](../tutorial/04c-your-own-ai-tool.md) route. | +| A local model "thinks" for minutes and never answers | Switch on **Small model mode**: the first answer then takes about 20 seconds instead of 7 minutes. On a laptop without a GPU it can still take a minute or more. Then use a hosted model, or the [own AI tool](../tutorial/03c-your-own-ai-tool.md) route. | | A local model changes the wrong thing | Ask for one change per message, and name the file and the step, for example `In tests/my_test.yaml add a check to the step find_offer: datasets is not null`. Undo the wrong change above the message box. | | It invents steps | Say: `Use only steps from the block catalog.` Smaller models need the reminder. | | It stops halfway | Say: `Continue.` Or ask for one test at a time. | diff --git a/e2e-testing/docs/tutorial/04-choose-your-ai/index.md b/e2e-testing/docs/tutorial/03-choose-your-ai/index.md similarity index 81% rename from e2e-testing/docs/tutorial/04-choose-your-ai/index.md rename to e2e-testing/docs/tutorial/03-choose-your-ai/index.md index 779268fd..ddf57f87 100644 --- a/e2e-testing/docs/tutorial/04-choose-your-ai/index.md +++ b/e2e-testing/docs/tutorial/03-choose-your-ai/index.md @@ -1,6 +1,6 @@ -Step 2 of 3 · Test your product against its mock · chapter 4 of 10 · ● ● ● ● ○ ○ ○ ○ ○ ○ +Step 2 of 3 · Test your product against its mock · chapter 3 of 10 · ● ● ● ○ ○ ○ ○ ○ ○ ○ -# 4 · Connect an AI assistant +# 3 · Connect an AI assistant > **Goal:** pick the AI help that fits your laptop and what you brought. > **Time:** 1 minute @@ -20,7 +20,7 @@ an AI coding tool, otherwise **B**. *You need:* the key. *Time:* 5 + 15 minutes. - [Take route A →](../04a-api-key.md) + [Take route A →](../03a-api-key.md) - **B · A local model in the IDE** @@ -31,7 +31,7 @@ an AI coding tool, otherwise **B**. *You need:* Ollama and 8 GB of RAM or more. *Time:* 10 + 20 minutes. - [Take route B →](../04b-local-model.md) + [Take route B →](../03b-local-model.md) - **C · Connect your own AI tool over MCP** @@ -42,7 +42,7 @@ an AI coding tool, otherwise **B**. *You need:* your tool, nothing to install. *Time:* 15 minutes. - [Take route C →](../04c-your-own-ai-tool.md) + [Take route C →](../03c-your-own-ai-tool.md) @@ -53,7 +53,7 @@ flowchart LR S --> C["C · Your own tool"] --> R ``` -The details, sizes and limits of each route: [Connect an AI assistant option](../../reference/ai-options.md). +The details, sizes and limits of each route: [Choose your AI option](../../reference/ai-options.md). > [!TIP] > **Stuck?** @@ -63,7 +63,7 @@ The details, sizes and limits of each route: [Connect an AI assistant option](.. --- -[← 3 · Get to know your product and its mock](../03-your-product.md) · [Home](../../index.md) +[← Step 2 · Test your product against its mock](../step-2-your-product/index.md) · [Home](../../index.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/04a-api-key.md b/e2e-testing/docs/tutorial/03a-api-key.md similarity index 88% rename from e2e-testing/docs/tutorial/04a-api-key.md rename to e2e-testing/docs/tutorial/03a-api-key.md index f4f99edc..cde52cc2 100644 --- a/e2e-testing/docs/tutorial/04a-api-key.md +++ b/e2e-testing/docs/tutorial/03a-api-key.md @@ -1,6 +1,6 @@ -Step 2 of 3 · Test your product against its mock · chapter 4, route A · ● ● ● ● ○ ○ ○ ○ ○ +Step 2 of 3 · Test your product against its mock · chapter 3, route A · ● ● ● ○ ○ ○ ○ ○ ○ ○ -# 4A · Connect your API key in the IDE +# 3A · Connect your API key in the IDE > **Goal:** the assistant in the IDE answers you. > **Time:** 5 minutes @@ -45,14 +45,14 @@ After step 5, the assistant answers with a short description of the two tests. > - **The key is refused:** copy it again without spaces. A ChatGPT or Claude subscription > is not an API key. > - **No API key, but a subscription to an AI coding assistant:** take -> [route C](04c-your-own-ai-tool.md). You build on your laptop with +> [route C](03c-your-own-ai-tool.md). You build on your laptop with > your own tool and open the result here. > - **Nobody in the team has a model:** join a team that has one, or build by hand from the > [worked example](../reference/worked-example.md). --- -[← 4 · Connect an AI assistant](04-choose-your-ai/index.md) · [Home](../index.md) · [Next: 5 · Build your product's test with AI →](05-build-the-test.md) +[← 3 · Connect an AI assistant](03-choose-your-ai/index.md) · [Home](../index.md) · [Next: 4 · Get to know your product and its mock →](04-your-product.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/04b-local-model.md b/e2e-testing/docs/tutorial/03b-local-model.md similarity index 91% rename from e2e-testing/docs/tutorial/04b-local-model.md rename to e2e-testing/docs/tutorial/03b-local-model.md index 834180a2..df1477f7 100644 --- a/e2e-testing/docs/tutorial/04b-local-model.md +++ b/e2e-testing/docs/tutorial/03b-local-model.md @@ -1,6 +1,6 @@ -Step 2 of 3 · Test your product against its mock · chapter 4, route B · ● ● ● ● ○ ○ ○ ○ ○ +Step 2 of 3 · Test your product against its mock · chapter 3, route B · ● ● ● ○ ○ ○ ○ ○ ○ ○ -# 4B · Connect a local model +# 3B · Connect a local model > **Goal:** a model on your own laptop answers you in the IDE. > **Time:** 10 minutes, plus the download @@ -75,11 +75,11 @@ You will use these in chapter 5: > - **It answers but never changes a file:** you are in **Ask** or **Plan**. Switch to > **Agent**. > - **It keeps getting it wrong:** ask for a smaller change, or switch to route -> [A](04a-api-key.md) or [C](04c-your-own-ai-tool.md). +> [A](03a-api-key.md) or [C](03c-your-own-ai-tool.md). --- -[← 4 · Connect an AI assistant](04-choose-your-ai/index.md) · [Home](../index.md) · [Next: 5 · Build your product's test with AI →](05-build-the-test.md) +[← 3 · Connect an AI assistant](03-choose-your-ai/index.md) · [Home](../index.md) · [Next: 4 · Get to know your product and its mock →](04-your-product.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/04c-your-own-ai-tool.md b/e2e-testing/docs/tutorial/03c-your-own-ai-tool.md similarity index 88% rename from e2e-testing/docs/tutorial/04c-your-own-ai-tool.md rename to e2e-testing/docs/tutorial/03c-your-own-ai-tool.md index 86ae01d5..b19e2f79 100644 --- a/e2e-testing/docs/tutorial/04c-your-own-ai-tool.md +++ b/e2e-testing/docs/tutorial/03c-your-own-ai-tool.md @@ -1,10 +1,15 @@ -Step 2 of 3 · Test your product against its mock · chapter 4, route C · ● ● ● ● ○ ○ ○ ○ ○ +Step 2 of 3 · Test your product against its mock · chapter 3, route C · ● ● ● ○ ○ ○ ○ ○ ○ ○ -# 4C · Build with your own AI tool +# 3C · Build with your own AI tool > **Goal:** a test project for your product that compiles, built in the IDE by the AI > assistant you already have. -> **Time:** 15 minutes. It replaces chapters 4 and 5. +> **Time:** 15 minutes. It replaces chapter 5. + +> [!NOTE] +> **Do chapter 4 first.** This route builds your test right away, so it needs your scenario +> and your fork. Do [4 · Get to know your product and its mock](04-your-product.md), then +> come back here. Take this route when you have **no API key** for the assistant in the IDE, but you do have an assistant of your own that speaks [MCP](../reference/glossary.md#mcp): Claude (desktop @@ -21,7 +26,7 @@ every step it takes. pip install "tractusx-testlab==1.0.0a25" ``` -2. Clone the [fork](../reference/glossary.md#fork-and-pull-request) you made in chapter 3 +2. Clone the [fork](../reference/glossary.md#fork-and-pull-request) you made in chapter 4 and start a branch: ```bash @@ -86,12 +91,12 @@ In the IDE: your tests in the explorer on the left and the message **Compilation > and press **Connect** again. > - **A call shows a red mark "changed after this request started":** you edited the > same file meanwhile. Ask your assistant to read the file again and retry. -> - **Your assistant cannot add MCP servers:** take [route A](04a-api-key.md), or build +> - **Your assistant cannot add MCP servers:** take [route A](03a-api-key.md), or build > on your laptop as in [Set up your AI tool](../reference/ai-tool-setup.md). --- -[← 4 · Connect an AI assistant](04-choose-your-ai/index.md) · [Home](../index.md) · [Next: 6 · Run your test against the mock →](06-run-it.md) +[← 3 · Connect an AI assistant](03-choose-your-ai/index.md) · [Home](../index.md) · [Next: 6 · Run your test against the mock →](06-run-it.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/03-your-product.md b/e2e-testing/docs/tutorial/04-your-product.md similarity index 78% rename from e2e-testing/docs/tutorial/03-your-product.md rename to e2e-testing/docs/tutorial/04-your-product.md index 094d5145..aaba1d94 100644 --- a/e2e-testing/docs/tutorial/03-your-product.md +++ b/e2e-testing/docs/tutorial/04-your-product.md @@ -1,35 +1,17 @@ -Step 2 of 3 · Test your product against its mock · chapter 3 of 10 · ● ● ● ○ ○ ○ ○ ○ ○ ○ +Step 2 of 3 · Test your product against its mock · chapter 4 of 10 · ● ● ● ● ○ ○ ○ ○ ○ ○ -# 3 · Get to know your product and its mock +# 4 · Get to know your product and its mock > **Goal:** you know your product, the scenario your test will prove, your two connectors, > and the mock your test talks to in this step. > **Time:** 10 minutes -## Your handout - -You got it at the end of chapter 2. Each box has one job: - -| Box | What it holds | -| --- | --- | -| **A** | Your product, its repository and a suggested scenario | -| **B** | Your sign-in to the Test Suite and its IDE, where you build the test | -| **C** | Your side: the connector of the company that runs your product | -| **D** | The partner side: the connector your test runs from | -| **E** | Help: who to ask, and where | -| **M** | Your product's mock: its address, its Bruno collection and your Bruno environment. Most products have one; the four that run for real in the workshop do not | - -Raise your hand if a box is empty. Do not go on without it. - -> [!NOTE] -> **At the Tractus-X Community Days 2026, ARENA2036.** The IDE is the workshop's Test Suite, -> . Sign in with the account in box **B**: the -> first sign-in asks you to accept the privacy policy. One account per team; every -> teammate may sign in with it. +On route C? When you are done here, go back to +[3C · Build with your own AI tool](03c-your-own-ai-tool.md): it replaces chapter 5. ## Steps -1. Open your product's repository (box **A**) and read in its README what the product does. +1. Open your product's repository (box **A** of your handout) and read in its README what the product does. 2. Press **Fork** at the top right of the repository page, then **Create fork**. Leave the tab open; you need the [fork](../reference/glossary.md#fork-and-pull-request) in chapter 7. @@ -110,7 +92,7 @@ Their finished project is the [worked example](../reference/worked-example.md). --- -[← Step 2 · Test your product against its mock](step-2-your-product/index.md) · [Home](../index.md) · [Next: 4 · Connect an AI assistant →](04-choose-your-ai/index.md) +[← 3 · Connect an AI assistant](03-choose-your-ai/index.md) · [Home](../index.md) · [Next: 5 · Build your product's test with AI →](05-build-the-test.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/05-build-the-test.md b/e2e-testing/docs/tutorial/05-build-the-test.md index 2d196255..0fce8343 100644 --- a/e2e-testing/docs/tutorial/05-build-the-test.md +++ b/e2e-testing/docs/tutorial/05-build-the-test.md @@ -78,7 +78,7 @@ Read them in the [worked example](../reference/worked-example.md). --- -[← 4 · Connect an AI assistant](04-choose-your-ai/index.md) · [Home](../index.md) · [Next: 6 · Run your test against the mock →](06-run-it.md) +[← 4 · Get to know your product and its mock](04-your-product.md) · [Home](../index.md) · [Next: 6 · Run your test against the mock →](06-run-it.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/07-add-to-repository.md b/e2e-testing/docs/tutorial/07-add-to-repository.md index 8cd0ca65..426e99b7 100644 --- a/e2e-testing/docs/tutorial/07-add-to-repository.md +++ b/e2e-testing/docs/tutorial/07-add-to-repository.md @@ -15,7 +15,7 @@ nothing in the tests, only the addresses in their variables. In the dialog, press **Export ZIP**. The file lands in your downloads folder, named after your project. 2. Open a terminal and clone the [fork](../reference/glossary.md#fork-and-pull-request) - you made in chapter 3: + you made in chapter 4: ```bash git clone https://github.com//.git diff --git a/e2e-testing/docs/tutorial/step-2-your-product/index.md b/e2e-testing/docs/tutorial/step-2-your-product/index.md index 46269c1e..ea16da63 100644 --- a/e2e-testing/docs/tutorial/step-2-your-product/index.md +++ b/e2e-testing/docs/tutorial/step-2-your-product/index.md @@ -10,9 +10,8 @@ ## What changes from step 1 -- **You now have the handout.** It names your product (box **A**), your sign-in to the - Test Suite IDE (box **B**), your connectors (boxes **C** and **D**) and, for most - products, your product's mock (box **M**). +- **You now have the handout.** Everything you need from here on is on it, in the boxes + below. - **An AI assistant writes the test.** You say what must be proven; it writes how. The Skeptic on your team reads every line. - **You do not test the real product yet.** Most products need more than a workshop can run. @@ -24,12 +23,33 @@ Four products run for real in the workshop and have no box **M**: the Tractus-X Digital Twin Registry, the IdentityHub and the BDRS. Their teams test the real thing already in this step. +## Your handout + +You got it at the end of chapter 2. Each box has one job: + +| Box | What it holds | +| --- | --- | +| **A** | Your product, its repository and a suggested scenario | +| **B** | Your sign-in to the Test Suite and its IDE, where you build the test | +| **C** | Your side: the connector of the company that runs your product | +| **D** | The partner side: the connector your test runs from | +| **E** | Help: who to ask, and where | +| **M** | Your product's mock: its address, its Bruno collection and your Bruno environment. Most products have one; the four that run for real in the workshop do not | + +Raise your hand if a box is empty. Do not go on without it. + +> [!NOTE] +> **At the Tractus-X Community Days 2026, ARENA2036.** The IDE is the workshop's Test Suite, +> . Sign in with the account in box **B**: the +> first sign-in asks you to accept the privacy policy. One account per team; every +> teammate may sign in with it. + ## What you do | Chapter | You do | Minutes | | --- | --- | --- | -| [3 · Get to know your product and its mock](../03-your-product.md) | Read your scenario, fork the repository, meet the mock in Bruno | 10 | -| [4 · Connect an AI assistant](../04-choose-your-ai/index.md) | Connect an assistant: API key, local model, or your own AI tool | 5–10 | +| [3 · Connect an AI assistant](../03-choose-your-ai/index.md) | Connect an assistant in the IDE: API key, local model, or your own AI tool | 5–10 | +| [4 · Get to know your product and its mock](../04-your-product.md) | Read your scenario, fork the repository, meet the mock in Bruno | 10 | | [5 · Build your product's test with AI](../05-build-the-test.md) | Plan, build and compile your test | 15 | | [6 · Run your test against the mock](../06-run-it.md) | Run it against the mock: green, then red on purpose | 10 | @@ -40,7 +60,7 @@ have seen it fail on purpose. --- -[Home](../../index.md) · [Next: 3 · Get to know your product and its mock →](../03-your-product.md) +[Home](../../index.md) · [Next: 3 · Connect an AI assistant →](../03-choose-your-ai/index.md) ## NOTICE diff --git a/e2e-testing/mkdocs.yml b/e2e-testing/mkdocs.yml index 9bc54fa7..bad6a3d7 100644 --- a/e2e-testing/mkdocs.yml +++ b/e2e-testing/mkdocs.yml @@ -94,12 +94,12 @@ nav: - 2 · Write and run your first test: tutorial/02-hello-testlab.md - Step 2 · Test your product against its mock: - tutorial/step-2-your-product/index.md - - 3 · Get to know your product and its mock: tutorial/03-your-product.md - - 4 · Connect an AI assistant: - - tutorial/04-choose-your-ai/index.md - - A · Connect an API key in the IDE: tutorial/04a-api-key.md - - B · Connect a local model in the IDE: tutorial/04b-local-model.md - - C · Build with your own AI tool: tutorial/04c-your-own-ai-tool.md + - 3 · Connect an AI assistant: + - tutorial/03-choose-your-ai/index.md + - A · Connect an API key in the IDE: tutorial/03a-api-key.md + - B · Connect a local model in the IDE: tutorial/03b-local-model.md + - C · Build with your own AI tool: tutorial/03c-your-own-ai-tool.md + - 4 · Get to know your product and its mock: tutorial/04-your-product.md - 5 · Build your product's test with AI: tutorial/05-build-the-test.md - 6 · Run your test against the mock: tutorial/06-run-it.md - Step 3 · Run it against the real product: @@ -134,7 +134,7 @@ nav: - Reference: - Glossary: reference/glossary.md - Prerequisites: reference/prepare.md - - Connect an AI assistant option: reference/ai-options.md + - Choose your AI option: reference/ai-options.md - Set up your AI tool: reference/ai-tool-setup.md - Product catalog: reference/catalog.md - Starter prompts: reference/prompts.md From fac046964aeabe2a6c1a5ba231db66430fe4d86a Mon Sep 17 00:00:00 2001 From: Mathias Moser Date: Fri, 4 Dec 2026 09:27:28 +0100 Subject: [PATCH 3/4] docs(e2e-testing): install TestLab once, in step 1 Route C no longer reinstalls TestLab: it checks that the install from chapter 2 answers. The prerequisites make the command line a requirement instead of "optional, not needed in the workshop", add it to the checklist, and send "Get started" to step 1; chapter 2 lets a team that already installed it skip the step. Signed-off-by: Mathias Moser Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01PpcAVdGCmbXy732EphNHQj --- e2e-testing/docs/reference/prepare.md | 11 +++++++---- e2e-testing/docs/tutorial/02-hello-testlab.md | 4 +++- e2e-testing/docs/tutorial/03c-your-own-ai-tool.md | 6 +++--- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/e2e-testing/docs/reference/prepare.md b/e2e-testing/docs/reference/prepare.md index e3011495..f72b9b4e 100644 --- a/e2e-testing/docs/reference/prepare.md +++ b/e2e-testing/docs/reference/prepare.md @@ -55,10 +55,12 @@ No model at all? Sit with a team that has one. You can also write the YAML by ha [template](https://github.com/eclipse-tractusx/tutorial-resources/tree/main/e2e-testing/template) and the [worked example](worked-example.md) show how. -## 5 · Optional: the command line +## 5 · TestLab on the command line -You do not need it in the workshop. The IDE compiles and runs for you, and GitHub Actions -does the same in CI. If you like a terminal, with Python 3.12 or newer: +Step 1, the Hello World, runs on your laptop with TestLab on the command line: the same +tool that runs your test in GitHub Actions in step 3. Install it once, with Python 3.12 or +newer, and every later chapter uses the same install. One laptop per team is enough; a team +with none can do step 1 in the browser IDE instead. ```bash pip install "tractusx-testlab==1.0.0a25" @@ -73,11 +75,12 @@ runs on the Eclipse Tractus-X SDK (`tractusx-sdk`) 0.8.5, which pip installs wit - [ ] Browser is current. - [ ] ECA is signed, and `git config user.email` shows the same email. - [ ] `git push` works from this laptop. +- [ ] `testlab --help` answers on at least one laptop of your team. - [ ] You have a key or a local model for the assistant. --- -[Home](../index.md) · [Get started →](../tutorial/01-start-here.md) +[Home](../index.md) · [Get started →](../tutorial/step-1-hello-world/index.md) ## NOTICE diff --git a/e2e-testing/docs/tutorial/02-hello-testlab.md b/e2e-testing/docs/tutorial/02-hello-testlab.md index 540d8573..67500c47 100644 --- a/e2e-testing/docs/tutorial/02-hello-testlab.md +++ b/e2e-testing/docs/tutorial/02-hello-testlab.md @@ -54,7 +54,9 @@ fallback for a laptop that cannot install TestLab. === "On your laptop (recommended)" - 1. Install TestLab (Python 3.12 or newer): + 1. Install TestLab (Python 3.12 or newer). Already done in the + [prerequisites](../reference/prepare.md#5-testlab-on-the-command-line), and + `testlab --help` answers? Skip this. You install it once for the whole tutorial: ```bash pip install "tractusx-testlab==1.0.0a25" diff --git a/e2e-testing/docs/tutorial/03c-your-own-ai-tool.md b/e2e-testing/docs/tutorial/03c-your-own-ai-tool.md index b19e2f79..14e819b8 100644 --- a/e2e-testing/docs/tutorial/03c-your-own-ai-tool.md +++ b/e2e-testing/docs/tutorial/03c-your-own-ai-tool.md @@ -19,11 +19,11 @@ every step it takes. ## Steps -1. Install the [TestLab](../reference/glossary.md#testlab) command line. Your assistant - uses it to check its own work: +1. Check that the [TestLab](../reference/glossary.md#testlab) command line you installed + in chapter 2 still answers. Your assistant uses it to check its own work: ```bash - pip install "tractusx-testlab==1.0.0a25" + testlab --help ``` 2. Clone the [fork](../reference/glossary.md#fork-and-pull-request) you made in chapter 4 From 0f6ffeef22054776f76edf4e8988815574a093e9 Mon Sep 17 00:00:00 2001 From: Mathias Moser Date: Fri, 4 Dec 2026 09:44:10 +0100 Subject: [PATCH 4/4] docs(e2e-testing): a download button for the hello start project Chapter 2 had only an inline link inside a tab. It now has a download button above both routes, a line on what the start project holds, and a curl command for a terminal. Signed-off-by: Mathias Moser Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01PpcAVdGCmbXy732EphNHQj --- e2e-testing/docs/tutorial/02-hello-testlab.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/e2e-testing/docs/tutorial/02-hello-testlab.md b/e2e-testing/docs/tutorial/02-hello-testlab.md index 67500c47..e9e49454 100644 --- a/e2e-testing/docs/tutorial/02-hello-testlab.md +++ b/e2e-testing/docs/tutorial/02-hello-testlab.md @@ -52,6 +52,15 @@ Do it **on your laptop**, with TestLab on the command line. That is the tool tha test in GitHub Actions in step 3, so you see now what it does there. The browser IDE is a fallback for a laptop that cannot install TestLab. +[Download hello-start.zip](../downloads/hello-start.zip){ .md-button .md-button--primary download="hello-start.zip" } + +The start project: an `index.yaml` with the address of the hello service as a variable, and +no tests yet. From a terminal: + +```bash +curl -LO https://eclipse-tractusx.github.io/tutorial-resources/e2e-testing/downloads/hello-start.zip +``` + === "On your laptop (recommended)" 1. Install TestLab (Python 3.12 or newer). Already done in the @@ -62,7 +71,7 @@ fallback for a laptop that cannot install TestLab. pip install "tractusx-testlab==1.0.0a25" ``` - 2. Unpack [`hello-start.zip`](../downloads/hello-start.zip) into a folder `hello` and + 2. Unpack the [`hello-start.zip`](../downloads/hello-start.zip) you downloaded above into a folder `hello` and open it in your editor. VS Code with the extension **YAML** by Red Hat gives you autocomplete; any editor works. 3. In `index.yaml`, set `service_url` to the address of the hello service above.