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

Obtain a checkpoint AppMap #91

Merged
merged 12 commits into from
Aug 2, 2021
Merged
29 changes: 27 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,35 @@ Artifacts will be written to `build/libs`. Use `appmap.jar` as your agent.

## Testing

Unit tests are run via the `test` task.

Docker is required to run integration tests. Run the following command:
## Unit tests

Unit tests are run with `./gradlew test`.

## Integration tests

The integration tests use [bats](https://github.com/sstephenson/bats) and Docker.

Run the following command:

```sh
./bin/test
```

To get an interactive shell to write/debug the tests, try:

```shell
./bin/test /bin/bash
```

Once in the shell, run:

```shell
DEBUG_JSON=true bats --tap /test/*.bats
```

Or:

```shell
DEBUG_JSON=true bats --tap /test/*.bats -f 'http'
```
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* For more details take a look at the Java Libraries chapter in the Gradle
* User Manual available at https://docs.gradle.org/5.6.2/userguide/java_library_plugin.html
*/
import com.github.jengelman.gradle.plugins.shadow.tasks.ConfigureShadowRelocation

import com.appland.tasks.ShadowRelocation

Expand Down
Loading