Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for OTP 27 #10

Merged
merged 2 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
otp_version: ['26.2', '25.3']
otp_version: ['27.1', '26.2', '25.3']

steps:
- uses: actions/checkout@v4
Expand All @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
otp_version: ['26.2', '25.3']
otp_version: ['27.1', '26.2', '25.3']

needs:
- build
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
erlang 26.2.5.2
erlang 27.1.1
24 changes: 21 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,32 @@

Regression tests taken from the PowerDNS 3 regression test suite and converted to an Erlang environment.

## Building

```bash
make
```

## Configuration

You can find the configuration in [`dnstest.config`](./dnstest.config). Modify it at will to point it to the DNS server you wish to test against.

## Running

### The entire suite
You'll need to have a DNS server running. For example, start [`erldns`](https://github.com/dnsimple/erldns) before running this testing tool.

### The Entire Suite

```bash
run.sh
```

### A Single test
### A Single Test

When the shell script runs, you will be left with a console. From there you may run individual tests with `dnstest:run(atom)` where `atom` is the atom identifier of the test.

## Testing `dnstest` Itself

When the shell script runs you will be left with a console. From there you may run individual tests with `dnstest:run(atom)` where `atom` is the atom identifier of the test.
```bash
make test
```