Run Java/Maven tests for the GrokConnect connectors project
Scanned 9/12/2026
Install to Claude Code
npx -y skills add datagrok-ai/public --skill test-connectors --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Test Connectors?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/datagrok-ai-test-connectors)More formats (shields.io, HTML) on the badges page.
---
name: test-connectors
description: Run Java/Maven tests for the GrokConnect connectors project
when-to-use: When user asks to test connectors, run connector tests, or verify GrokConnect
context: fork
effort: medium
argument-hint: "[all|<ClassName>|<ClassName>#<method>]"
---
# Test Connectors (GrokConnect)
Run Java/Maven tests for the GrokConnect connectors project.
## Usage
```
/test-connectors [target]
```
Where `target` is one of:
- `all` - Run all tests (default)
- `<ClassName>` - Run a specific test class (e.g., `PostgresDataProviderTest`, `SerializationTest`)
- `<ClassName>#<method>` - Run a specific test method
## Prerequisites
- **JDK 8** - Required by the project
- **Maven 3+** - Build tool
- **Docker** - Required for TestContainers-based integration tests (most provider tests)
## Instructions
When this skill is invoked, help the user run the appropriate tests for the connectors project.
### Project Location
```
connectors/
```
### Run All Tests
```bash
cd connectors && mvn test
```
### Run a Specific Test Class
```bash
cd connectors && mvn -Dtest=PostgresDataProviderTest test
```
### Run a Specific Test Method
```bash
cd connectors && mvn -Dtest=PostgresDataProviderTest#testMethodName test
```
### Build Without Tests (for quick compilation check)
```bash
cd connectors && mvn -Dmaven.test.skip=true package
```
### Run Only Serialization Tests (no Docker needed)
```bash
cd connectors && mvn -pl serialization test
```
### Run Only grok_connect Module Tests
```bash
cd connectors && mvn -pl grok_connect test
```
## Available Test Classes
### Provider Tests (require Docker for TestContainers)
Located in `grok_connect/src/test/java/grok_connect/providers/`:
| Test Class | Database |
|------------|----------|
| `PostgresDataProviderTest` | PostgreSQL |
| `MySqlDataProviderTest` | MySQL |
| `MariaDbDataProviderTest` | MariaDB |
| `MsSqlDataProviderTest` | MS SQL Server |
| `OracleDataProviderTest` | Oracle |
| `ClickHouseDataProviderTest` | ClickHouse |
| `MongoDbDataProviderTest` | MongoDB |
| `Neo4jDataProviderTest` | Neo4j |
| `CassandraDataProviderTest` | Cassandra |
| `Db2DataProviderTest` | DB2 |
| `VirtuosoDataProviderTest` | Virtuoso |
| `VerticaDataProviderTest` | Vertica |
| `Hive2DataProviderTest` | Hive2 |
| `ImpalaDataProviderTest` | Impala |
| `SnowflakeDataProviderTest` | Snowflake |
| `RedshiftDataProviderTest` | Redshift |
| `AthenaDataProviderTest` | Athena |
| `TeradataDataProviderTest` | Teradata |
| `PIDataProviderTest` | PI Data |
### Unit Tests (no Docker needed)
| Test Class | Location |
|------------|----------|
| `JdbcDataProviderTest` | `grok_connect/src/test/.../providers/` |
| `ComplexTypeConverterManagerTest` | `grok_connect/src/test/.../managers/complex_column/` |
| `TableQueryTest` | `grok_connect/src/test/.../table_query/` |
| `MsSqlTableQueryTest` | `grok_connect/src/test/.../table_query/` |
| `PostgresTableQueryTest` | `grok_connect/src/test/.../table_query/` |
| `SqlAnnotatorTest` | `grok_connect/src/test/.../utils/` |
| `SerializationTest` | `serialization/src/test/.../serialization/` |
## Behavior
1. Ask the user which tests to run if not specified
2. Check if Docker is running when integration tests are requested
3. Run the appropriate Maven test commands from `connectors/`
4. Report test results and any failures
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!