Skip to main content

Your Toolbox: Git, an Editor, a Terminal and an AI Assistant

Why This Matters

Beginners used to lose weeks choosing between IDEs, languages and frameworks. The good news: in the AI era, the choice matters less than it did. You need a small, standard toolbox and the habit of using it every day. This lesson sets it up, and you finish with the practice app running on your own machine.

The four tools

ToolWhat it is forRecommendation
GitKeeps the history of every change, and lets you try things on a branch without breaking anythingInstall Git; you will use a handful of commands
An editorReading and changing code, with search and syntax coloursVisual Studio Code (free); any editor with a terminal works
A terminalRunning commands such as installing and running testsThe terminal built into your editor
An AI assistantExplaining code, answering questions, writing first draftsAny assistant you are allowed to use; in your editor or in a browser

Plus Node.js (version 22.18 or newer), because the practice app and its tests run on it.

The Git commands you actually need

git clone <url>          # get a copy of a project
git status               # what did I change?
git diff                 # show my changes line by line
git switch -c my/branch  # start a new branch to experiment on
git restore <file>       # throw away my changes to a file

That is enough for this course. The last one is your safety net: after breaking code on purpose, git restore puts it back.

Get the practice app running

The TestRun Board repository on GitHub with its folders .claude, .github/workflows, docs, scripts, src and tests

git clone https://github.com/learn-automated-testing/testrun-board.git
cd testrun-board
npm install
npm run check     # lint, typecheck and 13 tests
npm run dev       # open http://localhost:5173

If npm run check ends with 13 passed, your toolbox works. If something fails, paste the error into your AI assistant and ask: “Explain this error to a beginner and tell me what to try.” That is a good first use of AI: as a patient explainer.

Which test tools will you meet?

You do not need to master them all. In this course you use Vitest (unit tests) and Playwright (API and UI tests), because they are modern and free. You will also see Postman for exploring APIs by hand. In job descriptions you will often meet Selenium, the long-standing browser automation project; its ideas carry over directly to Playwright.

The Selenium documentation start page, describing Selenium as an umbrella project for tools and libraries that enable and support the automation of web browsers

Screenshot of selenium.dev.

Exercise

  1. Install Git, Visual Studio Code and Node.js 22.18 or newer.
  2. Clone and run TestRun Board as shown above until you see 13 passing tests.
  3. Open the app at http://localhost:5173 and look around.
  4. Create a branch: git switch -c my/first-steps. You will use it in the next lessons.

Key Takeaways

  • A small standard toolbox: Git, an editor, a terminal, an AI assistant and Node.js.
  • Five Git commands are enough to start; git restore is your safety net.
  • Your first AI habit: ask it to explain errors, not just to fix them.
  • Tools change; the skills of testing carry over between them.