You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some types of tests may require a lot of boilerplate and configurability, for example load and chaos tests.
3
+
Our code generation tools automatically build complete Chainlink environments and test templates, which minimizes documentation and provides a framework that is both structured and easily extensible.
4
4
5
-
We provide code generation tool that help you to start with best practes in such cases.
5
+
Let's read `help` first and then build an environment for a single EVM network:
6
+
```bash
7
+
ctf gen -h
8
+
# generate a new Chainlink environment in "devenv" directory with 4 Chainlink nodes and one EVM network. Generate CLI called "pcli" and enter the shell
All generators have `-h` or `--help` flag, please read the docs!
12
+
Follow further instructions in `devenv/README.md`
13
+
14
+
# Generating Infrastructure Testing Template
15
+
16
+
If you have Chainlink infrastructure already deployed it's useful to generate a workload + chaos suite template.
17
+
```bash
18
+
ctf gen load -h
19
+
# generate test suite named ChaosGen, with workload + default chaos experiments (fail + latency) for all the pods that have app.kubernetes.io/instance annotation
0 commit comments