<commit_before># Running Validation Tests

## Configure Test Parameters
To set up the test configuration, edit this [config file](../config.yaml). 

## Run The Tests

```shell
go test e2e/tests
```

<br/><br/>
*Read Next >> [Contributing](contributing.md)*<commit_msg>add instruction to run/build the test<commit_after># Running Validation Tests

## Configure Test Parameters
To set up the test configuration, edit this [config file](../config.yaml). 

### Example

````yaml
## kubeconfig of cluster admin
adminKubeconfig: <admin-kubeconfig>

tenantA:
  ## kubeconfig of tenantA
  kubeconfig: <tenant-kubeconfig>
  ## namespace of tenantA
  namespace: <tenant-namespace>
````

## Run The Tests

To test your cluster, first clone the repo:

```shell
git clone https://github.com/kubernetes-sigs/multi-tenancy.git
cd multi-tenancy/benchmarks
```

### Test locally

```shell
go test ./e2e/tests
```


### Compile the test binary and run the test

This command compiles the test and output to `tests.test` in current directory.
```shell
go test -c ./e2e/tests
```

Run the test:
```shell
./tests.test 
```
<br/><br/>
*Read Next >> [Contributing](contributing.md)*
{'fraction_non_alphanumeric': 0.13977566867989646, 'fraction_numerical': 0.0025884383088869713, 'mean_word_length': 4.420560747663552, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 14, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5807778', 'n_tokens_mistral': 381, 'n_tokens_neox': 365, 'n_words': 125}