4.0.7 • Published 10 months ago

@defichain/jellyfish-testing v4.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@defichain/jellyfish-testing

This package introduces a centralized testing framework for the jellyfish replacing the existing @defichain/testing. All methods within @defichain/testing have thus been deprecated.

Testing is an essential part of any serious quality software developer work. This package provides many abstractions for various commonly used setup patterns for the DeFi Blockchain. This keeps your testing setup DRY for repeated tests.

This new implementation warps a container on init via Testing.create(container) extending on top of rpc and container.

const container = new MasterNodeRegTestContainer()
const testing = Testing.create(container)

testing.rpc         // to access JSON RPC
testing.fixture     // for complex fixture setup e.g. poolpair
testing.rawtx       // for rawtx setup with reasonable defaults 
testing.token       // for token setup with reasonable defaults 
testing.poolpair    // for poolpair setup with reasonable defaults 

Cyclic dependencies

@defichain/jellyfish-testing relies on other jellyfish dependencies, they are cyclic dependant. However, within this mono-repo, we don't need to declare "devDependencies" as they are mapped in tsconfig.base.json. This configuration allows any packages within jellyfish-* to rely on jellyfish-testing without causing cyclic dependencies errors.

4.0.7

10 months ago

4.0.6

11 months ago

4.0.5

1 year ago

4.0.0-beta.11.1

1 year ago

4.0.1

1 year ago

4.0.0

1 year ago

3.37.0

1 year ago

4.0.0-beta.14.1

1 year ago

4.0.0-beta.5

1 year ago

4.0.0-beta.4

1 year ago

4.0.0-beta.3

1 year ago

3.34.0

1 year ago

4.0.0-rc.1.2

1 year ago

4.0.0-rc.1.1

1 year ago

4.0.0-beta.14

1 year ago

4.0.0-beta.11

1 year ago

4.0.0-beta.10

1 year ago

4.0.0-rc.1

1 year ago

4.0.0-beta10.1

1 year ago

3.39.1

1 year ago

3.33.0

1 year ago

3.32.0

2 years ago

3.31.1

2 years ago

3.31.0

2 years ago

3.30.2

2 years ago

3.30.3

2 years ago

3.30.4

2 years ago

3.29.3

2 years ago

3.29.2

2 years ago

3.30.0

2 years ago

3.30.1

2 years ago

3.29.1

2 years ago

3.29.0

2 years ago

3.24.0

2 years ago

3.24.2

2 years ago

3.24.1

2 years ago

3.14.0

2 years ago

3.13.0

2 years ago

3.25.0

2 years ago

3.22.0

2 years ago

3.19.0

2 years ago

3.19.1

2 years ago

3.23.1

2 years ago

3.23.0

2 years ago

3.23.2

2 years ago

3.20.0

2 years ago

3.20.1

2 years ago

3.17.0

2 years ago

3.28.0

2 years ago

3.28.2

2 years ago

3.28.1

2 years ago

3.21.1

2 years ago

3.21.0

2 years ago

3.21.2

2 years ago

3.18.0

2 years ago

3.15.0

2 years ago

3.26.0

2 years ago

3.26.2

2 years ago

3.26.1

2 years ago

3.16.0

2 years ago

3.27.0

2 years ago

2.69.0

2 years ago

3.2.0

2 years ago

3.6.1

2 years ago

3.6.0

2 years ago

3.12.0

2 years ago

2.68.0

2 years ago

3.1.0

2 years ago

3.5.3

2 years ago

3.5.2

2 years ago

3.5.1

2 years ago

3.5.0

2 years ago

3.9.0

2 years ago

2.70.0

2 years ago

3.4.0

2 years ago

3.10.1

2 years ago

3.8.0

2 years ago

3.10.0

2 years ago

3.4.1

2 years ago

3.0.0

2 years ago

3.3.0

2 years ago

3.11.0

2 years ago

3.7.1

2 years ago

3.7.0

2 years ago

2.67.0

2 years ago

2.67.1

2 years ago

2.67.2

2 years ago

2.66.0

2 years ago

2.64.1

2 years ago

2.65.0

2 years ago

2.57.0

2 years ago

2.57.1

2 years ago

2.64.0

2 years ago

2.60.0

2 years ago

2.56.0

2 years ago

2.56.1

2 years ago

2.63.0

2 years ago

2.55.0

2 years ago

2.55.1

2 years ago

2.59.0

2 years ago

2.62.0

2 years ago

2.58.0

2 years ago

2.54.5

2 years ago

2.61.0

2 years ago

2.46.0

3 years ago

2.53.0

2 years ago

2.49.0

2 years ago

2.52.1

2 years ago

2.52.2

2 years ago

2.52.0

2 years ago

2.45.11

3 years ago

2.48.0

2 years ago

2.51.0

2 years ago

2.47.0

3 years ago

2.47.1

3 years ago

2.54.0

2 years ago

2.54.1

2 years ago

2.54.2

2 years ago

2.50.0

2 years ago

2.54.3

2 years ago

2.54.4

2 years ago

2.45.9

3 years ago

2.45.6

3 years ago

2.45.5

3 years ago

2.45.8

3 years ago

2.45.7

3 years ago

2.45.4

3 years ago

2.45.10

3 years ago

2.45.0

3 years ago

2.45.2

3 years ago

2.45.1

3 years ago

2.45.3

3 years ago

2.44.0

3 years ago

2.43.0

3 years ago

2.42.5

3 years ago

2.42.4

3 years ago

2.42.6

3 years ago

2.38.0

3 years ago

2.41.0

3 years ago

2.37.0

3 years ago

2.40.0

3 years ago

2.36.0

3 years ago

2.39.0

3 years ago

2.35.0

3 years ago

2.42.1

3 years ago

2.42.0

3 years ago

2.42.3

3 years ago

2.42.2

3 years ago

2.32.0

3 years ago

2.34.0

3 years ago

2.32.1

3 years ago

2.31.1

3 years ago

2.33.0

3 years ago

2.29.0

3 years ago

2.30.0

3 years ago

2.31.0

3 years ago

2.25.0

3 years ago

2.27.0

3 years ago

2.25.2

3 years ago

2.25.1

3 years ago

2.22.0

3 years ago

2.28.4

3 years ago

2.28.1

3 years ago

2.28.0

3 years ago

2.28.3

3 years ago

2.28.2

3 years ago

2.24.0

3 years ago

2.26.0

3 years ago

2.23.0

3 years ago

2.21.2

3 years ago

2.21.1

3 years ago

2.11.0

3 years ago

2.19.0

3 years ago

2.17.0

3 years ago

2.17.1

3 years ago

2.15.0

3 years ago

2.13.0

3 years ago

2.20.0

3 years ago

2.10.1

3 years ago

2.12.0

3 years ago

2.18.3

3 years ago

2.18.1

3 years ago

2.18.2

3 years ago

2.18.0

3 years ago

2.14.1

3 years ago

2.10.5

3 years ago

2.16.0

3 years ago

2.14.2

3 years ago

2.10.3

3 years ago

2.14.0

3 years ago

2.10.4

3 years ago

2.21.0

3 years ago

2.2.0

3 years ago

2.4.1

3 years ago

2.4.0

3 years ago

2.6.0

3 years ago

0.55.0

3 years ago

2.8.0

3 years ago

2.0.0

3 years ago

2.9.1

3 years ago

2.7.3

3 years ago

2.3.0

3 years ago

2.1.1

3 years ago

2.5.0

3 years ago

2.10.0

3 years ago

2.7.0

3 years ago

2.9.0

3 years ago

2.7.2

3 years ago

0.54.1

3 years ago

2.7.1

3 years ago

2.1.0

3 years ago

0.54.0

3 years ago

0.51.0

3 years ago

0.52.0

3 years ago

0.50.0

3 years ago

0.49.2

3 years ago

0.49.5

3 years ago

0.49.3

3 years ago

0.49.4

3 years ago

0.49.1

3 years ago

0.49.0

3 years ago

0.48.1

3 years ago

0.47.1

3 years ago

0.46.2

3 years ago

0.46.0

3 years ago

0.47.0

3 years ago

0.46.1

3 years ago

0.45.3

3 years ago

0.45.2

3 years ago

0.45.1

3 years ago

0.45.0

3 years ago

0.44.0

3 years ago

0.43.0

3 years ago

0.42.0

3 years ago

0.41.0

3 years ago

0.40.0

3 years ago

0.39.0

3 years ago

0.38.0

3 years ago

0.37.0

3 years ago

0.36.0

3 years ago