google / google/go-tika

tika: create integration tests for new server versions

Open
#9 0 comments 1 reaction 0 assignees View on GitHub
good first issue help wanted
Dominant language
Go
Stars
256
Forks
43
Avg merge
7d 19h
Merged PRs (30d)
1

Description

We should have a set of integration tests to make sure `tika.Client` works with new server versions. Came up in #8.

Could use an environment variable to indicate if the tests should run and `t.Skip` the test if not.

We know the list of supported versions (https://github.com/google/go-tika/blob/master/tika/server.go#L150), so the test can download the server, start it, then run whatever tests it needs.

Contributor guide

Open the contributing guide

Research direction

Start with tika/server.go around the supported server-version list and inspect the existing tika.Client tests and server startup entry points. Define an environment-variable opt-in, then verify each supported Tika version can be downloaded, started, and exercised by the integration tests; completion means the tests skip without that variable and pass for the enabled versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.