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
This module includes the CTFv2 harness, a lightweight, modular, and data-driven framework designed for combining off-chain and on-chain components while implementing best practices for end-to-end system-level testing:
3
+
The Framework module a lightweight, modular, and data-driven framework designed for combining off-chain and on-chain components while implementing best practices for end-to-end system-level testing:
4
4
5
-
-**Non-nil configuration**: All test variables must have defaults, automatic validation.
6
-
-**Component isolation**: Components are decoupled via input/output structs, without exposing internal details.
7
5
-**Modular configuration**: No arcane knowledge of framework settings is required; the config is simply a reflection of the components being used in the test. Components declare their own configuration—'what you see is what you get.'
6
+
-**Component isolation**: Components are decoupled via input/output structs, without exposing internal details.
8
7
-**Replaceability and extensibility**: Since components are decoupled via outputs, any deployment component can be swapped with a real service without altering the test code.
9
-
-**Caching**: any component can use cached configs to skip environment setup for faster test development
10
-
-**Integrated observability stack**: use `ctf obs up`to spin up a local observability stack.
8
+
-**Caching**: any component can use cached configs to skip setup for faster test development.
9
+
-**Integrated observability stack**: get all the info you need to develop end-to-end tests: metrics, logs, traces, profiles.
The Chainlink Testing Framework (CTF) is a blockchain development framework written in Go. Its primary purpose is to help chainlink developers create extensive integration, e2e, performance, and chaos tests to ensure the stability of the chainlink project. It can also be helpful to those who just want to use chainlink oracles in their projects to help test their contracts, or even for those that aren't using chainlink.
4
+
The Chainlink Testing Framework (CTF) is a blockchain development framework written in Go.
5
+
Its primary purpose is to help chainlink developers create extensive integration, e2e, performance, and chaos tests to ensure the stability of the chainlink project.
6
+
It can also be helpful to those who just want to use chainlink oracles in their projects to help test their contracts, or even for those that aren't using chainlink.
7
+
8
+
[Repository](https://github.com/smartcontractkit/chainlink-testing-framework) contains two major pieces:
0 commit comments