Skip to content

Getting Started

We are happy that you want to give Teamscale a try! On this page, you can find guides helping you to get started with Teamscale and its analyses. If you don't know yet which analysis is relevant for you, you can find some guidance on our website.

Once you are ready to get some hands-on experience, you can start with Installing Teamscale and Setting Up Your First Project which you'll need for all analyses.

Feel free to contact evaluation@teamscale.com at any time with questions or problems!

Organizational Best Practices for a Quick and Successful Start

Our experiences show that new tools should always be introduced step by step. Many of our customers started with a single system and expanded afterwards. Good rules of thumb for a successful evaluation are:

  • Start with a small, controlled system or even parts of a system.
  • Do not start with the most difficult technology.
  • Choose a system whose team is eager to try new approaches.
  • Strive for a quick proof of concept.

Installing Teamscale and Setting Up Your First Project

To try out Teamscale, the first step is of course to set up a Teamscale server. You can host Teamscale on-premise, or you can use the Teamscale cloud. Every Teamscale license includes cloud hosting for free, so you can concentrate on your code instead of running the tools.

Once you have your instance, create your first project. For an overview how to navigate Teamscale, have a look at the general UI features. Now that you know the basics, skip to the section for the analysis you are interested in below.

Improving Code Quality with Static Code Analysis

Static code analysis (SCA) in Teamscale is the most straight forward analysis to set up. You've already done all the basics by setting up an analysis profile and a project. The checks you defined in your analysis profile ran during the initial analysis phase and the results are already available in Teamscale's web UI. For example, you will see them mainly in the Activity, Findings and Metrics perspectives (continue reading here before diving deeper into the individual perspectives).

In this section, we'll show how you can integrate the results of Teamscale's SCA in the tools and processes you are already using in order to use the results effectively, especially since Teamscale works differently compared to other tools on the market. Teamscale does not analyze the whole codebase in batch (c.f. How (Not) To Control Quality) but every single commit incrementally. This enables faster and more personalized feedback, as you can see which problems were newly introduced on a commit level (c.f. Why Fast Feedback is Essential).

At this point, we propose three feedback loops to integrate the analysis results in your development processes and tools: feedbackloops.png

  1. Developer feedback: The incremental analysis of Teamscale creates results for each new code commit. You can see them in the Teamscale web UI (e.g. in the Activity or Findings perspectives) within seconds after pushing the code changes. In addition, you can use Teamscale's IDE integration, so that developers see problems even before committing their changes directly in their IDE.

  2. Reviewer feedback: Teamscale can also integrate in your existing review tools and workflows to provide additional support in doing professional and tool-supported reviews. For example, you can also integrate the analyses' results into your

  3. Development Team Feedback: Teamscale also provides features for analysing quality trends for configurable time periods in order to support development teams in tracking their code quality over time. For example, you can create quality dashboards for your projects to o monitor and assess quality evolution](../tutorial/monitoring-quality-evolution/). In order to establish a continuous quality control process, you can also create quality reports to store artifacts to discuss, e.g. in the scope of a recurring team (quality) retrospective.

Go ahead and set up the integrations you are interested in right away.

Once finished, you may want to learn

Improving Test Quality with Test Gap Analysis

If you don't yet know what Test Gap Analysis (TGA) is, read how you can use it to improve test quality or watch our workshop in English or German.

TGA needs the code changes from your version control system and test coverage from your test environments to determine which changed code has not been tested yet.

To get the changes, the only thing Teamscale needs is a connection to your repository. You've already done that when you set up your first project.

For the test coverage, you can upload your existing test coverage if you are already collecting it for your tests. Alternatively, you can learn how to collect coverage for your programming language. If you want to follow a step-by-step guide with an example project, you can use our tutorials for Java and C#

Once you set up both the connection to the version control system and the upload of the test coverage you can learn how to interpret the results of TGA efficiently and how to create a TGA dashboard. You can also learn how to analyze Test Gaps aggregated by issues.

To get feedback on your tests in the tools you are already using, learn how to integrate the results of Test Gap Analysis in your Jira tickets.

Dealing with Long Running Test Suites with Test Impact Analysis

If you don't yet know what Test Impact Analysis (TIA) is, read how you can use it to get fast feedback despite long-running test suites or watch our workshop in English or German.

To get TIA to work, you first need to record which test covers which areas of the code. That's what we call "testwise coverage". Learn how to set it up for Java or other languages.

Teamscale uses the information from testwise coverage combined with the changes it reads from the version control system to determine which tests are impacted, meaning which tests run through the changed areas and therefore need to be executed in the next test run. We provide plugins for Maven and Gradle combined with JUnit 5. If you use a different test runner, please reach out or, if you are building your own, refer to our API under <your-teamscale-url>/api.html (section Test Intelligence) to implement the integration yourself.

Connecting Requirements with Code and Tests using Requirements Tracing

Learn how to use Requirements Tracing to connect the requirements to their implementation and tests in order to figure out, for example, whether your requirements are verified correctly by your tests.

Learn how to set it up in our tutorial.