Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert the CDK assertion library to jsii so it will be available in all languages #90

Closed
eladb opened this issue Oct 6, 2018 · 3 comments

Comments

@eladb
Copy link
Contributor

eladb commented Oct 6, 2018

The @aws-cdk/assert library is not a jsii library at the moment, as it has global functions that cannot be expressed in jsii. This means that it is impossible to package it to non-typescript languages. We should refactor it so that it will use static methods instead of global functions (i.e. Assert.expect(stack) instead of expect(stack)) and turn it into a jsii module so it will be available in all languages.

@eladb eladb assigned RomainMuller and unassigned eladb Sep 11, 2019
@RomainMuller
Copy link
Contributor

The actual solution might instead take the form of making an assertions helper library, that facilitates using any languages' assertion framework with the CDK.

@lalitkale
Copy link

Any idea when this helper library will be available for .net or python? Is it considered as part of next release?

@RomainMuller RomainMuller assigned eladb and unassigned RomainMuller Jan 24, 2020
@eladb eladb removed their assignment Jan 26, 2020
@eladb eladb transferred this issue from aws/aws-cdk Jan 26, 2020
@eladb
Copy link
Contributor Author

eladb commented Apr 7, 2020

Duplicate #4

@eladb eladb closed this as completed Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants