Add a test

Teradata Developer Guides

ft:locale
en-US
ft:lastEdition
2026-08-18

Replace src/test/java/com/teradata/app/AppTest.java with the following:

Note

The test connects to your live Teradata instance, so it requires the credentials you set in App.java to be valid and the instance to be reachable.

package com.teradata.app;

import org.junit.Test;

public class AppTest {
    @Test
    public void shouldConnectAndQueryTeradata() {
        new App().query();
    }
}