summaryrefslogtreecommitdiff
path: root/README.md
blob: 57fe9e2c1ad0a6fb64e1370b83f1f53b3763bcd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# e2e - End to end test suite for security analyzers

## Getting Started

You will need the following tools installed:

* [Docker][docker]
* [asdf][asdf]
* [git][igt]

This project uses submodules to track the many different
security product repositories.

To get the project bootstrapped:

```bash
$ git clone --recursive git@gitlab.com:xlgmokha/e2e.git
$ cd e2e
$ asdf install
$ ./bin/setup
```

To run the full test suite:

```bash
$ ./bin/test
```

To run a specific test:

```bash
$ ./bin/test spec/integration/gemnasium_maven_spec.rb:14
```

Export `DEBUG=true` to debug a specific test by lauching a shell in the Docker container:

```bash
$ DEBUG=true ./bin/test spec/integration/gemnasium_maven_spec.rb:14
```

Happy hacking!

[asdf]: https://asdf-vm.com/
[docker]: https://www.docker.com/
[git]: https://git-scm.com/